|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate sequoia-openpgp
|
|
|
|
%global crate sequoia-openpgp
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 1.7.0
|
|
|
|
Version: 1.8.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: OpenPGP data types and associated machinery
|
|
|
|
Summary: OpenPGP data types and associated machinery
|
|
|
|
|
|
|
|
|
|
|
@ -22,7 +22,7 @@ Patch1: 0001-revert-commit-17cd68f.patch
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
OpenPGP data types and associated machinery.}
|
|
|
|
OpenPGP data types and associated machinery.}
|
|
|
@ -39,9 +39,9 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license LICENSE.txt
|
|
|
|
%license %{crate_instdir}/LICENSE.txt
|
|
|
|
%doc README.md NEWS
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -53,7 +53,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+allow-experimental-crypto-devel
|
|
|
|
%package -n %{name}+allow-experimental-crypto-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -65,7 +65,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "allow-experimental-crypto" feature of the "%{crate}" crate.
|
|
|
|
use the "allow-experimental-crypto" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+allow-experimental-crypto-devel
|
|
|
|
%files -n %{name}+allow-experimental-crypto-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+allow-variable-time-crypto-devel
|
|
|
|
%package -n %{name}+allow-variable-time-crypto-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -77,7 +77,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "allow-variable-time-crypto" feature of the "%{crate}" crate.
|
|
|
|
use the "allow-variable-time-crypto" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+allow-variable-time-crypto-devel
|
|
|
|
%files -n %{name}+allow-variable-time-crypto-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+bzip2-devel
|
|
|
|
%package -n %{name}+bzip2-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -89,7 +89,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "bzip2" feature of the "%{crate}" crate.
|
|
|
|
use the "bzip2" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+bzip2-devel
|
|
|
|
%files -n %{name}+bzip2-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+compression-devel
|
|
|
|
%package -n %{name}+compression-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -101,7 +101,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "compression" feature of the "%{crate}" crate.
|
|
|
|
use the "compression" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+compression-devel
|
|
|
|
%files -n %{name}+compression-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+compression-bzip2-devel
|
|
|
|
%package -n %{name}+compression-bzip2-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -113,7 +113,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "compression-bzip2" feature of the "%{crate}" crate.
|
|
|
|
use the "compression-bzip2" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+compression-bzip2-devel
|
|
|
|
%files -n %{name}+compression-bzip2-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+compression-deflate-devel
|
|
|
|
%package -n %{name}+compression-deflate-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -125,7 +125,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "compression-deflate" feature of the "%{crate}" crate.
|
|
|
|
use the "compression-deflate" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+compression-deflate-devel
|
|
|
|
%files -n %{name}+compression-deflate-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+crypto-nettle-devel
|
|
|
|
%package -n %{name}+crypto-nettle-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -137,7 +137,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "crypto-nettle" feature of the "%{crate}" crate.
|
|
|
|
use the "crypto-nettle" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+crypto-nettle-devel
|
|
|
|
%files -n %{name}+crypto-nettle-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+flate2-devel
|
|
|
|
%package -n %{name}+flate2-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -149,7 +149,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "flate2" feature of the "%{crate}" crate.
|
|
|
|
use the "flate2" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+flate2-devel
|
|
|
|
%files -n %{name}+flate2-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+nettle-devel
|
|
|
|
%package -n %{name}+nettle-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -161,7 +161,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "nettle" feature of the "%{crate}" crate.
|
|
|
|
use the "nettle" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+nettle-devel
|
|
|
|
%files -n %{name}+nettle-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
@ -178,8 +178,7 @@ use the "nettle" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# * skip a broken test that claims that two identical strings are different
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test -- -- --skip packet::test::roundtrip
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|