public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyroaring] rawhide: Style updates according to personal preference
@ 2026-10-08 13:36 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-08 13:36 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-pyroaring
            Branch : rawhide
            Commit : 049538a9b72c0fb940f9edfdf355cec209111e13
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-10-08T13:16:55+01:00
            Stats  : +16/-24 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-pyroaring/c/049538a9b72c0fb940f9edfdf355cec209111e13?branch=rawhide

            Log:
            Style updates according to personal preference

[skip changelog]

---
diff --git a/python-pyroaring.spec b/python-pyroaring.spec
index 242c2cf..a09a581 100644
--- a/python-pyroaring.spec
+++ b/python-pyroaring.spec
@@ -1,45 +1,37 @@
-%global pypi_name pyroaring
-
-Name:           python-%{pypi_name}
+Name:           python-pyroaring
 Version:        1.0.3
-Release:        %{autorelease}
+Release:        %autorelease
 Summary:        Fast and lightweight set for unsigned 32 bits integers
 
-%global forgeurl https://github.com/Ezibenroc/PyRoaringBitMap
-%global tag %{version}
-%forgemeta
-
 # pyroaring/roaring.c and pyroaring/roaring.h are dual licensed
 License:        MIT or Apache-2.0
-URL:            %{forgeurl}
-Source:         %{forgesource}
+URL:            https://github.com/Ezibenroc/PyRoaringBitMap
+Source:         %{url}/archive/%{version}/PyRoaringBitMap-%{version}.tar.gz
 
-BuildRequires:  gcc, gcc-c++
-BuildRequires:  python3-devel
-BuildRequires:  python3-Cython
+BuildRequires:  gcc
+BuildRequires:  gcc-c++
 
-# Leaf package. Stop building for i686.
 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}
 
-%global _description %{expand:
+%global common_description %{expand:
 An efficient and light-weight ordered set of 32 bits integers. This is
 a Python wrapper for the C library CRoaring.}
 
-%description %_description
+%description %{common_description}
 
-%package -n python3-%{pypi_name}
+%package -n python3-pyroaring
 Summary:        %{summary}
 
-%description -n python3-%{pypi_name} %_description
+%description -n python3-pyroaring %{common_description}
 
 
 %prep
-%forgeautosetup -p1
+%autosetup -n PyRoaringBitMap-%{version} -p1
 
 
 %generate_buildrequires
-%pyproject_buildrequires -e cython3
+%pyproject_buildrequires -t -e cython3
 
 
 %build
@@ -48,16 +40,16 @@ Summary:        %{summary}
 
 %install
 %pyproject_install
-%pyproject_save_files %{pypi_name}
+%pyproject_save_files pyroaring
 
 
 %check
-%tox -e %{toxenv}
 %pyproject_check_import
+%tox -e %{toxenv}
 
 
-%files -n python3-%{pypi_name} -f %{pyproject_files}
-%doc README.*
+%files -n python3-pyroaring -f %{pyproject_files}
+%doc README.rst
 
 
 %changelog

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-08 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 13:36 [rpms/python-pyroaring] rawhide: Style updates according to personal preference Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox