|
|
|
@ -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
|
|
|
|
|