The package rpms/python-intbitset.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/python-intbitset.git/commit/?id=76f7....
Change: +ExcludeArch: s390x
Thanks.
Full change: ============
commit 76f7812c9bcf9a74a4a0b4ce4cf7f199060ea70d Author: Robert-André Mauchin zebob.m@gmail.com Date: Sat Oct 28 21:21:06 2023 +0200
Initial import
Close: rhbz# https://bugzilla.redhat.com/show_bug.cgi?id=2235067
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..406ce68 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/intbitset-3.0.2.tar.gz diff --git a/python-intbitset.spec b/python-intbitset.spec new file mode 100644 index 0000000..98ed9e2 --- /dev/null +++ b/python-intbitset.spec @@ -0,0 +1,86 @@ +%global pypi_name intbitset + +Name: python-%{pypi_name} +Version: 3.0.2 +Release: %autorelease +Summary: Python C-based extension implementing fast integer bit sets + +License: LGPL-3.0-or-later +URL: https://github.com/inveniosoftware-contrib/intbitset +Source: %url/archive/v%{version}/%{pypi_name}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: python3-devel +BuildRequires: Cython +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(sphinx) + +# https://github.com/inveniosoftware-contrib/intbitset/issues/90 +ExcludeArch: s390x + +%global common_description %{expand: +The intbitset library provides a set implementation to store sorted unsigned +integers either 32-bits integers (between 0 and 2**31 - 1 or +intbitset.__maxelem__) or an infinite range with fast set operations implemented +via bit vectors in a Python C extension for speed and reduced memory usage. + +The inbitset class emulates the Python built-in set class interface with some +additional specific methods such as its own fast dump and load marshalling +functions.} + +%description %{common_description} + +%package -n python3-%{pypi_name} +Summary: %{summary} + +%description -n python3-%{pypi_name} %{common_description} + +%package -n python-%{pypi_name}-doc +Summary: Documentation for python-%{pypi_name} +# BSD-2-Clause: Sphinx javascript +# MIT: jquery +License: LGPL-3.0-or-later AND BSD-2-Clause AND MIT +BuildArch: noarch +Requires: python3-%{pypi_name} = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: bundled(js-sphinx_javascript_frameworks_compat) +Provides: bundled(js-doctools) +Provides: bundled(js-jquery) +Provides: bundled(js-language_data) +Provides: bundled(js-searchtools) + +%description -n python-%{pypi_name}-doc +%{common_description} + +This package is providing the documentation for %{pypi_name}. + +%prep +%autosetup -p1 -n %{pypi_name}-%{version} +rm -rfv src/intbitset.c + +%generate_buildrequires +%pyproject_buildrequires + +%build +cython intbitset/intbitset.pyx +%pyproject_wheel + +# generate html docs +sphinx-build-3 -b html docs/ html +# remove the sphinx-build-3 leftovers +rm -rf html/.{doctrees,buildinfo} + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%check +%pytest + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%pycached %{python3_sitearch}/intbitset_*.py + +%files -n python-%{pypi_name}-doc +%doc html + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..2e4ff8b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (intbitset-3.0.2.tar.gz) = dcabeff98d4cfb5a34b92ed4ca3cec4ef75e3be0737d5d0d3ee6bbadb7aeb26061327f864fae05221f80668195fb48f3bf3c19e9f89b12efb54ee559d8949807
arch-excludes@lists.fedoraproject.org