packages: web2ldap/web2ldap.spec - up to 1.1.0a29 - use __rm macro - uce cp -a
lisu
lisu at pld-linux.org
Wed Mar 23 14:54:25 CET 2011
Author: lisu Date: Wed Mar 23 13:54:25 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 1.1.0a29
- use __rm macro
- uce cp -a
---- Files affected:
packages/web2ldap:
web2ldap.spec (1.39 -> 1.40)
---- Diffs:
================================================================
Index: packages/web2ldap/web2ldap.spec
diff -u packages/web2ldap/web2ldap.spec:1.39 packages/web2ldap/web2ldap.spec:1.40
--- packages/web2ldap/web2ldap.spec:1.39 Fri Dec 10 12:32:55 2010
+++ packages/web2ldap/web2ldap.spec Wed Mar 23 14:54:20 2011
@@ -2,12 +2,12 @@
Summary: WWW gateway to LDAP server
Summary(pl.UTF-8): Bramka WWW do serwera LDAP
Name: web2ldap
-Version: 1.1.0a27
+Version: 1.1.0a29
Release: 1
License: distributable (mostly GPL)
Group: Applications
Source0: http://www.web2ldap.de/download/%{name}-%{version}.tar.gz
-# Source0-md5: e72e2e4c1b3cd272612707ebcdd4b3f1
+# Source0-md5: c7abb40d5e679c47bbebe5c45c265fe9
Patch0: %{name}-config.patch
URL: http://www.web2ldap.de/
BuildRequires: python-modules
@@ -55,12 +55,12 @@
install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_datadir}/%{name}/htdocs} \
$RPM_BUILD_ROOT/var{/run,/lib,/log}/%{name}
-cp -R etc/web2ldap $RPM_BUILD_ROOT%{_sysconfdir}
-cp -R fcgi pylib scgi sbin $RPM_BUILD_ROOT%{_datadir}/%{name}
-cp -R htdocs/css $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs
+cp -a etc/web2ldap $RPM_BUILD_ROOT%{_sysconfdir}
+cp -a fcgi pylib scgi sbin $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -a htdocs/css $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs
find $RPM_BUILD_ROOT%{_datadir}/%{name}/pylib -name "*.py" | xargs rm
-rm $RPM_BUILD_ROOT%{_datadir}/%{name}/sbin/compile*
-rm $RPM_BUILD_ROOT%{_datadir}/%{name}/sbin/*.py
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/sbin/compile*
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/sbin/*.py
echo '#!/bin/sh' > $RPM_BUILD_ROOT%{_sbindir}/%{name}
echo 'exec python %{_datadir}/%{name}/sbin/%{name}.pyc $*' \
>> $RPM_BUILD_ROOT%{_sbindir}/%{name}
@@ -95,6 +95,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.40 2011/03/23 13:54:20 lisu
+- up to 1.1.0a29
+- use __rm macro
+- uce cp -a
+
Revision 1.39 2010/12/10 11:32:55 lisu
- 1.1.0a27
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/web2ldap/web2ldap.spec?r1=1.39&r2=1.40&f=u
More information about the pld-cvs-commit
mailing list