SPECS: hpacucli.spec - executable permissions

glen glen at pld-linux.org
Wed Dec 12 17:57:23 CET 2007


Author: glen                         Date: Wed Dec 12 16:57:23 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- executable permissions

---- Files affected:
SPECS:
   hpacucli.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/hpacucli.spec
diff -u SPECS/hpacucli.spec:1.1 SPECS/hpacucli.spec:1.2
--- SPECS/hpacucli.spec:1.1	Wed Dec 12 17:55:00 2007
+++ SPECS/hpacucli.spec	Wed Dec 12 17:57:17 2007
@@ -23,12 +23,12 @@
 
 mv opt/compaq/hpacucli/bld/hpacucli-*.linux.txt hpacucli-linux.txt
 mv opt/compaq/hpacucli/bld/hpacucli.license .
-rm -f opt/compaq/hpacucli/bld/hpacucli # same as one in sbin
+rm -f opt/compaq/hpacucli/bld/hpacucli # same as one in sbin, however we write better one
 
 cat <<'EOF' > hpacucli
 #!/bin/sh
 export ACUXE_LOCK_FILES_DIR=/var/run/hpacucli
-if [ $(uname -m) == "ia64" ]; then
+if [ $(uname -m) = "ia64" ]; then
 	exec prctl --unaligned=silent %{_libdir}/hpacucli ${1:+"$@"}
 else
 	exec %{_libdir}/hpacucli ${1:+"$@"}
@@ -53,10 +53,10 @@
 %defattr(644,root,root,755)
 %doc hpacucli-linux.txt hpacucli.license
 %attr(755,root,root) %{_sbindir}/hpacucli
-%{_libdir}/hpacucli
-%{_libdir}/libcpqimgr.so
-%{_libdir}/libhwmim3.so
-%{_libdir}/libossingleton.so
+%attr(755,root,root) %{_libdir}/hpacucli
+%attr(755,root,root) %{_libdir}/libcpqimgr.so
+%attr(755,root,root) %{_libdir}/libhwmim3.so
+%attr(755,root,root) %{_libdir}/libossingleton.so
 %dir %attr(700,root,root) /var/run/hpacucli
 %ghost %attr(600,root,root) /var/run/hpacucli/CPQACU_MUTEX
 
@@ -66,6 +66,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007-12-12 16:57:17  glen
+- executable permissions
+
 Revision 1.1  2007-12-12 16:55:00  glen
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/hpacucli.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list