[packages/python-ldaptor] - use __rm macro - files cleanup - rel 1
baggins
baggins at pld-linux.org
Wed Jan 8 20:50:28 CET 2014
commit 4137079110f5c72a23ae2ba858ed356890530a32
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Jan 8 20:50:05 2014 +0100
- use __rm macro
- files cleanup
- rel 1
python-ldaptor.spec | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/python-ldaptor.spec b/python-ldaptor.spec
index bbe3b43..c8fd044 100644
--- a/python-ldaptor.spec
+++ b/python-ldaptor.spec
@@ -6,7 +6,7 @@
Summary: Python LDAP client library
Name: python-ldaptor
Version: 0.0.44
-Release: 0.git%{githash}.0.1
+Release: 0.git%{githash}.1
License: LGPLv2
Group: Libraries/Python
Source0: https://codeload.github.com/antong/ldaptor/tar.gz/%{githash}?/python-ldaptor-%{version}.%{githash}.tar.gz
@@ -71,11 +71,6 @@ library.
%prep
%setup -q -n ldaptor-%{githash}
-# remove deprecated web interface
-rm -rf ldaptor/apps
-rm -rf ldaptor/weave.*
-rm -rf ldaptor/test/web/
-rm -f ldaptor/test/test_webui.*
%patch0 -p1
%patch1 -p1
%patch2 -p1
@@ -85,6 +80,9 @@ rm -f ldaptor/test/test_webui.*
%patch6 -p1
%patch7 -p1
+# remove deprecated web interface
+%{__rm} -r ldaptor/{apps,weave.*,test/{web,test_webui.*}}
+
%{__sed} -i -e 's|/usr/share/xml|/usr/share/sgml|g' doc/Makefile doc/slides-driver.xsl
%build
@@ -121,10 +119,10 @@ rm -rf $RPM_BUILD_ROOT
%if %{with doc}
%files doc
%defattr(644,root,root,755)
-%doc doc/addressbook-slides/
-%doc doc/api/
-%doc doc/examples/
-%doc doc/ldap-intro/
+%doc doc/addressbook-slides
+%doc doc/api
+%doc doc/examples
+%doc doc/ldap-intro
%endif
%files tools
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ldaptor.git/commitdiff/4137079110f5c72a23ae2ba858ed356890530a32
More information about the pld-cvs-commit
mailing list