The package rpms/rust-daemonize.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-daemonize.git/commit/?id=74f....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit f8d532ca81b58e09abcdfd0100bd714bef3849a0
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Sun Jul 10 09:25:44 2022 -0700
Fix path used in tests
diff --git a/rust-daemonize.spec b/rust-daemonize.spec
index 4f81acc..dbc9ad2 100644
--- a/rust-daemonize.spec
+++ b/rust-daemonize.spec
@@ -17,6 +17,7 @@ Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
+BuildRequires: sed
%global _description %{expand:
Library to enable your code run as a daemon process on Unix-like systems.}
@@ -54,6 +55,8 @@ use the "default" feature of the "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
+# Fix path used in tests
+sed -i 's:target/debug/examples/:target/release/examples/:g' tests/tests.rs
%generate_buildrequires
%cargo_generate_buildrequires
commit 74febe1ec5359b4019e3213833d7e4f29e92a3fe
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Sun Jul 10 09:11:45 2022 -0700
Initial import; Fixes: RHBZ#1981129
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..de380b3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/daemonize-0.4.1.crate
diff --git a/rust-daemonize.spec b/rust-daemonize.spec
new file mode 100644
index 0000000..4f81acc
--- /dev/null
+++ b/rust-daemonize.spec
@@ -0,0 +1,73 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate daemonize
+
+Name: rust-%{crate}
+Version: 0.4.1
+Release: %autorelease
+Summary: Library to enable your code run as a daemon process on Unix-like systems
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/daemonize
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Library to enable your code run as a daemon process on Unix-like systems.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%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 the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/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
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..09003bb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (daemonize-0.4.1.crate) =
acde0f361ad152e523877ebc714f4e5706b3c506914612ea8b2cace473df58c6153b327011acdfe039379d1bf13f45173092cf6ead3190fb77b5c27bd91e74de