Architecture specific change in rpms/rust-cpython.git
by githook-noreply@fedoraproject.org
The package rpms/rust-cpython.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-cpython.git/commit/?id=afec2....
Change:
-%ifnarch s390x
Thanks.
Full change:
============
commit afec2fd84894da69c580b2e91680e734fc69414b
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Apr 7 01:12:35 2022 +0200
Update to version 0.7.0; Fixes RHBZ#2012486
diff --git a/.gitignore b/.gitignore
index 71d086b..7351bc5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/cpython-0.5.2.crate
/cpython-0.6.0.crate
+/cpython-0.7.0.crate
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
new file mode 100644
index 0000000..a2ab294
--- /dev/null
+++ b/.rust2rpm.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+unwanted-features =
+ python-3-10
diff --git a/cpython-fix-metadata.diff b/cpython-fix-metadata.diff
index 8867ee6..7582425 100644
--- a/cpython-fix-metadata.diff
+++ b/cpython-fix-metadata.diff
@@ -1,17 +1,17 @@
---- cpython-0.6.0/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ cpython-0.6.0/Cargo.toml 2021-07-31T09:23:22.400894+00:00
-@@ -34,10 +34,6 @@
+--- cpython-0.7.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ cpython-0.7.0/Cargo.toml 2022-04-06T20:26:05.578631+00:00
+@@ -33,10 +33,6 @@
[dependencies.paste]
version = "1"
-[dependencies.python27-sys]
--version = "0.6.0"
+-version = "0.7.0"
-optional = true
-
[dependencies.python3-sys]
- version = "0.6.0"
+ version = "0.7.0"
optional = true
-@@ -58,13 +54,11 @@
+@@ -57,13 +53,11 @@
[features]
default = ["python3-sys"]
extension-module = ["python3-sys/extension-module"]
@@ -22,6 +22,6 @@
py-link-mode-default = ["python3-sys/link-mode-default"]
py-link-mode-unresolved-static = ["python3-sys/link-mode-unresolved-static"]
-py2-no-auto-unicode-promotion = []
+ python-3-10 = ["python3-sys/python-3-10"]
python-3-4 = ["python3-sys/python-3-4"]
python-3-5 = ["python3-sys/python-3-5"]
- python-3-6 = ["python3-sys/python-3-6"]
diff --git a/rust-cpython.spec b/rust-cpython.spec
index d5a55c0..fffb661 100644
--- a/rust-cpython.spec
+++ b/rust-cpython.spec
@@ -1,11 +1,16 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 21
+# * test suite segfaults on s390x
+%ifnarch s390x
%bcond_without check
+%else
+%bcond_with check
+%endif
%global debug_package %{nil}
%global crate cpython
Name: rust-%{crate}
-Version: 0.6.0
+Version: 0.7.0
Release: %autorelease
Summary: Bindings to Python
@@ -18,11 +23,8 @@ Source: %{crates_source}
Patch0: cpython-fix-metadata.diff
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Bindings to Python.}
@@ -35,13 +37,14 @@ 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 CHANGELOG.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -49,11 +52,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_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+extension-module-devel
Summary: %{summary}
@@ -61,11 +64,11 @@ BuildArch: noarch
%description -n %{name}+extension-module-devel %{_description}
-This package contains library source intended for building other packages
-which use "extension-module" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "extension-module" feature of the "%{crate}" crate.
%files -n %{name}+extension-module-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nightly-devel
Summary: %{summary}
@@ -73,11 +76,11 @@ BuildArch: noarch
%description -n %{name}+nightly-devel %{_description}
-This package contains library source intended for building other packages
-which use "nightly" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "nightly" feature of the "%{crate}" crate.
%files -n %{name}+nightly-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+no-auto-initialize-devel
Summary: %{summary}
@@ -85,11 +88,11 @@ BuildArch: noarch
%description -n %{name}+no-auto-initialize-devel %{_description}
-This package contains library source intended for building other packages
-which use "no-auto-initialize" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "no-auto-initialize" feature of the "%{crate}" crate.
%files -n %{name}+no-auto-initialize-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nonnull-devel
Summary: %{summary}
@@ -97,11 +100,11 @@ BuildArch: noarch
%description -n %{name}+nonnull-devel %{_description}
-This package contains library source intended for building other packages
-which use "nonnull" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "nonnull" feature of the "%{crate}" crate.
%files -n %{name}+nonnull-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+py-link-mode-default-devel
Summary: %{summary}
@@ -109,11 +112,11 @@ BuildArch: noarch
%description -n %{name}+py-link-mode-default-devel %{_description}
-This package contains library source intended for building other packages
-which use "py-link-mode-default" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "py-link-mode-default" feature of the "%{crate}" crate.
%files -n %{name}+py-link-mode-default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+py-link-mode-unresolved-static-devel
Summary: %{summary}
@@ -121,11 +124,11 @@ BuildArch: noarch
%description -n %{name}+py-link-mode-unresolved-static-devel %{_description}
-This package contains library source intended for building other packages
-which use "py-link-mode-unresolved-static" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "py-link-mode-unresolved-static" feature of the "%{crate}" crate.
%files -n %{name}+py-link-mode-unresolved-static-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-4-devel
Summary: %{summary}
@@ -133,11 +136,11 @@ BuildArch: noarch
%description -n %{name}+python-3-4-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-4" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-4" feature of the "%{crate}" crate.
%files -n %{name}+python-3-4-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-5-devel
Summary: %{summary}
@@ -145,11 +148,11 @@ BuildArch: noarch
%description -n %{name}+python-3-5-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-5" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-5" feature of the "%{crate}" crate.
%files -n %{name}+python-3-5-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-6-devel
Summary: %{summary}
@@ -157,11 +160,11 @@ BuildArch: noarch
%description -n %{name}+python-3-6-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-6" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-6" feature of the "%{crate}" crate.
%files -n %{name}+python-3-6-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-7-devel
Summary: %{summary}
@@ -169,11 +172,11 @@ BuildArch: noarch
%description -n %{name}+python-3-7-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-7" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-7" feature of the "%{crate}" crate.
%files -n %{name}+python-3-7-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-8-devel
Summary: %{summary}
@@ -181,11 +184,23 @@ BuildArch: noarch
%description -n %{name}+python-3-8-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-8" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-8" feature of the "%{crate}" crate.
%files -n %{name}+python-3-8-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+python-3-9-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+python-3-9-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "python-3-9" feature of the "%{crate}" crate.
+
+%files -n %{name}+python-3-9-devel
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python3-sys-devel
Summary: %{summary}
@@ -193,11 +208,11 @@ BuildArch: noarch
%description -n %{name}+python3-sys-devel %{_description}
-This package contains library source intended for building other packages
-which use "python3-sys" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python3-sys" feature of the "%{crate}" crate.
%files -n %{name}+python3-sys-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@@ -205,11 +220,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
-This package contains library source intended for building other packages
-which use "serde" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-convert-devel
Summary: %{summary}
@@ -217,16 +232,18 @@ BuildArch: noarch
%description -n %{name}+serde-convert-devel %{_description}
-This package contains library source intended for building other packages
-which use "serde-convert" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "serde-convert" feature of the "%{crate}" crate.
%files -n %{name}+serde-convert-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
rm tests/check_symbols.py
%cargo_prep
+# remove executable bit from all files
+find -type f -executable -exec chmod -x {} +
%generate_buildrequires
%cargo_generate_buildrequires
@@ -239,19 +256,7 @@ rm tests/check_symbols.py
%if %{with check}
%check
-%ifnarch s390x
-# * skip unit tests that no longer with with Python 3.10:
-# 'float' object cannot be interpreted as an integer
-# https://bugs.python.org/issue37999
-# * skip doctests that no longer work with Python 3.10 due to C API changes:
-# unicodedata.ucnhash_CAPI removed from Python 3.10 without deprecation
-# https://bugs.python.org/issue44418
-%cargo_test -- -- --skip objects::num::test::float_to_ --skip src/objects/capsule.rs
-%else
-# FIXME: lots of test failures on s390x since version 0.6.0:
-# https://github.com/dgrunwald/rust-cpython/issues/265
-%cargo_test -- -- --skip objects::num::test::float_to_ --skip src/objects/capsule.rs || :
-%endif
+%cargo_test
%endif
%changelog
diff --git a/sources b/sources
index 9243587..954dc71 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cpython-0.6.0.crate) = d656b3671c5d50216f80d757278d2b25c91a6da659f65832fbc621b7aa2e5975318189e33139fa31d84dad1cf052fd7af2c6b1fa6287ab19dc4ec89939e537c5
+SHA512 (cpython-0.7.0.crate) = 74508ee2a58bf20ed374c92c8ee67fb850f807c84a6b53c01007db87541c4ede8690c376fe9958903f716b2d0024c3f8562377b63abf630dd6c8964c7946d40f
2 years, 1 month
Architecture specific change in rpms/rust-cpython.git
by githook-noreply@fedoraproject.org
The package rpms/rust-cpython.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-cpython.git/commit/?id=05578....
Change:
-%ifnarch s390x
Thanks.
Full change:
============
commit 055786b20dd9fec6dba68cb0fa0cc1967919026a
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Apr 7 00:57:28 2022 +0200
Update to version 0.7.0; Fixes RHBZ#2012486
diff --git a/.gitignore b/.gitignore
index 71d086b..7351bc5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/cpython-0.5.2.crate
/cpython-0.6.0.crate
+/cpython-0.7.0.crate
diff --git a/cpython-fix-metadata.diff b/cpython-fix-metadata.diff
index 8867ee6..7582425 100644
--- a/cpython-fix-metadata.diff
+++ b/cpython-fix-metadata.diff
@@ -1,17 +1,17 @@
---- cpython-0.6.0/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ cpython-0.6.0/Cargo.toml 2021-07-31T09:23:22.400894+00:00
-@@ -34,10 +34,6 @@
+--- cpython-0.7.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ cpython-0.7.0/Cargo.toml 2022-04-06T20:26:05.578631+00:00
+@@ -33,10 +33,6 @@
[dependencies.paste]
version = "1"
-[dependencies.python27-sys]
--version = "0.6.0"
+-version = "0.7.0"
-optional = true
-
[dependencies.python3-sys]
- version = "0.6.0"
+ version = "0.7.0"
optional = true
-@@ -58,13 +54,11 @@
+@@ -57,13 +53,11 @@
[features]
default = ["python3-sys"]
extension-module = ["python3-sys/extension-module"]
@@ -22,6 +22,6 @@
py-link-mode-default = ["python3-sys/link-mode-default"]
py-link-mode-unresolved-static = ["python3-sys/link-mode-unresolved-static"]
-py2-no-auto-unicode-promotion = []
+ python-3-10 = ["python3-sys/python-3-10"]
python-3-4 = ["python3-sys/python-3-4"]
python-3-5 = ["python3-sys/python-3-5"]
- python-3-6 = ["python3-sys/python-3-6"]
diff --git a/rust-cpython.spec b/rust-cpython.spec
index d5a55c0..87f823d 100644
--- a/rust-cpython.spec
+++ b/rust-cpython.spec
@@ -1,11 +1,16 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 21
+# * test suite segfaults on s390x
+%ifnarch s390x
%bcond_without check
+%else
+%bcond_with check
+%endif
%global debug_package %{nil}
%global crate cpython
Name: rust-%{crate}
-Version: 0.6.0
+Version: 0.7.0
Release: %autorelease
Summary: Bindings to Python
@@ -18,11 +23,8 @@ Source: %{crates_source}
Patch0: cpython-fix-metadata.diff
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Bindings to Python.}
@@ -35,13 +37,14 @@ 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 CHANGELOG.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -49,11 +52,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_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+extension-module-devel
Summary: %{summary}
@@ -61,11 +64,11 @@ BuildArch: noarch
%description -n %{name}+extension-module-devel %{_description}
-This package contains library source intended for building other packages
-which use "extension-module" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "extension-module" feature of the "%{crate}" crate.
%files -n %{name}+extension-module-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nightly-devel
Summary: %{summary}
@@ -73,11 +76,11 @@ BuildArch: noarch
%description -n %{name}+nightly-devel %{_description}
-This package contains library source intended for building other packages
-which use "nightly" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "nightly" feature of the "%{crate}" crate.
%files -n %{name}+nightly-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+no-auto-initialize-devel
Summary: %{summary}
@@ -85,11 +88,11 @@ BuildArch: noarch
%description -n %{name}+no-auto-initialize-devel %{_description}
-This package contains library source intended for building other packages
-which use "no-auto-initialize" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "no-auto-initialize" feature of the "%{crate}" crate.
%files -n %{name}+no-auto-initialize-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nonnull-devel
Summary: %{summary}
@@ -97,11 +100,11 @@ BuildArch: noarch
%description -n %{name}+nonnull-devel %{_description}
-This package contains library source intended for building other packages
-which use "nonnull" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "nonnull" feature of the "%{crate}" crate.
%files -n %{name}+nonnull-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+py-link-mode-default-devel
Summary: %{summary}
@@ -109,11 +112,11 @@ BuildArch: noarch
%description -n %{name}+py-link-mode-default-devel %{_description}
-This package contains library source intended for building other packages
-which use "py-link-mode-default" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "py-link-mode-default" feature of the "%{crate}" crate.
%files -n %{name}+py-link-mode-default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+py-link-mode-unresolved-static-devel
Summary: %{summary}
@@ -121,11 +124,23 @@ BuildArch: noarch
%description -n %{name}+py-link-mode-unresolved-static-devel %{_description}
-This package contains library source intended for building other packages
-which use "py-link-mode-unresolved-static" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "py-link-mode-unresolved-static" feature of the "%{crate}" crate.
%files -n %{name}+py-link-mode-unresolved-static-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+python-3-10-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+python-3-10-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "python-3-10" feature of the "%{crate}" crate.
+
+%files -n %{name}+python-3-10-devel
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-4-devel
Summary: %{summary}
@@ -133,11 +148,11 @@ BuildArch: noarch
%description -n %{name}+python-3-4-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-4" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-4" feature of the "%{crate}" crate.
%files -n %{name}+python-3-4-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-5-devel
Summary: %{summary}
@@ -145,11 +160,11 @@ BuildArch: noarch
%description -n %{name}+python-3-5-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-5" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-5" feature of the "%{crate}" crate.
%files -n %{name}+python-3-5-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-6-devel
Summary: %{summary}
@@ -157,11 +172,11 @@ BuildArch: noarch
%description -n %{name}+python-3-6-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-6" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-6" feature of the "%{crate}" crate.
%files -n %{name}+python-3-6-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-7-devel
Summary: %{summary}
@@ -169,11 +184,11 @@ BuildArch: noarch
%description -n %{name}+python-3-7-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-7" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-7" feature of the "%{crate}" crate.
%files -n %{name}+python-3-7-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-8-devel
Summary: %{summary}
@@ -181,11 +196,23 @@ BuildArch: noarch
%description -n %{name}+python-3-8-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-8" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-8" feature of the "%{crate}" crate.
%files -n %{name}+python-3-8-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+python-3-9-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+python-3-9-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "python-3-9" feature of the "%{crate}" crate.
+
+%files -n %{name}+python-3-9-devel
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python3-sys-devel
Summary: %{summary}
@@ -193,11 +220,11 @@ BuildArch: noarch
%description -n %{name}+python3-sys-devel %{_description}
-This package contains library source intended for building other packages
-which use "python3-sys" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python3-sys" feature of the "%{crate}" crate.
%files -n %{name}+python3-sys-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@@ -205,11 +232,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
-This package contains library source intended for building other packages
-which use "serde" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-convert-devel
Summary: %{summary}
@@ -217,16 +244,18 @@ BuildArch: noarch
%description -n %{name}+serde-convert-devel %{_description}
-This package contains library source intended for building other packages
-which use "serde-convert" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "serde-convert" feature of the "%{crate}" crate.
%files -n %{name}+serde-convert-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
rm tests/check_symbols.py
%cargo_prep
+# remove executable bit from all files
+find -type f -executable -exec chmod -x {} +
%generate_buildrequires
%cargo_generate_buildrequires
@@ -239,19 +268,7 @@ rm tests/check_symbols.py
%if %{with check}
%check
-%ifnarch s390x
-# * skip unit tests that no longer with with Python 3.10:
-# 'float' object cannot be interpreted as an integer
-# https://bugs.python.org/issue37999
-# * skip doctests that no longer work with Python 3.10 due to C API changes:
-# unicodedata.ucnhash_CAPI removed from Python 3.10 without deprecation
-# https://bugs.python.org/issue44418
-%cargo_test -- -- --skip objects::num::test::float_to_ --skip src/objects/capsule.rs
-%else
-# FIXME: lots of test failures on s390x since version 0.6.0:
-# https://github.com/dgrunwald/rust-cpython/issues/265
-%cargo_test -- -- --skip objects::num::test::float_to_ --skip src/objects/capsule.rs || :
-%endif
+%cargo_test
%endif
%changelog
diff --git a/sources b/sources
index 9243587..954dc71 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cpython-0.6.0.crate) = d656b3671c5d50216f80d757278d2b25c91a6da659f65832fbc621b7aa2e5975318189e33139fa31d84dad1cf052fd7af2c6b1fa6287ab19dc4ec89939e537c5
+SHA512 (cpython-0.7.0.crate) = 74508ee2a58bf20ed374c92c8ee67fb850f807c84a6b53c01007db87541c4ede8690c376fe9958903f716b2d0024c3f8562377b63abf630dd6c8964c7946d40f
commit 689ac75fdb531bab88b215457d1b4079ea8bcdac
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 21 20:17:53 2022 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
2 years, 1 month
Architecture specific change in rpms/rust-cpython.git
by githook-noreply@fedoraproject.org
The package rpms/rust-cpython.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-cpython.git/commit/?id=05578....
Change:
-%ifnarch s390x
Thanks.
Full change:
============
commit 055786b20dd9fec6dba68cb0fa0cc1967919026a
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Apr 7 00:57:28 2022 +0200
Update to version 0.7.0; Fixes RHBZ#2012486
diff --git a/.gitignore b/.gitignore
index 71d086b..7351bc5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/cpython-0.5.2.crate
/cpython-0.6.0.crate
+/cpython-0.7.0.crate
diff --git a/cpython-fix-metadata.diff b/cpython-fix-metadata.diff
index 8867ee6..7582425 100644
--- a/cpython-fix-metadata.diff
+++ b/cpython-fix-metadata.diff
@@ -1,17 +1,17 @@
---- cpython-0.6.0/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ cpython-0.6.0/Cargo.toml 2021-07-31T09:23:22.400894+00:00
-@@ -34,10 +34,6 @@
+--- cpython-0.7.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ cpython-0.7.0/Cargo.toml 2022-04-06T20:26:05.578631+00:00
+@@ -33,10 +33,6 @@
[dependencies.paste]
version = "1"
-[dependencies.python27-sys]
--version = "0.6.0"
+-version = "0.7.0"
-optional = true
-
[dependencies.python3-sys]
- version = "0.6.0"
+ version = "0.7.0"
optional = true
-@@ -58,13 +54,11 @@
+@@ -57,13 +53,11 @@
[features]
default = ["python3-sys"]
extension-module = ["python3-sys/extension-module"]
@@ -22,6 +22,6 @@
py-link-mode-default = ["python3-sys/link-mode-default"]
py-link-mode-unresolved-static = ["python3-sys/link-mode-unresolved-static"]
-py2-no-auto-unicode-promotion = []
+ python-3-10 = ["python3-sys/python-3-10"]
python-3-4 = ["python3-sys/python-3-4"]
python-3-5 = ["python3-sys/python-3-5"]
- python-3-6 = ["python3-sys/python-3-6"]
diff --git a/rust-cpython.spec b/rust-cpython.spec
index d5a55c0..87f823d 100644
--- a/rust-cpython.spec
+++ b/rust-cpython.spec
@@ -1,11 +1,16 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 21
+# * test suite segfaults on s390x
+%ifnarch s390x
%bcond_without check
+%else
+%bcond_with check
+%endif
%global debug_package %{nil}
%global crate cpython
Name: rust-%{crate}
-Version: 0.6.0
+Version: 0.7.0
Release: %autorelease
Summary: Bindings to Python
@@ -18,11 +23,8 @@ Source: %{crates_source}
Patch0: cpython-fix-metadata.diff
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Bindings to Python.}
@@ -35,13 +37,14 @@ 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 CHANGELOG.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -49,11 +52,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_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+extension-module-devel
Summary: %{summary}
@@ -61,11 +64,11 @@ BuildArch: noarch
%description -n %{name}+extension-module-devel %{_description}
-This package contains library source intended for building other packages
-which use "extension-module" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "extension-module" feature of the "%{crate}" crate.
%files -n %{name}+extension-module-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nightly-devel
Summary: %{summary}
@@ -73,11 +76,11 @@ BuildArch: noarch
%description -n %{name}+nightly-devel %{_description}
-This package contains library source intended for building other packages
-which use "nightly" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "nightly" feature of the "%{crate}" crate.
%files -n %{name}+nightly-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+no-auto-initialize-devel
Summary: %{summary}
@@ -85,11 +88,11 @@ BuildArch: noarch
%description -n %{name}+no-auto-initialize-devel %{_description}
-This package contains library source intended for building other packages
-which use "no-auto-initialize" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "no-auto-initialize" feature of the "%{crate}" crate.
%files -n %{name}+no-auto-initialize-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nonnull-devel
Summary: %{summary}
@@ -97,11 +100,11 @@ BuildArch: noarch
%description -n %{name}+nonnull-devel %{_description}
-This package contains library source intended for building other packages
-which use "nonnull" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "nonnull" feature of the "%{crate}" crate.
%files -n %{name}+nonnull-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+py-link-mode-default-devel
Summary: %{summary}
@@ -109,11 +112,11 @@ BuildArch: noarch
%description -n %{name}+py-link-mode-default-devel %{_description}
-This package contains library source intended for building other packages
-which use "py-link-mode-default" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "py-link-mode-default" feature of the "%{crate}" crate.
%files -n %{name}+py-link-mode-default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+py-link-mode-unresolved-static-devel
Summary: %{summary}
@@ -121,11 +124,23 @@ BuildArch: noarch
%description -n %{name}+py-link-mode-unresolved-static-devel %{_description}
-This package contains library source intended for building other packages
-which use "py-link-mode-unresolved-static" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "py-link-mode-unresolved-static" feature of the "%{crate}" crate.
%files -n %{name}+py-link-mode-unresolved-static-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+python-3-10-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+python-3-10-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "python-3-10" feature of the "%{crate}" crate.
+
+%files -n %{name}+python-3-10-devel
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-4-devel
Summary: %{summary}
@@ -133,11 +148,11 @@ BuildArch: noarch
%description -n %{name}+python-3-4-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-4" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-4" feature of the "%{crate}" crate.
%files -n %{name}+python-3-4-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-5-devel
Summary: %{summary}
@@ -145,11 +160,11 @@ BuildArch: noarch
%description -n %{name}+python-3-5-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-5" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-5" feature of the "%{crate}" crate.
%files -n %{name}+python-3-5-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-6-devel
Summary: %{summary}
@@ -157,11 +172,11 @@ BuildArch: noarch
%description -n %{name}+python-3-6-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-6" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-6" feature of the "%{crate}" crate.
%files -n %{name}+python-3-6-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-7-devel
Summary: %{summary}
@@ -169,11 +184,11 @@ BuildArch: noarch
%description -n %{name}+python-3-7-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-7" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-7" feature of the "%{crate}" crate.
%files -n %{name}+python-3-7-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python-3-8-devel
Summary: %{summary}
@@ -181,11 +196,23 @@ BuildArch: noarch
%description -n %{name}+python-3-8-devel %{_description}
-This package contains library source intended for building other packages
-which use "python-3-8" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python-3-8" feature of the "%{crate}" crate.
%files -n %{name}+python-3-8-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+python-3-9-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+python-3-9-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "python-3-9" feature of the "%{crate}" crate.
+
+%files -n %{name}+python-3-9-devel
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+python3-sys-devel
Summary: %{summary}
@@ -193,11 +220,11 @@ BuildArch: noarch
%description -n %{name}+python3-sys-devel %{_description}
-This package contains library source intended for building other packages
-which use "python3-sys" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "python3-sys" feature of the "%{crate}" crate.
%files -n %{name}+python3-sys-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@@ -205,11 +232,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
-This package contains library source intended for building other packages
-which use "serde" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-convert-devel
Summary: %{summary}
@@ -217,16 +244,18 @@ BuildArch: noarch
%description -n %{name}+serde-convert-devel %{_description}
-This package contains library source intended for building other packages
-which use "serde-convert" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "serde-convert" feature of the "%{crate}" crate.
%files -n %{name}+serde-convert-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
rm tests/check_symbols.py
%cargo_prep
+# remove executable bit from all files
+find -type f -executable -exec chmod -x {} +
%generate_buildrequires
%cargo_generate_buildrequires
@@ -239,19 +268,7 @@ rm tests/check_symbols.py
%if %{with check}
%check
-%ifnarch s390x
-# * skip unit tests that no longer with with Python 3.10:
-# 'float' object cannot be interpreted as an integer
-# https://bugs.python.org/issue37999
-# * skip doctests that no longer work with Python 3.10 due to C API changes:
-# unicodedata.ucnhash_CAPI removed from Python 3.10 without deprecation
-# https://bugs.python.org/issue44418
-%cargo_test -- -- --skip objects::num::test::float_to_ --skip src/objects/capsule.rs
-%else
-# FIXME: lots of test failures on s390x since version 0.6.0:
-# https://github.com/dgrunwald/rust-cpython/issues/265
-%cargo_test -- -- --skip objects::num::test::float_to_ --skip src/objects/capsule.rs || :
-%endif
+%cargo_test
%endif
%changelog
diff --git a/sources b/sources
index 9243587..954dc71 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cpython-0.6.0.crate) = d656b3671c5d50216f80d757278d2b25c91a6da659f65832fbc621b7aa2e5975318189e33139fa31d84dad1cf052fd7af2c6b1fa6287ab19dc4ec89939e537c5
+SHA512 (cpython-0.7.0.crate) = 74508ee2a58bf20ed374c92c8ee67fb850f807c84a6b53c01007db87541c4ede8690c376fe9958903f716b2d0024c3f8562377b63abf630dd6c8964c7946d40f
2 years, 1 month
Architecture specific change in rpms/rust-nu-path.git
by githook-noreply@fedoraproject.org
The package rpms/rust-nu-path.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-nu-path.git/commit/?id=030a7....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 030a7e512638b5d6f414af2ebd5c4cf08ec56c86
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Wed Apr 6 10:07:13 2022 -0700
Initial Fedora package
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0054eaa
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/nu-path-0.60.0.crate
+/nu-path-LICENSE
diff --git a/rust-nu-path.spec b/rust-nu-path.spec
new file mode 100644
index 0000000..94480d7
--- /dev/null
+++ b/rust-nu-path.spec
@@ -0,0 +1,76 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate nu-path
+
+Name: rust-%{crate}
+Version: 0.60.0
+Release: 1%{?dist}
+Summary: Path handling library for Nushell
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/nu-path
+Source: %{crates_source}
+# license text not included yet in most crates
+# see https://github.com/nushell/nushell/pull/5094
+Source1: https://raw.githubusercontent.com/nushell/nushell/main/LICENSE#/%{crate}-...
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Path handling library for Nushell.}
+
+%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 LICENSE
+%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
+cp -p %{SOURCE1} LICENSE
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Apr 04 2022 Michel Alexandre Salim <salimma(a)fedoraproject.org> - 0.60.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..54b5427
--- /dev/null
+++ b/sources
@@ -0,0 +1,2 @@
+SHA512 (nu-path-0.60.0.crate) = b1dc297900db7e2b829f95f47f4af200186f0d896d0735f98adf0b6c4dfb5a4a02d12c44b4f30c62f9590bdd30990cbd69675ecddd727fba898537e58bff97a5
+SHA512 (nu-path-LICENSE) = 2d34e911a4a466733002770531ea8527c3fe8d18a2d9b06de9a716008d6b03be8b623eaa7d1840d96b42463ec524d2351b3816c9975b872bf17f748360d2b27e
2 years, 1 month
Architecture specific change in rpms/rust-eyre.git
by githook-noreply@fedoraproject.org
The package rpms/rust-eyre.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-eyre.git/commit/?id=e5c2a400....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit e5c2a400e9f70ecc878d89c17c26d35395214e9a
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Wed Apr 6 10:19:21 2022 -0700
Initial Fedora package
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..517582e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/eyre-0.6.8.crate
diff --git a/eyre-fix-metadata.diff b/eyre-fix-metadata.diff
new file mode 100644
index 0000000..f165bac
--- /dev/null
+++ b/eyre-fix-metadata.diff
@@ -0,0 +1,14 @@
+--- eyre-0.6.8/Cargo.toml 1970-01-01T00:00:01+00:00
++++ eyre-0.6.8/Cargo.toml 2022-04-05T02:48:25.755837+00:00
+@@ -80,11 +80,6 @@
+ version = "0.3"
+ default-features = false
+
+-[dev-dependencies.pyo3]
+-version = "0.13"
+-features = ["auto-initialize"]
+-default-features = false
+-
+ [dev-dependencies.rustversion]
+ version = "1.0"
+
diff --git a/rust-eyre.spec b/rust-eyre.spec
new file mode 100644
index 0000000..87a1ef1
--- /dev/null
+++ b/rust-eyre.spec
@@ -0,0 +1,112 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate eyre
+
+Name: rust-%{crate}
+Version: 0.6.8
+Release: %autorelease
+Summary: Flexible concrete Error Reporting type built on std::error::Error with customizable Reports
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/eyre
+Source: %{crates_source}
+# Drop optional pyo3/auto-initialize dependency, not available yet
+Patch0: eyre-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Flexible concrete Error Reporting type built on std::error::Error with
+customizable Reports.}
+
+%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
+
+%package -n %{name}+auto-install-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+auto-install-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "auto-install" feature of the "%{crate}" crate.
+
+%files -n %{name}+auto-install-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+pyo3-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+pyo3-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "pyo3" feature of the "%{crate}" crate.
+
+%files -n %{name}+pyo3-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+track-caller-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+track-caller-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "track-caller" feature of the "%{crate}" crate.
+
+%files -n %{name}+track-caller-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..97bfcb1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (eyre-0.6.8.crate) = 0a54e2ce9d58e80596ab7d55f0f913fe3d9bad6cdc5f56b9aa4683732e2d409e288a579e89b300e35a822f56017524b2ebbc0e60860b9dd6e479080f7cb14324
2 years, 1 month
Architecture specific change in rpms/zcfan.git
by githook-noreply@fedoraproject.org
The package rpms/zcfan.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/zcfan.git/commit/?id=aa3a2219e785....
Change:
+ExclusiveArch: x86_64
Thanks.
Full change:
============
commit aa3a2219e7852e22eba00e6e35f881d5834076ce
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Wed Apr 6 13:33:38 2022 -0700
Initial import; Fixes: RHBZ#2072634
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5854190
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/zcfan-1.1.0.tar.gz
diff --git a/sources b/sources
new file mode 100644
index 0000000..b91e847
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (zcfan-1.1.0.tar.gz) = 8adf61ea2ae144f0f8ae26542353e116708f9729227cb6b10faafa00a2caa43c99d050180c3fc30ac42b9c89a5bf22bc418d814423f73ae35c4d5797ccc5cba7
diff --git a/zcfan.spec b/zcfan.spec
new file mode 100644
index 0000000..64ccbed
--- /dev/null
+++ b/zcfan.spec
@@ -0,0 +1,46 @@
+Name: zcfan
+Version: 1.1.0
+Release: %autorelease
+Summary: Zero-configuration fan daemon for ThinkPads
+
+License: MIT
+URL: https://github.com/cdown/zcfan
+Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires: gcc
+BuildRequires: make
+BuildRequires: systemd-rpm-macros
+
+ExclusiveArch: x86_64
+
+%description
+zcfan is a zero-configuration fan control daemon for ThinkPads.
+
+%prep
+%autosetup
+
+%build
+%set_build_flags
+%make_build
+
+%install
+install -Dpm0755 -t %{buildroot}%{_bindir} %{name}
+install -Dpm0755 -t %{buildroot}%{_unitdir} %{name}.service
+
+%post
+%systemd_post %{name}.service
+
+%preun
+%systemd_preun %{name}.service
+
+%postun
+%systemd_postun_with_restart %{name}.service
+
+%files
+%license LICENSE
+%doc README.md
+%{_bindir}/%{name}
+%{_unitdir}/%{name}.service
+
+%changelog
+%autochangelog
2 years, 1 month
Architecture specific change in rpms/zcfan.git
by githook-noreply@fedoraproject.org
The package rpms/zcfan.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/zcfan.git/commit/?id=aa3a2219e785....
Change:
+ExclusiveArch: x86_64
Thanks.
Full change:
============
commit aa3a2219e7852e22eba00e6e35f881d5834076ce
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Wed Apr 6 13:33:38 2022 -0700
Initial import; Fixes: RHBZ#2072634
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5854190
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/zcfan-1.1.0.tar.gz
diff --git a/sources b/sources
new file mode 100644
index 0000000..b91e847
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (zcfan-1.1.0.tar.gz) = 8adf61ea2ae144f0f8ae26542353e116708f9729227cb6b10faafa00a2caa43c99d050180c3fc30ac42b9c89a5bf22bc418d814423f73ae35c4d5797ccc5cba7
diff --git a/zcfan.spec b/zcfan.spec
new file mode 100644
index 0000000..64ccbed
--- /dev/null
+++ b/zcfan.spec
@@ -0,0 +1,46 @@
+Name: zcfan
+Version: 1.1.0
+Release: %autorelease
+Summary: Zero-configuration fan daemon for ThinkPads
+
+License: MIT
+URL: https://github.com/cdown/zcfan
+Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires: gcc
+BuildRequires: make
+BuildRequires: systemd-rpm-macros
+
+ExclusiveArch: x86_64
+
+%description
+zcfan is a zero-configuration fan control daemon for ThinkPads.
+
+%prep
+%autosetup
+
+%build
+%set_build_flags
+%make_build
+
+%install
+install -Dpm0755 -t %{buildroot}%{_bindir} %{name}
+install -Dpm0755 -t %{buildroot}%{_unitdir} %{name}.service
+
+%post
+%systemd_post %{name}.service
+
+%preun
+%systemd_preun %{name}.service
+
+%postun
+%systemd_postun_with_restart %{name}.service
+
+%files
+%license LICENSE
+%doc README.md
+%{_bindir}/%{name}
+%{_unitdir}/%{name}.service
+
+%changelog
+%autochangelog
2 years, 1 month
Architecture specific change in rpms/zcfan.git
by githook-noreply@fedoraproject.org
The package rpms/zcfan.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/zcfan.git/commit/?id=aa3a2219e785....
Change:
+ExclusiveArch: x86_64
Thanks.
Full change:
============
commit aa3a2219e7852e22eba00e6e35f881d5834076ce
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Wed Apr 6 13:33:38 2022 -0700
Initial import; Fixes: RHBZ#2072634
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5854190
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/zcfan-1.1.0.tar.gz
diff --git a/sources b/sources
new file mode 100644
index 0000000..b91e847
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (zcfan-1.1.0.tar.gz) = 8adf61ea2ae144f0f8ae26542353e116708f9729227cb6b10faafa00a2caa43c99d050180c3fc30ac42b9c89a5bf22bc418d814423f73ae35c4d5797ccc5cba7
diff --git a/zcfan.spec b/zcfan.spec
new file mode 100644
index 0000000..64ccbed
--- /dev/null
+++ b/zcfan.spec
@@ -0,0 +1,46 @@
+Name: zcfan
+Version: 1.1.0
+Release: %autorelease
+Summary: Zero-configuration fan daemon for ThinkPads
+
+License: MIT
+URL: https://github.com/cdown/zcfan
+Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires: gcc
+BuildRequires: make
+BuildRequires: systemd-rpm-macros
+
+ExclusiveArch: x86_64
+
+%description
+zcfan is a zero-configuration fan control daemon for ThinkPads.
+
+%prep
+%autosetup
+
+%build
+%set_build_flags
+%make_build
+
+%install
+install -Dpm0755 -t %{buildroot}%{_bindir} %{name}
+install -Dpm0755 -t %{buildroot}%{_unitdir} %{name}.service
+
+%post
+%systemd_post %{name}.service
+
+%preun
+%systemd_preun %{name}.service
+
+%postun
+%systemd_postun_with_restart %{name}.service
+
+%files
+%license LICENSE
+%doc README.md
+%{_bindir}/%{name}
+%{_unitdir}/%{name}.service
+
+%changelog
+%autochangelog
2 years, 1 month
Architecture specific change in rpms/rust-eyre.git
by githook-noreply@fedoraproject.org
The package rpms/rust-eyre.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-eyre.git/commit/?id=e5c2a400....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit e5c2a400e9f70ecc878d89c17c26d35395214e9a
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Wed Apr 6 10:19:21 2022 -0700
Initial Fedora package
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..517582e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/eyre-0.6.8.crate
diff --git a/eyre-fix-metadata.diff b/eyre-fix-metadata.diff
new file mode 100644
index 0000000..f165bac
--- /dev/null
+++ b/eyre-fix-metadata.diff
@@ -0,0 +1,14 @@
+--- eyre-0.6.8/Cargo.toml 1970-01-01T00:00:01+00:00
++++ eyre-0.6.8/Cargo.toml 2022-04-05T02:48:25.755837+00:00
+@@ -80,11 +80,6 @@
+ version = "0.3"
+ default-features = false
+
+-[dev-dependencies.pyo3]
+-version = "0.13"
+-features = ["auto-initialize"]
+-default-features = false
+-
+ [dev-dependencies.rustversion]
+ version = "1.0"
+
diff --git a/rust-eyre.spec b/rust-eyre.spec
new file mode 100644
index 0000000..87a1ef1
--- /dev/null
+++ b/rust-eyre.spec
@@ -0,0 +1,112 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate eyre
+
+Name: rust-%{crate}
+Version: 0.6.8
+Release: %autorelease
+Summary: Flexible concrete Error Reporting type built on std::error::Error with customizable Reports
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/eyre
+Source: %{crates_source}
+# Drop optional pyo3/auto-initialize dependency, not available yet
+Patch0: eyre-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Flexible concrete Error Reporting type built on std::error::Error with
+customizable Reports.}
+
+%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
+
+%package -n %{name}+auto-install-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+auto-install-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "auto-install" feature of the "%{crate}" crate.
+
+%files -n %{name}+auto-install-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+pyo3-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+pyo3-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "pyo3" feature of the "%{crate}" crate.
+
+%files -n %{name}+pyo3-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+track-caller-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+track-caller-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "track-caller" feature of the "%{crate}" crate.
+
+%files -n %{name}+track-caller-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..97bfcb1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (eyre-0.6.8.crate) = 0a54e2ce9d58e80596ab7d55f0f913fe3d9bad6cdc5f56b9aa4683732e2d409e288a579e89b300e35a822f56017524b2ebbc0e60860b9dd6e479080f7cb14324
2 years, 1 month
Architecture specific change in rpms/rust-eyre.git
by githook-noreply@fedoraproject.org
The package rpms/rust-eyre.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-eyre.git/commit/?id=e5c2a400....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit e5c2a400e9f70ecc878d89c17c26d35395214e9a
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Wed Apr 6 10:19:21 2022 -0700
Initial Fedora package
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..517582e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/eyre-0.6.8.crate
diff --git a/eyre-fix-metadata.diff b/eyre-fix-metadata.diff
new file mode 100644
index 0000000..f165bac
--- /dev/null
+++ b/eyre-fix-metadata.diff
@@ -0,0 +1,14 @@
+--- eyre-0.6.8/Cargo.toml 1970-01-01T00:00:01+00:00
++++ eyre-0.6.8/Cargo.toml 2022-04-05T02:48:25.755837+00:00
+@@ -80,11 +80,6 @@
+ version = "0.3"
+ default-features = false
+
+-[dev-dependencies.pyo3]
+-version = "0.13"
+-features = ["auto-initialize"]
+-default-features = false
+-
+ [dev-dependencies.rustversion]
+ version = "1.0"
+
diff --git a/rust-eyre.spec b/rust-eyre.spec
new file mode 100644
index 0000000..87a1ef1
--- /dev/null
+++ b/rust-eyre.spec
@@ -0,0 +1,112 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate eyre
+
+Name: rust-%{crate}
+Version: 0.6.8
+Release: %autorelease
+Summary: Flexible concrete Error Reporting type built on std::error::Error with customizable Reports
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/eyre
+Source: %{crates_source}
+# Drop optional pyo3/auto-initialize dependency, not available yet
+Patch0: eyre-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Flexible concrete Error Reporting type built on std::error::Error with
+customizable Reports.}
+
+%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
+
+%package -n %{name}+auto-install-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+auto-install-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "auto-install" feature of the "%{crate}" crate.
+
+%files -n %{name}+auto-install-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+pyo3-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+pyo3-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "pyo3" feature of the "%{crate}" crate.
+
+%files -n %{name}+pyo3-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+track-caller-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+track-caller-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "track-caller" feature of the "%{crate}" crate.
+
+%files -n %{name}+track-caller-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..97bfcb1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (eyre-0.6.8.crate) = 0a54e2ce9d58e80596ab7d55f0f913fe3d9bad6cdc5f56b9aa4683732e2d409e288a579e89b300e35a822f56017524b2ebbc0e60860b9dd6e479080f7cb14324
2 years, 1 month