|
|
|
@ -1,22 +1,19 @@
|
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
|
# Generated by rust2rpm 23
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate zeroize_derive
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.3.2
|
|
|
|
|
Name: rust-zeroize_derive
|
|
|
|
|
Version: 1.3.3
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Custom derive support for zeroize
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0 OR MIT
|
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
|
License: Apache-2.0 OR MIT
|
|
|
|
|
URL: https://crates.io/crates/zeroize_derive
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Custom derive support for zeroize.}
|
|
|
|
@ -33,9 +30,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 +46,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
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|