packages: openldap-module-sha2/openldap-module-sha2.spec - use install -p i...
pawelz
pawelz at pld-linux.org
Fri Nov 20 19:22:13 CET 2009
Author: pawelz Date: Fri Nov 20 18:22:13 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- use install -p instead of cp for executable files and shared objects
- %attr(755
- thx glen
---- Files affected:
packages/openldap-module-sha2:
openldap-module-sha2.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/openldap-module-sha2/openldap-module-sha2.spec
diff -u packages/openldap-module-sha2/openldap-module-sha2.spec:1.2 packages/openldap-module-sha2/openldap-module-sha2.spec:1.3
--- packages/openldap-module-sha2/openldap-module-sha2.spec:1.2 Fri Nov 20 18:54:28 2009
+++ packages/openldap-module-sha2/openldap-module-sha2.spec Fri Nov 20 19:22:07 2009
@@ -31,8 +31,8 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_libdir}/openldap,%{_bindir}}
-cp slapd-sha2.so $RPM_BUILD_ROOT%{_libdir}/openldap/slapd-sha2.so
-cp standalone/sha2print $RPM_BUILD_ROOT%{_bindir}
+install -p slapd-sha2.so $RPM_BUILD_ROOT%{_libdir}/openldap/slapd-sha2.so
+install -p standalone/sha2print $RPM_BUILD_ROOT%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -40,8 +40,8 @@
%files
%defattr(644,root,root,755)
%doc README
-%{_libdir}/openldap/slapd-sha2.so
-%{_bindir}/sha2print
+%attr(755,root,root) %{_libdir}/openldap/slapd-sha2.so
+%attr(755,root,root) %{_bindir}/sha2print
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -49,6 +49,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2009/11/20 18:22:07 pawelz
+- use install -p instead of cp for executable files and shared objects
+- %attr(755
+- thx glen
+
Revision 1.2 2009/11/20 17:54:28 pawelz
- build and install sha2print utility
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openldap-module-sha2/openldap-module-sha2.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list