diff --git a/.gitignore b/.gitignore index 32c6886..9e1d5e9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /des-0.4.0.crate /des-0.6.0.crate /des-0.7.0.crate +/des-0.8.1.crate diff --git a/rust-des.spec b/rust-des.spec index 808c802..912ef60 100644 --- a/rust-des.spec +++ b/rust-des.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate des Name: rust-%{crate} -Version: 0.7.0 +Version: 0.8.1 Release: %autorelease Summary: DES and Triple DES (3DES, TDES) block ciphers implementation @@ -15,9 +15,6 @@ URL: https://crates.io/crates/des Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,12 +29,12 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%doc README.md CHANGELOG.md +%license LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -46,12 +43,24 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 +%package -n %{name}+zeroize-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+zeroize-devel %{_description} + +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 + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index d89ce69..20996a8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (des-0.7.0.crate) = b6cf698375702c57d590fcc31ea9eb8433046136bc095525065bd1d185f49d6388356f524dcc5af5fcc8aedae87cb04499d1c70af85781456ed718f7f0124621 +SHA512 (des-0.8.1.crate) = 2d54b2eecc3fb269f3fd17231088644d685feb81473043131f5bc68b5f682f726065426dc710f76e8c25cec9de597c90a30790ea3a62163a9e9539115e16c88f