The package rpms/rust-shared_child.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-shared_child.git/commit/?id=....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 600d70ab2643712213bd48d16124ed9bbc62b456
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed May 17 13:14:53 2023 +0200
Update to version 1.0.0; Fixes RHBZ#1939192
diff --git a/.gitignore b/.gitignore
index d2efc54..39c89bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/shared_child-0.3.3.crate
/shared_child-0.3.4.crate
+/shared_child-1.0.0.crate
diff --git a/0001-Avoid-using-python-in-the-tests.patch
b/0001-Avoid-using-python-in-the-tests.patch
deleted file mode 100644
index 28ca8da..0000000
--- a/0001-Avoid-using-python-in-the-tests.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 7860be68defbae89ac2baab06b8052abac1cc946 Mon Sep 17 00:00:00 2001
-From: Igor Gnatenko <i.gnatenko.brain(a)gmail.com>
-Date: Sun, 7 Jul 2019 16:36:34 +0200
-Subject: [PATCH] Avoid using python in the tests
-
-References:
https://github.com/oconnor663/shared_child.rs/issues/16
-Signed-off-by: Igor Gnatenko <i.gnatenko.brain(a)gmail.com>
----
- src/lib.rs | 12 +++++-------
- 1 file changed, 5 insertions(+), 7 deletions(-)
-
-diff --git a/src/lib.rs b/src/lib.rs
-index ee77aa4..e9c7118 100644
---- a/src/lib.rs
-+++ b/src/lib.rs
-@@ -39,8 +39,8 @@
- //!
- //! // Spawn a child that will just sleep for a long time,
- //! // and put it in an Arc to share between threads.
--//! let mut command = Command::new("python");
--//! command.arg("-c").arg("import time; time.sleep(1000000000)");
-+//! let mut command = Command::new("sleep");
-+//! command.arg("infinity");
- //! let shared_child = SharedChild::spawn(&mut command).unwrap();
- //! let child_arc = Arc::new(shared_child);
- //!
-@@ -232,14 +232,12 @@ mod tests {
- use std::sync::Arc;
-
- pub fn true_cmd() -> Command {
-- let mut cmd = Command::new("python");
-- cmd.arg("-c").arg("");
-- cmd
-+ Command::new("true")
- }
-
- pub fn sleep_forever_cmd() -> Command {
-- let mut cmd = Command::new("python");
-- cmd.arg("-c").arg("import time; time.sleep(1000000)");
-+ let mut cmd = Command::new("sleep");
-+ cmd.arg("infinity");
- cmd
- }
-
---
-2.23.0
-
diff --git a/rust-shared_child.spec b/rust-shared_child.spec
index ce0ab6c..333eae2 100644
--- a/rust-shared_child.spec
+++ b/rust-shared_child.spec
@@ -5,7 +5,7 @@
%global crate shared_child
Name: rust-shared_child
-Version: 0.3.4
+Version: 1.0.0
Release: %autorelease
Summary: Library for using child processes from multiple threads
@@ -14,9 +14,6 @@ URL:
https://crates.io/crates/shared_child
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: shared_child-fix-metadata-auto.diff
-# * replace usage of /usr/bin/python with simple /usr/bin/sleep:
-#
https://github.com/oconnor663/shared_child.rs/issues/16
-Patch: 0001-Avoid-using-python-in-the-tests.patch
BuildRequires: rust-packaging >= 21
@@ -66,7 +63,8 @@ use the "default" feature of the "%{crate}" crate.
%if %{with check}
%check
-%cargo_test
+# * doctests try to run unversioned "python"
+%cargo_test -- --lib
%endif
%changelog
diff --git a/shared_child-fix-metadata-auto.diff b/shared_child-fix-metadata-auto.diff
index 2ceea12..8a0ec98 100644
--- a/shared_child-fix-metadata-auto.diff
+++ b/shared_child-fix-metadata-auto.diff
@@ -1,6 +1,6 @@
---- shared_child-0.3.4/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ shared_child-0.3.4/Cargo.toml 2023-04-12T16:58:16.048194+00:00
-@@ -22,6 +22,3 @@
+--- shared_child-1.0.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ shared_child-1.0.0/Cargo.toml 2023-05-17T11:08:05.223912+00:00
+@@ -23,6 +23,3 @@
repository = "https://github.com/oconnor663/shared_child.rs"
[target."cfg(not(windows))".dependencies.libc]
version = "0.2.42"
diff --git a/sources b/sources
index 88392e5..e1b2d53 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (shared_child-0.3.4.crate) =
590d269b8177d1df3e47e209a632e7d7a8c044e00cb93e393e4d4d0804adbf50a01e0764bdcca2d3583209cb3c6db4f963bd5fb5c43f25a27851c1f754267e84
+SHA512 (shared_child-1.0.0.crate) =
d0e16cc7253271e6468659db0d7344c2d75772dd3428f686c49ce34bfea6ba8fa010b1ba83375241bf019e77c842001c6e1ab5096af54af03586e05c3f8fc476
commit 4ecf8c8b0e36243a448b6b10b4fe9348bc726401
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 12 19:01:08 2023 +0200
Regenerate with rust2rpm v24
diff --git a/README.md b/README.md
deleted file mode 100644
index 5f3236d..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-shared_child
-
-The rust-shared_child package
\ No newline at end of file
diff --git a/rust-shared_child.spec b/rust-shared_child.spec
index c8eea90..ce0ab6c 100644
--- a/rust-shared_child.spec
+++ b/rust-shared_child.spec
@@ -1,33 +1,27 @@
-# Generated by rust2rpm 10
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate shared_child
-Name: rust-%{crate}
+Name: rust-shared_child
Version: 0.3.4
Release: %autorelease
Summary: Library for using child processes from multiple threads
-# Upstream license specification: MIT
License: MIT
URL:
https://crates.io/crates/shared_child
Source: %{crates_source}
-# Initial patched metadata
-# * No windows
-Patch0: shared_child-fix-metadata.diff
-#
https://github.com/oconnor663/shared_child.rs/issues/16
-Patch0001: 0001-Avoid-using-python-in-the-tests.patch
-
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
+# Automatically generated patch to strip foreign dependencies
+Patch: shared_child-fix-metadata-auto.diff
+# * replace usage of /usr/bin/python with simple /usr/bin/sleep:
+#
https://github.com/oconnor663/shared_child.rs/issues/16
+Patch: 0001-Avoid-using-python-in-the-tests.patch
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
-Library for using child processes from multiple threads.}
+A library for using child processes from multiple threads.}
%description %{_description}
@@ -37,13 +31,13 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -51,11 +45,11 @@ 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.
+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 %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/shared_child-fix-metadata.diff b/shared_child-fix-metadata-auto.diff
similarity index 83%
rename from shared_child-fix-metadata.diff
rename to shared_child-fix-metadata-auto.diff
index 3be6aea..2ceea12 100644
--- a/shared_child-fix-metadata.diff
+++ b/shared_child-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
--- shared_child-0.3.4/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ shared_child-0.3.4/Cargo.toml 2019-09-08T13:57:19.508291+00:00
++++ shared_child-0.3.4/Cargo.toml 2023-04-12T16:58:16.048194+00:00
@@ -22,6 +22,3 @@
repository = "https://github.com/oconnor663/shared_child.rs"
[target."cfg(not(windows))".dependencies.libc]
commit 672d17889295d341588d76d4ee16814da5437a0c
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 12 18:58:05 2023 +0200
Convert to %autorelease and %autochangelog
[skip changelog]
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..297c7f0
--- /dev/null
+++ b/changelog
@@ -0,0 +1,29 @@
+* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-8
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-7
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-6
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-5
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Sun Sep 08 15:57:19 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.3.4-1
+- Update to 0.3.4
+
+* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.3-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Sun Jul 07 16:17:02 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.3.3-1
+- Initial package
diff --git a/rust-shared_child.spec b/rust-shared_child.spec
index fb645f1..c8eea90 100644
--- a/rust-shared_child.spec
+++ b/rust-shared_child.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.3.4
-Release: 8%{?dist}
+Release: %autorelease
Summary: Library for using child processes from multiple threads
# Upstream license specification: MIT
@@ -76,32 +76,4 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
-* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-8
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-7
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-6
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Sun Sep 08 15:57:19 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.3.4-1
-- Update to 0.3.4
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.3-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Sun Jul 07 16:17:02 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.3.3-1
-- Initial package
+%autochangelog
commit 43ea45770c476c279465eb7759bb2ce1c81d540c
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jan 21 01:24:20 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/rust-shared_child.spec b/rust-shared_child.spec
index 31b2825..fb645f1 100644
--- a/rust-shared_child.spec
+++ b/rust-shared_child.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.3.4
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Library for using child processes from multiple threads
# Upstream license specification: MIT
@@ -76,6 +76,9 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
+* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-8
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.4-7
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild