diff --git a/.gitignore b/.gitignore index bac588d..d9df1bb 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /cipher-0.2.5.crate /cipher-0.3.0.crate /cipher-0.4.2.crate +/cipher-0.4.3.crate diff --git a/rust-cipher.spec b/rust-cipher.spec index ecf7739..b7a7f7b 100644 --- a/rust-cipher.spec +++ b/rust-cipher.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate cipher Name: rust-%{crate} -Version: 0.4.2 +Version: 0.4.3 Release: %autorelease Summary: Traits for describing block ciphers and stream ciphers @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Traits for describing block ciphers and stream ciphers.} @@ -33,9 +33,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +49,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}+alloc-devel Summary: %{summary} @@ -59,7 +61,7 @@ This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+blobby-devel Summary: %{summary} @@ -71,7 +73,7 @@ This package contains library source intended for building other packages which use the "blobby" feature of the "%{crate}" crate. %files -n %{name}+blobby-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+block-padding-devel Summary: %{summary} @@ -83,7 +85,7 @@ This package contains library source intended for building other packages which use the "block-padding" feature of the "%{crate}" crate. %files -n %{name}+block-padding-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dev-devel Summary: %{summary} @@ -95,7 +97,7 @@ This package contains library source intended for building other packages which use the "dev" feature of the "%{crate}" crate. %files -n %{name}+dev-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rand_core-devel Summary: %{summary} @@ -107,7 +109,7 @@ This package contains library source intended for building other packages which use the "rand_core" feature of the "%{crate}" crate. %files -n %{name}+rand_core-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -119,7 +121,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zeroize-devel Summary: %{summary} @@ -131,7 +133,7 @@ This package contains library source intended for building other packages which use the "zeroize" feature of the "%{crate}" crate. %files -n %{name}+zeroize-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 4625776..75c1b23 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cipher-0.4.2.crate) = 410a4a8473c0cb43c087e6c6bda6e3aa55b0c1a8eca10b3266c023943f7ce8dfd1661c1eb4ae9e9f473d393dbb2311bc38e741e41cf4f25d94a2782ca32d9258 +SHA512 (cipher-0.4.3.crate) = 1ac7725e76867ed7c93979c0ec81208e2732cca75cc7a18e28daf1ca4d6f0c32d43b5dd7aa043c6e47faf328ab7e6b32fb4b67280f5d8f1928413a4d73212228