15
0
forked from pool/python-ldap

Accepting request 358760 from home:stroeder:branches:devel:languages:python

removed obsolete stuff

OBS-URL: https://build.opensuse.org/request/show/358760
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=62
This commit is contained in:
Michael Ströder
2016-02-10 17:20:20 +00:00
committed by Git OBS Bridge
parent 0feb4859fd
commit 21f2aff79d
2 changed files with 14 additions and 6 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Feb 10 15:23:31 UTC 2016 - michael@stroeder.com
- Aligned desciption with project's web site
- Removed obsolete stuff:
* build flag -DLDAP_DEPRECATED
* outdated URL in package description
* removing of CVS files
-------------------------------------------------------------------
Mon Jan 18 15:20:02 UTC 2016 - michael@stroeder.com

View File

@@ -39,18 +39,17 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%endif
%description
python-ldap provides an LDAP client API for Python in the spirit of
RFC1823. It includes a Python module called _ldapmodule that wraps an
LDAP C library, an object-oriented API for X.500 directories. See
python-ldap pages on http://python-ldap.sourceforge.net/
python-ldap provides an object-oriented API to access LDAP directory
servers from Python programs. Mainly it wraps the OpenLDAP 2.x libs
for that purpose. Additionally the package contains modules for other
LDAP-related stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 schema, etc.).
%prep
%setup -q
cp Build/setup.cfg.suse-linux setup.cfg
find -name ".CVS" -o -name ".cvsignore" -exec rm -rf {} ";"
%build
CFLAGS="%{optflags} -DLDAP_DEPRECATED" python setup.py build
CFLAGS="%{optflags}" python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}