Hello community, here is the log from the commit of package python-blist for openSUSE:Factory checked in at 2017-05-08 19:02:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-blist (Old) and /work/SRC/openSUSE:Factory/.python-blist.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-blist" Mon May 8 19:02:33 2017 rev:4 rq:491685 version:1.3.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-blist/python-blist.changes 2014-09-22 09:23:16.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-blist.new/python-blist.changes 2017-05-08 19:02:54.812996034 +0200 @@ -1,0 +2,6 @@ +Wed Apr 26 03:31:21 UTC 2017 - toddrme2...@gmail.com + +- Fix source URL. +- Implement single-spec version. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-blist.spec ++++++ --- /var/tmp/diff_new_pack.M8YBwV/_old 2017-05-08 19:02:55.444906766 +0200 +++ /var/tmp/diff_new_pack.M8YBwV/_new 2017-05-08 19:02:55.448906201 +0200 @@ -16,6 +16,9 @@ # +%bcond_without tests + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-blist Version: 1.3.6 Release: 0 @@ -23,13 +26,13 @@ License: BSD-3-Clause Group: Development/Languages/Python Url: http://stutzbachenterprises.com/blist/ -Source: http://pypi.python.org/packages/source/b/blist/blist-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools +Source: https://files.pythonhosted.org/packages/source/b/blist/blist-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%endif +%python_subpackages %description The blist is a drop-in replacement for the Python list the provides @@ -41,15 +44,19 @@ %setup -q -n blist-%{version} %build -CFLAGS="%{optflags}" python setup.py build +export CFLAGS="%{optflags}" +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} +%if %{with tests} %check -python setup.py test +%python_exec setup.py test +%endif -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE README.rst %{python_sitearch}/blist-%{version}-py*.egg-info