diff --git a/python-libdiscid.spec b/python-libdiscid.spec index e4555cd..cc90f6d 100644 --- a/python-libdiscid.spec +++ b/python-libdiscid.spec @@ -1,12 +1,13 @@ +%global pypi_name python-libdiscid + Name: python-libdiscid -Version: 0.4.1 -Release: 30%{?dist} +Version: 2.0.1 +Release: 1%{?dist} Summary: Python bindings for libdiscid License: MIT -URL: http://pythonhosted.org/python-libdiscid/ -Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz -Patch0: https://github.com/sebastinas/python-libdiscid/commit/91955e9.patch +URL: https://github.com/sebastinas/python-libdiscid +Source0: %{pypi_source} BuildRequires: gcc BuildRequires: libdiscid-devel @@ -20,7 +21,7 @@ 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 +%package -n python%{python3_pkgversion}-libdiscid Summary: Python 3 bindings for libdiscid %{?python_provide:%python_provide python%{python3_pkgversion}-libdiscid} @@ -31,11 +32,9 @@ for the MusicBrainz database. %prep -%autosetup -p1 -rm libdiscid/_discid.c # rebuilt with system Cython - +%autosetup # Fix sys.path for docs build -sed -i "s|os.path.join('../', b.build_lib)|'../build/lib.%{python3_platform}-%{python3_version}'|" docs/conf.py +sed -i 's/..\/", b.build_lib/..\/build\/lib.%{python3_platform}-%{python3_version}"/' docs/conf.py %build @@ -60,6 +59,9 @@ rm build/html/.buildinfo %changelog +* Sun Jun 19 2022 Ali Erdinc Koroglu - 2.0.1-1 +- Update to 2.0.1 (rhbz #1705476, #1771169 and #2097105) + * Mon Jun 13 2022 Python Maint - 0.4.1-30 - Rebuilt for Python 3.11 diff --git a/sources b/sources index 30f7d07..2de7636 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5d292eb0a78209543d8d4bba4953d99e python-libdiscid-0.4.1.tar.gz +SHA512 (python-libdiscid-2.0.1.tar.gz) = ebf639e6d5d9bbfc2fa07c3be372381d305170719fa2e4f39aafda789e389337b7abdeb4d8982c30f94f7add6eaa855829a2f8e7ecd7be1f17316f5c7e2acdf6