The package rpms/rust-gettext-sys.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-gettext-sys.git/commit/?id=a3f9....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit a3f9affa9882bb4f3d4874c5fc9e3c221880b48e Author: Artem Polishchuk ego.cordatus@gmail.com Date: Tue Mar 19 12:38:02 2019 +0200
Initial import (#1679733).
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..986f6b9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/rust-gmp-0.5.0.crate diff --git a/rust-gettext-sys.spec b/rust-gettext-sys.spec new file mode 100644 index 0000000..9194741 --- /dev/null +++ b/rust-gettext-sys.spec @@ -0,0 +1,79 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate gettext-sys + +Name: rust-%{crate} +Version: 0.19.8 +Release: 1%{?dist} +Summary: Gettext raw FFI bindings + +License: MIT +URL: https://crates.io/crates/gettext-sys +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging +BuildRequires: (crate(cc/default) >= 1.0.0 with crate(cc/default) < 2.0.0) + +%global _description \ +Gettext raw FFI bindings + +%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 +%{cargo_registry}/%{crate}-%{version}/ + +%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}/Cargo.toml + +%package -n %{name}+gettext-system-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+gettext-system-devel %{_description} + +This package contains library source intended for building other packages +which use "gettext-system" feature of "%{crate}" crate. + +%files -n %{name}+gettext-system-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Thu Feb 21 2019 Artem Polishchuk ego.cordatus@gmail.com - 0.19.8-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..34e3915 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (rust-gmp-0.5.0.crate) = 50d125c087339635265871425bf36d06d3b6e83bbd2119ce98ad47f23fc0a42a642ffa69269153fea1fb5a64116050f5217a323e451c9dc5e86a3c1ae443aeea
arch-excludes@lists.fedoraproject.org