[packages/python-django-auth-ldap: 2/3] skip manual deps listing; autogenerated egg deps in rpm
glen
glen at pld-linux.org
Mon Nov 7 21:19:00 CET 2016
commit 737752ae5e3c506ba3996fbb7ba57801906702f7
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Nov 7 22:18:18 2016 +0200
skip manual deps listing; autogenerated egg deps in rpm
python-django-auth-ldap.spec | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/python-django-auth-ldap.spec b/python-django-auth-ldap.spec
index 4cbb878..eb8a27f 100644
--- a/python-django-auth-ldap.spec
+++ b/python-django-auth-ldap.spec
@@ -20,7 +20,7 @@ URL: http://bitbucket.org/psagers/django-auth-ldap/
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%if %{with python2}
-BuildRequires: python-devel
+BuildRequires: python-modules
BuildRequires: python-setuptools
BuildRequires: sphinx-pdg
%endif
@@ -29,15 +29,13 @@ BuildRequires: python-mockldap >= 0.2.7
BuildRequires: python-setuptools >= 0.6c11
%endif
%if %{with python3}
-BuildRequires: python3-devel
+BuildRequires: python3-modules
BuildRequires: python3-setuptools
-%endif
%if %{with tests}
BuildRequires: python3-mockldap >= 0.2.7
BuildRequires: python3-setuptools >= 0.6c11
%endif
-Requires: python-django
-Requires: python-ldap >= 2.0
+%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -48,8 +46,6 @@ LDAP service.
%package -n python3-%{pypi_name}
Summary: Django LDAP authentication backend
Group: Libraries/Python
-Requires: python3-django
-Requires: python3-ldap >= 2.0
%description -n python3-%{pypi_name}
This is a Django authentication backend that authenticates against an
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-django-auth-ldap.git/commitdiff/4145844d546ae472758c6e06756ec9ff6231e56d
More information about the pld-cvs-commit
mailing list