The package rpms/rust-crypto-mac0.8.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/rust-crypto-mac0.8.git/commit/?id=88....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 885de7b181803286615858b97fe08cf6b836b2f4 Author: Fabio Valentini decathorpe@gmail.com Date: Mon Nov 16 22:06:08 2020 +0100
initial import (crypto-mac 0.8 compat package)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0272b38 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/crypto-mac-0.8.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 697abc3..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-crypto-mac0.8 - -The rust-crypto-mac0.8 package diff --git a/rust-crypto-mac0.8.spec b/rust-crypto-mac0.8.spec new file mode 100644 index 0000000..2b9a99c --- /dev/null +++ b/rust-crypto-mac0.8.spec @@ -0,0 +1,111 @@ +# Generated by rust2rpm 16 +%bcond_without check +%global debug_package %{nil} + +%global crate crypto-mac + +Name: rust-%{crate}0.8 +Version: 0.8.0 +Release: 1%{?dist} +Summary: Trait for Message Authentication Code (MAC) algorithms + +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/crypto-mac +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Trait for Message Authentication Code (MAC) algorithms.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%license LICENSE-MIT LICENSE-APACHE +%doc README.md CHANGELOG.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%package -n %{name}+default-devel +Summary: %{summary} +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. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+blobby-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+blobby-devel %{_description} + +This package contains library source intended for building other packages +which use "blobby" feature of "%{crate}" crate. + +%files -n %{name}+blobby-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+dev-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+dev-devel %{_description} + +This package contains library source intended for building other packages +which use "dev" feature of "%{crate}" crate. + +%files -n %{name}+dev-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages +which use "std" feature of "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Sat Nov 14 2020 Fabio Valentini decathorpe@gmail.com - 0.8.0-1 +- Initial compat package for crypto-mac 0.8 diff --git a/sources b/sources new file mode 100644 index 0000000..7073179 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (crypto-mac-0.8.0.crate) = 566901349733584e58e4060ecfa073c12b2832b6ff2dc13b02e788eb38619e4f353d5416c5082426d03c54b085e88c96ea6f70a0e9576faec9eee42ef9e5061a