packages: hpacucli/hpacucli.spec - fix man path
glen
glen at pld-linux.org
Fri Nov 19 16:19:59 CET 2010
Author: glen Date: Fri Nov 19 15:19:59 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- fix man path
---- Files affected:
packages/hpacucli:
hpacucli.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: packages/hpacucli/hpacucli.spec
diff -u packages/hpacucli/hpacucli.spec:1.8 packages/hpacucli/hpacucli.spec:1.9
--- packages/hpacucli/hpacucli.spec:1.8 Fri Nov 19 16:15:25 2010
+++ packages/hpacucli/hpacucli.spec Fri Nov 19 16:19:54 2010
@@ -31,14 +31,21 @@
rpm2cpio %{SOURCE0} | cpio -dimu
mv usr/man .
+gzip -d man/*/*.gz
mv opt/compaq/hpacucli/bld/hpacucli-*.noarch.txt hpacucli.txt
mv opt/compaq/hpacucli/bld/hpacucli.license .
+# fix paths
%{__sed} -i -e '
/APP_LOCK_DIR/ s#/var/opt/compaq/locks#%{locksdir}#
' opt/compaq/hpacucli/bld/mklocks.sh
+# fix man paths
+%{__sed} -i -e '
+ s#/opt/compaq/hpacucli/bld/hpacucli-VERSION.linux.txt#%{_docdir}/%{name}-%{version}/hpacucli.txt#
+' man/man8/*
+
# figure out what locks are used
grep touch opt/compaq/hpacucli/bld/mklocks.sh | sort -u > mklocks.sh
@@ -88,6 +95,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2010/11/19 15:19:54 glen
+- fix man path
+
Revision 1.8 2010/11/19 15:15:25 glen
- up to 8.60-8.0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/hpacucli/hpacucli.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list