The package rpms/rust-bodhi-cli.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-bodhi-cli.git/commit/?id=e61....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 9201b079f9a457e704b98239578396c3a300284d
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Mar 23 15:36:42 2020 +0100
adapt to non-rawhide releases
diff --git a/rust-bodhi-cli.spec b/rust-bodhi-cli.spec
index 60d2352..490a8a8 100644
--- a/rust-bodhi-cli.spec
+++ b/rust-bodhi-cli.spec
@@ -1,5 +1,7 @@
# Generated by rust2rpm 13
%bcond_without check
+# No devel stuff in released Fedora
+%global __cargo_is_lib() false
%global crate bodhi-cli
@@ -14,9 +16,6 @@ URL:
https://crates.io/crates/bodhi-cli
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
BuildRequires: rust-packaging
@@ -25,7 +24,6 @@ Bodhi CLI client based on bodhi-rs.}
%description %{_description}
-%if ! %{__cargo_skip_build}
%package -n %{crate}
Summary: %{summary}
@@ -47,33 +45,6 @@ License: ASL 2.0 and BSD and MIT
%license LICENSE-APACHE LICENSE-MIT
%doc README.md
%{_bindir}/bodhi-cli
-%endif
-
-%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-APACHE LICENSE-MIT
-%doc README.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
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
commit e6131a9dd5a3e59825251d01d10759d1a6ec4083
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Mar 23 13:21:11 2020 +0100
initial import (#1815788)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..29cb6f0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*
+/*.src.rpm
+
+/bodhi-cli-0.3.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 75b78ed..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-bodhi-cli
-
-The rust-bodhi-cli package
\ No newline at end of file
diff --git a/rust-bodhi-cli.spec b/rust-bodhi-cli.spec
new file mode 100644
index 0000000..60d2352
--- /dev/null
+++ b/rust-bodhi-cli.spec
@@ -0,0 +1,117 @@
+# Generated by rust2rpm 13
+%bcond_without check
+
+%global crate bodhi-cli
+
+Name: rust-%{crate}
+Version: 0.3.1
+Release: 2%{?dist}
+Summary: Bodhi CLI client based on bodhi-rs
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/bodhi-cli
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Bodhi CLI client based on bodhi-rs.}
+
+%description %{_description}
+
+%if ! %{__cargo_skip_build}
+%package -n %{crate}
+Summary: %{summary}
+
+# Licenses of dependencies:
+# $ rpm -qa --qf '%%{LICENSE}\n' 'rust-*-devel' | sort -u
+# - (MIT or ASL 2.0) and BSD
+# - ASL 2.0
+# - ASL 2.0 or Boost
+# - ASL 2.0 or MIT
+# - BSD
+# - MIT
+# - MIT or ASL 2.0
+# - Unlicense or MIT
+License: ASL 2.0 and BSD and MIT
+
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%license LICENSE-APACHE LICENSE-MIT
+%doc README.md
+%{_bindir}/bodhi-cli
+%endif
+
+%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-APACHE LICENSE-MIT
+%doc README.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
+
+%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
+* Fri Mar 20 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.3.1-2
+- Rebuild for bodhi-rs 0.5.8.
+
+* Sun Mar 08 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.3.1-1
+- Update to version 0.3.1.
+
+* Sun Mar 08 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.3.0-1
+- Update to version 0.3.0.
+
+* Thu Mar 05 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.2.5-2
+- Rebuild for bodhi-rs 0.5.7.
+
+* Mon Feb 24 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.2.5-1
+- Update to version 0.2.5.
+
+* Wed Feb 19 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.2.4-1
+- Update to version 0.2.4.
+
+* Mon Feb 10 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.2.3-1
+- Initial package
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..b3eb5b9
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (bodhi-cli-0.3.1.crate) =
acffa6dc0e02a1388dc405c47b51c3f01477227edaaf522a2c1ff0d235e85825d954104f44cd796996e4861892274342c471a7bc01795533155d34a4f05ac68e