diff --git a/pytaglib-1.4.1.tar.gz b/pytaglib-1.4.1.tar.gz deleted file mode 100644 index 3282bd7..0000000 --- a/pytaglib-1.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c374ab6a236db4711f10e3afb40e68982918aa8ee8eee165dbeab7ed49589b50 -size 108574 diff --git a/pytaglib-1.4.3.tar.gz b/pytaglib-1.4.3.tar.gz new file mode 100644 index 0000000..5086e87 --- /dev/null +++ b/pytaglib-1.4.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f694989a562b2016630fef5576dae3f045b540f6bd50572df95283087f4976b +size 110052 diff --git a/python-pytaglib.changes b/python-pytaglib.changes index d7a3a3e..de3cba7 100644 --- a/python-pytaglib.changes +++ b/python-pytaglib.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Aug 8 23:17:52 UTC 2018 - jsikes@suse.de + +- Update to 1.4.3 + * Fix accidental upload of the Windows version to PyPI. Hopefully fixes #42, #43. + * Fix #31: Don't use precompiled taglib.cpp on Windows + ------------------------------------------------------------------- Fri May 26 12:11:03 UTC 2017 - jengelh@inai.de diff --git a/python-pytaglib.spec b/python-pytaglib.spec index 8abec1a..cdf044e 100644 --- a/python-pytaglib.spec +++ b/python-pytaglib.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytaglib # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytaglib -Version: 1.4.1 +Version: 1.4.3 Release: 0 Summary: Metadata "tagging" library based on TagLib -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Development/Libraries/Python -Url: https://github.com/supermihi/pytaglib +URL: https://github.com/supermihi/pytaglib Source: https://files.pythonhosted.org/packages/source/p/pytaglib/pytaglib-%{version}.tar.gz +BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libtag-devel BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build + %python_subpackages %description @@ -40,10 +41,12 @@ It relies on the TagLib C++ library. %prep %setup -q -n "pytaglib-%{version}" +# Remove pre-generated source +rm -vf src/taglib.cpp sed -i -e "1d" src/pyprinttags.py %build -%python_build +%python_build "--cython" %install %python_install @@ -55,8 +58,8 @@ export LANG=en_US.UTF-8 %python_exec setup.py test %files %{python_files} -%defattr(-,root,root) -%doc COPYING README.txt +%license COPYING +%doc README.txt %python3_only %{_bindir}/pyprinttags %pycache_only %{python_sitearch}/__pycache__ %{python_sitearch}/pyprinttags.py*