Hello community, here is the log from the commit of package python-django-auth-ldap for openSUSE:Factory checked in at 2018-07-06 10:44:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-auth-ldap (Old) and /work/SRC/openSUSE:Factory/.python-django-auth-ldap.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-auth-ldap" Fri Jul 6 10:44:49 2018 rev:9 rq:620967 version:1.2.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-auth-ldap/python-django-auth-ldap.changes 2015-04-25 11:25:37.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-django-auth-ldap.new/python-django-auth-ldap.changes 2018-07-06 10:44:49.551052607 +0200 @@ -1,0 +2,5 @@ +Tue Jan 23 10:47:15 UTC 2018 - mimi...@gmail.com + +- convert to singlespec + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-auth-ldap.spec ++++++ --- /var/tmp/diff_new_pack.Kau4hz/_old 2018-07-06 10:44:49.931052154 +0200 +++ /var/tmp/diff_new_pack.Kau4hz/_new 2018-07-06 10:44:49.935052150 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-django-auth-ldap # -# Copyright (c) 2015 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 @@ -16,9 +16,7 @@ # -%{!?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_module:%define python_module() python-%{**} python3-%{**}} Name: python-django-auth-ldap Version: 1.2.6 Release: 0 @@ -28,16 +26,14 @@ Group: Development/Languages/Python Source: https://pypi.python.org/packages/source/d/django-auth-ldap/django-auth-ldap-%{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 Requires: python-django Requires: python-ldap -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 BuildArch: noarch -%endif -%endif + +%python_subpackages %description This is a Django authentication backend that authenticates against an LDAP service. @@ -48,12 +44,12 @@ %setup -q -n django-auth-ldap-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files +%files %{python_files} %defattr(-,root,root,-) %doc CHANGES LICENSE README %{python_sitelib}/*