diff --git a/python-ldap.spec b/python-ldap.spec index 18a4559..71e3444 100644 --- a/python-ldap.spec +++ b/python-ldap.spec @@ -1,13 +1,14 @@ Name: python-ldap -Version: 2.3.6 -Release: 2mamba +Version: 3.2.0 +Release: 1mamba Summary: An object-oriented API to access LDAP directory servers from Python programs Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://python-ldap.sourceforge.net/ -Source: http://downloads.sourceforge.net/sourceforge/python-ldap/python-ldap-%{version}.tar.gz +Source: https://github.com/python-ldap/python-ldap.git/python-ldap-%{version}/python-ldap-%{version}.tar.bz2 +#Source: http://downloads.sourceforge.net/sourceforge/python-ldap/python-ldap-%{version}.tar.gz Patch0: %{name}-2.3.5-setupcfg.patch Patch1: %{name}-2.2.0-sasl.patch License: GPL @@ -27,7 +28,7 @@ Additionally the package contains modules for other LDAP-related stuff (e.g. pro %prep %setup -q #%patch0 -p1 -%patch1 -p1 +#%patch1 -p1 %build export CFLAGS="%{optflags}" @@ -38,24 +39,22 @@ export CFLAGS="%{optflags}" %{__python} setup.py install \ --root=%{buildroot} \ --install-headers=%{_includedir}/python \ - --install-lib=%{python_sitearch} + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} -%files +%files -f %{name}.filelist %defattr(-,root,root) -%{python_sitearch}/*.so -%{python_sitearch}/*.py* -%{python_sitearch}/python_ldap-%{version}-*-info/* -%dir %{python_sitearch}/ldap -%{python_sitearch}/ldap/*.py* -%dir %{python_sitearch}/ldap/schema -%{python_sitearch}/ldap/schema/*.py* -%doc CHANGES LICENCE README TODO -%doc Demo +%doc LICENCE %changelog +* Sun Aug 18 2019 Silvan Calarco 3.2.0-1mamba +- update to 3.2.0 + * Fri May 17 2013 Silvan Calarco 2.3.6-2mamba - python 2.7 mass rebuild