The package rpms/rust-bzip2-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-bzip2-sys.git/commit/?id=b93....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit b930d4562db6ce1b78c189ec8bb534fef1b759fe
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Sat Jun 27 09:27:04 2020 -0700
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a02e0e9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/bzip2-sys-0.1.9+1.0.8.crate
diff --git a/rust-bzip2-sys.spec b/rust-bzip2-sys.spec
new file mode 100644
index 0000000..9306011
--- /dev/null
+++ b/rust-bzip2-sys.spec
@@ -0,0 +1,84 @@
+# Generated by rust2rpm 13
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate bzip2-sys
+
+Name: rust-%{crate}
+Version: 0.1.9+1.0.8
+Release: 1%{?dist}
+Summary: Bindings to libbzip2 for bzip2 compression and decompression exposed as
Reader/Writer streams
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/bzip2-sys
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+BuildRequires: pkgconfig(bzip2)
+
+%global _description %{expand:
+Bindings to libbzip2 for bzip2 compression and decompression exposed as
+Reader/Writer streams.}
+
+%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 texts currently only available for bzip2-rs,
+# not for bzip2-rs/bzip2-sys
+# see
https://github.com/alexcrichton/bzip2-rs/pull/59
+%{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
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+# remove the bundled copy to make sure we're linking against the system lib
+rm -vr bzip2-1.0.8
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sun Jun 14 2020 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.1.9+1.0.8-1
+- Update to 0.1.9
+- add link to PR for license texts
+
+* Sat May 23 13:16:34 PDT 2020 Michel Alexandre Salim <salimma(a)fedoraproject.org> -
0.1.8+1.0.8-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..89eb01b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (bzip2-sys-0.1.9+1.0.8.crate) =
069ff0c16f61f6c2b58fbbe11896130c666960926dc12a08e5db64073625b02f4e9628da52cc46fb2ef11ac8ac4268c735d6f37378e9eed1e2b258d5cd235145