public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-libdiscid] rawhide: Update to 2.1 (RHBZ#2139176)
@ 2026-08-18 14:46 Ali Erdinc Koroglu
0 siblings, 0 replies; only message in thread
From: Ali Erdinc Koroglu @ 2026-08-18 14:46 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-libdiscid
Branch : rawhide
Commit : 84d0267274f376ad6ac791a2b6e0eec4c4267d21
Author : Ali Erdinc Koroglu <ali.koroglu@oss.qualcomm.com>
Date : 2026-08-18T17:46:29+03:00
Stats : +24/-16 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-libdiscid/c/84d0267274f376ad6ac791a2b6e0eec4c4267d21?branch=rawhide
Log:
Update to 2.1 (RHBZ#2139176)
---
diff --git a/python-libdiscid.spec b/python-libdiscid.spec
index d9b75cb..eab7615 100644
--- a/python-libdiscid.spec
+++ b/python-libdiscid.spec
@@ -1,6 +1,6 @@
Name: python-libdiscid
-Version: 2.0.2
-Release: 16%{?dist}
+Version: 2.1
+Release: 1%{?dist}
Summary: Python bindings for libdiscid
License: MIT
@@ -9,25 +9,22 @@ Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: libdiscid-devel
-BuildRequires: python%{python3_pkgversion}-devel
-BuildRequires: python%{python3_pkgversion}-sphinx
+BuildRequires: python3-devel
+BuildRequires: python3dist(sphinx)
%description
python-libdiscid provides Python bindings for libdiscid. libdiscid's
main purpose is the calculation of identifiers for audio discs to use
for the MusicBrainz database.
-%package -n python%{python3_pkgversion}-libdiscid
-Summary: Python 3 bindings for libdiscid
-%{?python_provide:%python_provide python%{python3_pkgversion}-libdiscid}
+%package -n python3-libdiscid
+Summary: Python bindings for libdiscid
-%description -n python%{python3_pkgversion}-libdiscid
-python%{python3_pkgversion}-libdiscid provides Python 3 bindings for libdiscid. libdiscid's
+%description -n python3-libdiscid
+python-libdiscid provides Python bindings for libdiscid. libdiscid's
main purpose is the calculation of identifiers for audio discs to use
for the MusicBrainz database.
-%generate_buildrequires
-%pyproject_buildrequires
%prep
%autosetup
@@ -35,28 +32,39 @@ for the MusicBrainz database.
sed -i 's/("http:\/\/musicbrainz.org\/doc\/%s", "")/("http:\/\/musicbrainz.org\/doc\/%s", "%s")/g' docs/conf.py
+%generate_buildrequires
+%pyproject_buildrequires
+
+
%build
%pyproject_wheel
-PYTHONPATH="%{pyproject_build_lib}" sphinx-build-3 docs/ html
-rm -rf html/.{doctrees,buildinfo}
%install
%pyproject_install
%pyproject_save_files libdiscid
+# build the docs
+PYTHONPATH=%{buildroot}%{python3_sitearch} sphinx-build-3 docs html
+# remove the sphinx-build leftovers
+rm -rf html/.{doctrees,buildinfo}
+
+
%check
pushd libdiscid
-PYTHONPATH=%{buildroot}%{python3_sitearch}/ %{python3} -m unittest discover -v
+PYTHONPATH=%{buildroot}%{python3_sitearch} %{python3} -m unittest discover -v
popd
-%files -n python%{python3_pkgversion}-libdiscid -f %{pyproject_files}
+%files -n python3-libdiscid -f %{pyproject_files}
%doc CHANGELOG.md README.md
%exclude %{python3_sitearch}/*libdiscid*/tests/
%changelog
+* Tue Aug 18 2026 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 2.1-1
+- Update to 2.1 (RHBZ#2139176)
+
* Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 2.0.2-16
- Rebuilt for Python 3.15.0b4 ABI change
diff --git a/sources b/sources
index d65a99b..605e88c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-libdiscid-2.0.2.tar.gz) = 639b6fd61da3a5cd7f1cb52ec378be59c602f456d99909c5f0a6587a66beca2bd2f36639c6c0473f2ec27390cc2c8413c0cd48ad64f05882f7a5e6952712ae8d
+SHA512 (python-libdiscid-2.1.tar.gz) = edd4b8617682de1bc589234ef80e98ac8f34b7c5fd681ef490ea002477a24029f38a5185353dab97fa99262a700c7e665332984232cac76866c4fbbc693e77e4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-18 14:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18 14:46 [rpms/python-libdiscid] rawhide: Update to 2.1 (RHBZ#2139176) Ali Erdinc Koroglu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox