Hello community, here is the log from the commit of package python-cracklib for openSUSE:Factory checked in at 2017-06-20 09:40:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cracklib (Old) and /work/SRC/openSUSE:Factory/.python-cracklib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cracklib" Tue Jun 20 09:40:24 2017 rev:2 rq:504546 version:2.9.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cracklib/python-cracklib.changes 2016-02-09 13:32:35.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-cracklib.new/python-cracklib.changes 2017-06-20 09:40:31.842923017 +0200 @@ -1,0 +2,10 @@ +Sat Jun 10 08:27:24 UTC 2017 - axel.br...@gmx.de + +- Source service now uses https + +------------------------------------------------------------------- +Wed Jun 7 13:18:50 UTC 2017 - axel.br...@gmx.de + +- changes for singelspec + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cracklib.spec ++++++ --- /var/tmp/diff_new_pack.2cTbpg/_old 2017-06-20 09:40:32.478833358 +0200 +++ /var/tmp/diff_new_pack.2cTbpg/_new 2017-06-20 09:40:32.478833358 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-cracklib # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cracklib Version: 2.9.3 Release: 0 @@ -22,16 +23,13 @@ Summary: A CPython extension module wrapping the libcrack library License: GPL-2.0+ Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/c/cracklib/cracklib-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/c/cracklib/cracklib-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros BuildRequires: cracklib-devel -%if 0%{?suse_version} -%py_requires -%endif -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%python_subpackages %description This CPython extension provides Python bindings for cracklib. It @@ -42,12 +40,13 @@ %setup -q -n cracklib-%{version} %build -CFLAGS="%{optflags}" python setup.py build +export CFLAGS="%{optflags}" +%python_build %install -%{__python} setup.py install --skip-build --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files +%files %{python_files} %defattr(-,root,root,-) %{python_sitearch}/*