From b2169971f7745eeedc65c93db7d507658bdd81090df862a26b31b06193188a17 Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 9 Jun 2017 20:10:41 +0000 Subject: [PATCH 1/5] Accepting request 501737 from home:DocB:branches:devel:languages:python singlespec version OBS-URL: https://build.opensuse.org/request/show/501737 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cracklib?expand=0&rev=4 --- python-cracklib.changes | 5 +++++ python-cracklib.spec | 17 +++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/python-cracklib.changes b/python-cracklib.changes index 0828ff0..5c54126 100644 --- a/python-cracklib.changes +++ b/python-cracklib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 7 13:18:50 UTC 2017 - axel.braun@gmx.de + +- changes for singelspec + ------------------------------------------------------------------- Tue Feb 2 20:44:55 UTC 2016 - mailaender@opensuse.org diff --git a/python-cracklib.spec b/python-cracklib.spec index 554d016..d4085f0 100644 --- a/python-cracklib.spec +++ b/python-cracklib.spec @@ -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 @@ -24,12 +25,12 @@ License: GPL-2.0+ Group: Development/Languages/Python Source: http://pypi.python.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_subpackages + %{!?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)")} @@ -42,12 +43,12 @@ convenience functions. %setup -q -n cracklib-%{version} %build -CFLAGS="%{optflags}" python setup.py build +CFLAGS="%{optflags}" %python_build %install -%{__python} setup.py install --skip-build --prefix=%{_prefix} --root=%{buildroot} +%python_install --skip-build --prefix=%{_prefix} --root=%{buildroot} -%files +%files %{python_files} %defattr(-,root,root,-) %{python_sitearch}/* From e6181fdccff93143e8007c6d399f583c331c2d769b889f27939203452b38182d Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 9 Jun 2017 20:11:20 +0000 Subject: [PATCH 2/5] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cracklib?expand=0&rev=5 --- python-cracklib.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/python-cracklib.spec b/python-cracklib.spec index d4085f0..24dac6f 100644 --- a/python-cracklib.spec +++ b/python-cracklib.spec @@ -31,9 +31,6 @@ BuildRequires: python-rpm-macros BuildRequires: cracklib-devel %python_subpackages -%{!?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)")} - %description This CPython extension provides Python bindings for cracklib. It contains a pythonic interface to cracklib's functions and some Python @@ -43,10 +40,11 @@ convenience functions. %setup -q -n cracklib-%{version} %build -CFLAGS="%{optflags}" %python_build +export CFLAGS="%{optflags}" +%python_build %install -%python_install --skip-build --prefix=%{_prefix} --root=%{buildroot} +%python_install %files %{python_files} %defattr(-,root,root,-) From e67ac89ad0ecc4db6eb40cf0139af5c595ed66e4dcf5b62834788a36c3a75861 Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 9 Jun 2017 20:11:24 +0000 Subject: [PATCH 3/5] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cracklib?expand=0&rev=6 --- python-cracklib.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-cracklib.spec b/python-cracklib.spec index 24dac6f..4368441 100644 --- a/python-cracklib.spec +++ b/python-cracklib.spec @@ -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 From aa667a0e8e79619517f6588d8ec1f8cfc51e60c1caafb1a9262b9795e47e4afe Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 9 Jun 2017 20:11:47 +0000 Subject: [PATCH 4/5] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cracklib?expand=0&rev=7 --- python-cracklib.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-cracklib.spec b/python-cracklib.spec index 4368441..249ed51 100644 --- a/python-cracklib.spec +++ b/python-cracklib.spec @@ -23,7 +23,7 @@ Url: http://cracklib.sourceforge.net/ 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: http://files.pythonhosted.org/packages/source/c/cracklib/cracklib-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} From c3a45c84999ba219e1e1f4d25a72aaf074b37bb4e75d5d91d785a9d85a690a19 Mon Sep 17 00:00:00 2001 From: Tomas Cech Date: Mon, 19 Jun 2017 05:01:42 +0000 Subject: [PATCH 5/5] Accepting request 502761 from home:DocB:branches:devel:languages:python update of source URL to https OBS-URL: https://build.opensuse.org/request/show/502761 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cracklib?expand=0&rev=8 --- python-cracklib.changes | 5 +++++ python-cracklib.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-cracklib.changes b/python-cracklib.changes index 5c54126..483bf9c 100644 --- a/python-cracklib.changes +++ b/python-cracklib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jun 10 08:27:24 UTC 2017 - axel.braun@gmx.de + +- Source service now uses https + ------------------------------------------------------------------- Wed Jun 7 13:18:50 UTC 2017 - axel.braun@gmx.de diff --git a/python-cracklib.spec b/python-cracklib.spec index 249ed51..67b9d82 100644 --- a/python-cracklib.spec +++ b/python-cracklib.spec @@ -23,7 +23,7 @@ Url: http://cracklib.sourceforge.net/ Summary: A CPython extension module wrapping the libcrack library License: GPL-2.0+ Group: Development/Languages/Python -Source: http://files.pythonhosted.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_module devel} BuildRequires: %{python_module setuptools}