Hello community, here is the log from the commit of package python-tagpy for openSUSE:Factory checked in at 2017-06-08 15:03:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tagpy (Old) and /work/SRC/openSUSE:Factory/.python-tagpy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tagpy" Thu Jun 8 15:03:22 2017 rev:9 rq:501670 version:2013.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tagpy/python-tagpy.changes 2017-02-05 16:25:37.455360260 +0100 +++ /work/SRC/openSUSE:Factory/.python-tagpy.new/python-tagpy.changes 2017-06-08 15:03:24.419603472 +0200 @@ -1,0 +2,6 @@ +Sat May 20 17:49:17 UTC 2017 - [email protected] + +- Converted to single-spec +- Spec cleanup + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tagpy.spec ++++++ --- /var/tmp/diff_new_pack.TCU37c/_old 2017-06-08 15:03:24.995522193 +0200 +++ /var/tmp/diff_new_pack.TCU37c/_new 2017-06-08 15:03:25.003521064 +0200 @@ -17,18 +17,20 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-tagpy Version: 2013.1 Release: 0 Summary: Python Bindings for TagLib License: MIT Group: Development/Libraries/Python -Source: http://pypi.python.org/packages/source/t/tagpy/tagpy-%{version}.tar.gz +Url: https://mathema.tician.de/software/tagpy +Source: https://files.pythonhosted.org/packages/source/t/tagpy/tagpy-%{version}.tar.gz Patch1: python-tagpy-no_sleep.patch Patch2: python-tagpy-remove_ccopt.patch Patch3: tagpy-no-distribute-dep.patch -Url: http://mathema.tician.de/software/tagpy -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: autoconf BuildRequires: automake %if 0%{?suse_version} > 1325 @@ -36,18 +38,17 @@ %else BuildRequires: boost-devel %endif +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: glibc-devel BuildRequires: libtag-devel BuildRequires: libtool BuildRequires: make BuildRequires: pkgconfig -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros BuildRequires: update-desktop-files -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%python_subpackages %description TagPy is a set of Python bindings for Scott Wheeler's TagLib. It builds upon @@ -70,21 +71,23 @@ %patch3 -p1 %build -python configure.py \ - --python-exe="%__python" \ +%{python_expand $python configure.py \ + --python-exe="$python" \ --prefix="%{_prefix}" \ --taglib-inc-dir="%{_includedir}/taglib" \ --boost-python-libname="boost_python" -python setup.py build +} +%python_build %install -python setup.py install --prefix="%{_prefix}" --root="%{buildroot}" +%python_install +%python_expand %fdupes -s %{buildroot}%{$python_sitearch} -%files +%files %{python_files} %defattr(-,root,root) %doc LICENSE -%{python_sitearch}/_tagpy.so +%{python_sitearch}/_tagpy*.so %{python_sitearch}/tagpy/ -%{python_sitearch}/tagpy-%{version}-py%{py_ver}.egg-info/ +%{python_sitearch}/tagpy-%{version}-py%{python_version}.egg-info/ %changelog
