The package rpms/rust-rustbus.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-rustbus.git/commit/?id=33194b9d....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit b21bd76956596d6dd5db4ce2a72be98940d54736 Author: Davide Cavalca dcavalca@fedoraproject.org Date: Tue Aug 3 09:23:13 2021 -0700
Update to 0.17.0; Fixes: RHBZ#1989647, RHBZ#1989029
diff --git a/.gitignore b/.gitignore index 7b7bac2..3a057bc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /rustbus-0.15.0.crate /rustbus-0.16.0.crate +/rustbus-0.17.0.crate diff --git a/rust-rustbus.spec b/rust-rustbus.spec index ffe91ef..6116a5f 100644 --- a/rust-rustbus.spec +++ b/rust-rustbus.spec @@ -4,7 +4,7 @@ %global crate rustbus
Name: rust-%{crate} -Version: 0.16.0 +Version: 0.17.0 Release: %autorelease Summary: Implementation of the dbus protocol
@@ -12,8 +12,6 @@ Summary: Implementation of the dbus protocol License: MIT URL: https://crates.io/crates/rustbus Source: %{crates_source} -# Downgrade nix to 0.20 -Patch0: rustbus-downgrade-nix.patch
ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -36,6 +34,7 @@ Summary: %{summary} %files -n %{crate} %license LICENSE %doc examples README.md +%{_bindir}/perf_test %{_bindir}/fuzz_artifact %{_bindir}/create_corpus %endif diff --git a/rustbus-downgrade-nix.patch b/rustbus-downgrade-nix.patch deleted file mode 100644 index 8f62949..0000000 --- a/rustbus-downgrade-nix.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Naur a/Cargo.toml b/Cargo.toml ---- a/Cargo.toml 1969-12-31 16:00:00.000000000 -0800 -+++ b/Cargo.toml 2021-07-24 10:25:40.531613144 -0700 -@@ -23,7 +23,7 @@ - name = "marshal_benchmark" - harness = false - [dependencies.nix] --version = "0.22.0" -+version = "0.20" - - [dependencies.rustbus_derive] - version = "0.3.0" -diff -Naur a/src/connection/ll_conn.rs b/src/connection/ll_conn.rs ---- a/src/connection/ll_conn.rs 1969-12-31 16:00:00.000000000 -0800 -+++ b/src/connection/ll_conn.rs 2021-07-24 10:26:12.205051006 -0700 -@@ -83,8 +83,8 @@ - Some(&mut cmsgspace), - flags, - ) -- .map_err(|e| match e { -- nix::errno::Errno::EAGAIN => Error::TimedOut, -+ .map_err(|e| match e.as_errno() { -+ Some(nix::errno::Errno::EAGAIN) => Error::TimedOut, - _ => Error::NixError(e), - }); - diff --git a/sources b/sources index e537970..209cc20 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rustbus-0.16.0.crate) = 6e3fa7e734b652b62229d77bd839203aa4fa7a9f4315c8b21bafc25bf8cc7613b504b82e8c36639d0150adec027340a75b2339336fb2aaf96b3ef49990a8d171 +SHA512 (rustbus-0.17.0.crate) = a31dc95bfb29b910a6466f3d7dd3659b3da249770401a97b9064bd8f4b86480a9f130c176e42cdaca64d48cc320743e6c509519b2d3510320e7a621ab5fbfbf3
commit e9eba61f5c896761b99f827400238e59b7434e7e Author: Davide Cavalca dcavalca@fedoraproject.org Date: Tue Aug 3 09:11:10 2021 -0700
Rebuild for rustbus_derive 0.4.0
commit 65019fda3add0807a06802783849cc5cbba0dd04 Author: Davide Cavalca dcavalca@fedoraproject.org Date: Sat Jul 24 10:42:04 2021 -0700
Update to 0.16.0
diff --git a/.gitignore b/.gitignore index c55e83a..7b7bac2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /rustbus-0.15.0.crate +/rustbus-0.16.0.crate diff --git a/rust-rustbus.spec b/rust-rustbus.spec index 0a0e0bb..ffe91ef 100644 --- a/rust-rustbus.spec +++ b/rust-rustbus.spec @@ -1,10 +1,10 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 18 %bcond_without check
%global crate rustbus
Name: rust-%{crate} -Version: 0.15.0 +Version: 0.16.0 Release: %autorelease Summary: Implementation of the dbus protocol
@@ -12,6 +12,8 @@ Summary: Implementation of the dbus protocol License: MIT URL: https://crates.io/crates/rustbus Source: %{crates_source} +# Downgrade nix to 0.20 +Patch0: rustbus-downgrade-nix.patch
ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -32,7 +34,8 @@ Summary: %{summary} %description -n %{crate} %{_description}
%files -n %{crate} -%doc examples Readme.md +%license LICENSE +%doc examples README.md %{_bindir}/fuzz_artifact %{_bindir}/create_corpus %endif @@ -47,7 +50,8 @@ This package contains library source intended for building other packages which use "%{crate}" crate.
%files devel -%doc examples Readme.md +%license LICENSE +%doc examples README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel @@ -77,7 +81,7 @@ which use "default" feature of "%{crate}" crate.
%if %{with check} %check -# https://github.com/KillingSpark/rustbus/issues/72 +# Disable test that requires a running dbus daemon %cargo_test -- -- --skip tests::fdpassing::test_fd_passing %endif
diff --git a/rustbus-downgrade-nix.patch b/rustbus-downgrade-nix.patch new file mode 100644 index 0000000..8f62949 --- /dev/null +++ b/rustbus-downgrade-nix.patch @@ -0,0 +1,26 @@ +diff -Naur a/Cargo.toml b/Cargo.toml +--- a/Cargo.toml 1969-12-31 16:00:00.000000000 -0800 ++++ b/Cargo.toml 2021-07-24 10:25:40.531613144 -0700 +@@ -23,7 +23,7 @@ + name = "marshal_benchmark" + harness = false + [dependencies.nix] +-version = "0.22.0" ++version = "0.20" + + [dependencies.rustbus_derive] + version = "0.3.0" +diff -Naur a/src/connection/ll_conn.rs b/src/connection/ll_conn.rs +--- a/src/connection/ll_conn.rs 1969-12-31 16:00:00.000000000 -0800 ++++ b/src/connection/ll_conn.rs 2021-07-24 10:26:12.205051006 -0700 +@@ -83,8 +83,8 @@ + Some(&mut cmsgspace), + flags, + ) +- .map_err(|e| match e { +- nix::errno::Errno::EAGAIN => Error::TimedOut, ++ .map_err(|e| match e.as_errno() { ++ Some(nix::errno::Errno::EAGAIN) => Error::TimedOut, + _ => Error::NixError(e), + }); + diff --git a/sources b/sources index d7c8294..e537970 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rustbus-0.15.0.crate) = 6b75feb9a6a656874bde7ffb1c9490e15b57e3a184ab50af8810db013d6c5f1f1424b396d960ae9de63e7a6fb6e65049b6fbf6cf153f54cbad2e14a30314a107 +SHA512 (rustbus-0.16.0.crate) = 6e3fa7e734b652b62229d77bd839203aa4fa7a9f4315c8b21bafc25bf8cc7613b504b82e8c36639d0150adec027340a75b2339336fb2aaf96b3ef49990a8d171
commit 9ccfa90ffe7db71bc51e461b0c4ed045519d735f Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jul 23 15:46:26 2021 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
commit ea795bd7667bd10758808b712deaa163bc6ce7a8 Author: Davide Cavalca dcavalca@fedoraproject.org Date: Sat Jul 17 15:35:22 2021 -0700
Convert to rpmautospec
diff --git a/changelog b/changelog new file mode 100644 index 0000000..fd5ade9 --- /dev/null +++ b/changelog @@ -0,0 +1,5 @@ +* Thu Jul 08 2021 Davide Cavalca dcavalca@fedoraproject.org - 0.15.0-1 +- Update to 0.15.0 + +* Tue Jul 06 2021 Davide Cavalca dcavalca@fedoraproject.org - 0.14.0-1 +- Initial package diff --git a/rust-rustbus.spec b/rust-rustbus.spec index dd5f82d..0a0e0bb 100644 --- a/rust-rustbus.spec +++ b/rust-rustbus.spec @@ -5,7 +5,7 @@
Name: rust-%{crate} Version: 0.15.0 -Release: 1%{?dist} +Release: %autorelease Summary: Implementation of the dbus protocol
# Upstream license specification: MIT @@ -82,8 +82,4 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog -* Thu Jul 08 2021 Davide Cavalca dcavalca@fedoraproject.org - 0.15.0-1 -- Update to 0.15.0 - -* Tue Jul 06 2021 Davide Cavalca dcavalca@fedoraproject.org - 0.14.0-1 -- Initial package +%autochangelog
commit 33194b9d64ca77c4860b5c72e57f186ea9162104 Author: Davide Cavalca dcavalca@fedoraproject.org Date: Sat Jul 17 15:33:00 2021 -0700
import #1979716
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c55e83a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/rustbus-0.15.0.crate diff --git a/rust-rustbus.spec b/rust-rustbus.spec new file mode 100644 index 0000000..dd5f82d --- /dev/null +++ b/rust-rustbus.spec @@ -0,0 +1,89 @@ +# Generated by rust2rpm 17 +%bcond_without check + +%global crate rustbus + +Name: rust-%{crate} +Version: 0.15.0 +Release: 1%{?dist} +Summary: Implementation of the dbus protocol + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/rustbus +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Implementation of the dbus protocol.} + +%description %{_description} + +%if ! %{__cargo_skip_build} +%package -n %{crate} +Summary: %{summary} + +%description -n %{crate} %{_description} + +%files -n %{crate} +%doc examples Readme.md +%{_bindir}/fuzz_artifact +%{_bindir}/create_corpus +%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 +%doc examples 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 +# https://github.com/KillingSpark/rustbus/issues/72 +%cargo_test -- -- --skip tests::fdpassing::test_fd_passing +%endif + +%changelog +* Thu Jul 08 2021 Davide Cavalca dcavalca@fedoraproject.org - 0.15.0-1 +- Update to 0.15.0 + +* Tue Jul 06 2021 Davide Cavalca dcavalca@fedoraproject.org - 0.14.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..d7c8294 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (rustbus-0.15.0.crate) = 6b75feb9a6a656874bde7ffb1c9490e15b57e3a184ab50af8810db013d6c5f1f1424b396d960ae9de63e7a6fb6e65049b6fbf6cf153f54cbad2e14a30314a107
arch-excludes@lists.fedoraproject.org