diff --git a/.gitignore b/.gitignore index ae35bce..65c6516 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /sequoia-openpgp-1.1.0.crate /sequoia-openpgp-1.3.0.crate /sequoia-openpgp-1.7.0.crate +/sequoia-openpgp-1.8.0.crate diff --git a/rust-sequoia-openpgp.spec b/rust-sequoia-openpgp.spec index fc96a6b..52fd5c2 100644 --- a/rust-sequoia-openpgp.spec +++ b/rust-sequoia-openpgp.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate sequoia-openpgp Name: rust-%{crate} -Version: 1.7.0 +Version: 1.8.0 Release: %autorelease Summary: OpenPGP data types and associated machinery @@ -22,7 +22,7 @@ Patch1: 0001-revert-commit-17cd68f.patch ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: 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. %files devel -%license LICENSE.txt -%doc README.md NEWS -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE.txt +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel 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. %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 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. %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 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. %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 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. %files -n %{name}+bzip2-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compression-devel 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. %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 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. %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 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. %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 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. %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 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. %files -n %{name}+flate2-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nettle-devel 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. %files -n %{name}+nettle-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -178,8 +178,7 @@ use the "nettle" feature of the "%{crate}" crate. %if %{with check} %check -# * skip a broken test that claims that two identical strings are different -%cargo_test -- -- --skip packet::test::roundtrip +%cargo_test %endif %changelog diff --git a/sequoia-openpgp-fix-metadata.diff b/sequoia-openpgp-fix-metadata.diff index b09cb0b..4e1c588 100644 --- a/sequoia-openpgp-fix-metadata.diff +++ b/sequoia-openpgp-fix-metadata.diff @@ -1,5 +1,5 @@ ---- sequoia-openpgp-1.7.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ sequoia-openpgp-1.7.0/Cargo.toml 2022-01-18T18:14:10.083516+00:00 +--- sequoia-openpgp-1.8.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ sequoia-openpgp-1.8.0/Cargo.toml 2022-03-16T10:27:31.199219+00:00 @@ -201,13 +201,6 @@ version = "1.1.0" optional = true diff --git a/sources b/sources index 5d5dcb7..14e8ad7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sequoia-openpgp-1.7.0.crate) = 2f77d1aaee9257124143e3849441c5fb912740e16270cdefea2a4e73798e4a5ffed89fa1437643d9df8c53efbe649f162f42359e26fecd75f526bc2a11bee6fa +SHA512 (sequoia-openpgp-1.8.0.crate) = 32d5adbd6aa5116e95d03aaa708d170e5d592dab9576f5e5d228b8ee44ea141bc928b00e39efb0fafe76a6718cde1557b4134339c5fe107e84a8c66735f4caa1