The package rpms/rust-alga_derive.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-alga_derive.git/commit/?id=15df....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 15df17562bf46e589a348915018fd31bbe54b3ae Author: Igor Gnatenko ignatenkobrain@fedoraproject.org Date: Mon Sep 10 19:20:01 2018 +0200
initial import
Signed-off-by: Igor Gnatenko ignatenkobrain@fedoraproject.org
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..da95e0f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/alga_derive-0.7.0.crate diff --git a/alga_derive-fix-metadata.diff b/alga_derive-fix-metadata.diff new file mode 100644 index 0000000..339a158 --- /dev/null +++ b/alga_derive-fix-metadata.diff @@ -0,0 +1,15 @@ +--- alga_derive-0.7.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ alga_derive-0.7.0/Cargo.toml 2018-09-10T12:20:11.148505+02:00 +@@ -25,10 +25,10 @@ + name = "alga_derive" + proc-macro = true + [dependencies.edit-distance] +-version = "1.0" ++version = "2.0" + + [dependencies.quickcheck] +-version = "0.3" ++version = "0.7" + + [dependencies.quote] + version = "0.3" diff --git a/rust-alga_derive.spec b/rust-alga_derive.spec new file mode 100644 index 0000000..399ad90 --- /dev/null +++ b/rust-alga_derive.spec @@ -0,0 +1,66 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate alga_derive + +Name: rust-%{crate} +Version: 0.7.0 +Release: 1%{?dist} +Summary: Derive attribute for implementing algebraic traits from the alga crate + +# Upstream license specification: Apache-2.0 +License: ASL 2.0 +URL: https://crates.io/crates/alga_derive +Source0: https://crates.io/api/v1/crates/%%7Bcrate%7D/%%7Bversion%7D/download#/%%7Bcr... +# Initial patched metadata +# * Bump quickcheck to 0.7 +# * Bump edit-distance to 2.0 +# https://github.com/sebcrozet/alga/pull/46 +Patch0: alga_derive-fix-metadata.diff + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging +# [dependencies] +BuildRequires: (crate(edit-distance) >= 2.0.0 with crate(edit-distance) < 3.0.0) +BuildRequires: (crate(quickcheck) >= 0.7.0 with crate(quickcheck) < 0.8.0) +BuildRequires: (crate(quote) >= 0.3.0 with crate(quote) < 0.4.0) +BuildRequires: (crate(syn) >= 0.11.0 with crate(syn) < 0.12.0) + +%description +%{summary}. + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +Derive attribute for implementing algebraic traits from the alga crate. + +This package contains library source intended for building other packages +which use %{crate} from crates.io. + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%files devel +%license LICENSE +%doc README.md +%{cargo_registry}/%{crate}-%{version}/ + +%changelog +* Mon Sep 10 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 0.7.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..2aa3b21 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (alga_derive-0.7.0.crate) = 10fb3ab3d824bc42ce48eb2c4f9d899b52d65ac9e232656aebb40af4fb69bcab09a1d269d5017c39550fc4c4cf07ab85c579e181be8d2ba175d80a2ebd96a8d6
arch-excludes@lists.fedoraproject.org