source: branches/fc15-dev/server/fedora/specs/openafs-include-xstat.spec.patch

Last change on this file was 2030, checked in by achernya, 13 years ago
Update openafs-include-xstat to work on OpenAFS 1.6
File size: 1.4 KB
RevLine 
[2030]1--- openafs.spec.orig   2011-11-04 23:50:34.842221577 -0400
2+++ openafs.spec        2011-11-04 23:52:00.538590290 -0400
3@@ -1103,7 +1103,7 @@
[2014]4 
5 # create list of man pages that go in the 'openafs' package
6 /bin/ls $RPM_BUILD_ROOT%{_mandir}/man1 \
[2030]7-       |egrep '^afs|^fs|^kas|^klog|kapasswd|pagsh|^pts|^restorevol|^rxdebug|scout|^sys|tokens|translate|udebug|unlog|^uss|^vos' \
8+       |egrep '^afs|^fs|^kas|^klog|kapasswd|pagsh|^pts|^restorevol|^rxdebug|scout|^sys|tokens|translate|^xstat|udebug|unlog|^uss|^vos' \
9        |egrep -v '^afs_compile_et' \
[2014]10        >openafs-man1files
11 
[2030]12@@ -1134,6 +1134,8 @@
[2014]13 %{_bindir}/tokens
14 %{_bindir}/tokens.krb
15 %{_bindir}/translate_et
16+%{_bindir}/xstat_cm_test
17+%{_bindir}/xstat_fs_test
18 %{_bindir}/udebug
19 %{_bindir}/unlog
20 %{_sbindir}/backup
[2030]21@@ -1184,7 +1186,7 @@
[2014]22 done
23 
24 # the rest are not needed.
25-for f in dlog dpass install knfs livesys xstat_cm_test xstat_fs_test ; do
26+for f in dlog dpass install knfs livesys ; do
27   rm -f $RPM_BUILD_ROOT%{_bindir}/$f
28 done
29 
[2030]30@@ -1196,7 +1198,7 @@
[2014]31 rm -rf $RPM_BUILD_ROOT%{_sbindir}/kdump*
32 
33 # remove man pages from programs deleted above
34-for f in 1/dlog 1/dpass 1/livesys 1/xstat_cm_test 1/xstat_fs_test 8/kdb 8/kpwvalid 8/xfs_size_check 1/package_test 5/package 8/package ; do
35+for f in 1/dlog 1/dpass 1/livesys 8/kdb 8/kpwvalid 8/xfs_size_check 1/package_test 5/package 8/package ; do
36   rm -f $RPM_BUILD_ROOT%{_mandir}/man$f.*
37 done
38 
Note: See TracBrowser for help on using the repository browser.