source: trunk/server/fedora/specs/openafs-include-xstat.spec.patch @ 2014

Last change on this file since 2014 was 2014, checked in by achernya, 11 years ago
Build xstat_* in OpenAFS The official OpenAFS spec file disgarded useful debugging tools. This patch is a backport of the specfile changes to keep these tools in the RPM.
File size: 1.3 KB
  • openafs.spec

    old new  
    11151115
    11161116# create list of man pages that go in the 'openafs' package
    11171117/bin/ls $RPM_BUILD_ROOT%{_mandir}/man1 \
    1118         |egrep '^afs|^fs|^kas|^klog|kapasswd|pagsh|^pts|^rxdebug|scout|^sys|tokens|translate|udebug|unlog|^uss|^vos' \
     1118        |egrep '^afs|^fs|^kas|^klog|kapasswd|pagsh|^pts|^rxdebug|scout|^sys|tokens|translate|^xstat|udebug|unlog|^uss|^vos' \
    11191119        >openafs-man1files
    11201120
    11211121/bin/ls $RPM_BUILD_ROOT%{_mandir}/man5 \
     
    11451145%{_bindir}/tokens
    11461146%{_bindir}/tokens.krb
    11471147%{_bindir}/translate_et
     1148%{_bindir}/xstat_cm_test
     1149%{_bindir}/xstat_fs_test
    11481150%{_bindir}/udebug
    11491151%{_bindir}/unlog
    11501152%{_sbindir}/backup
     
    11961198done
    11971199
    11981200# the rest are not needed.
    1199 for f in dlog dpass install knfs livesys xstat_cm_test xstat_fs_test ; do
     1201for f in dlog dpass install knfs livesys ; do
    12001202  rm -f $RPM_BUILD_ROOT%{_bindir}/$f
    12011203done
    12021204
     
    12081210rm -rf $RPM_BUILD_ROOT%{_sbindir}/kdump*
    12091211
    12101212# remove man pages from programs deleted above
    1211 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
     1213for f in 1/dlog 1/dpass 1/livesys 8/kdb 8/kpwvalid 8/xfs_size_check 1/package_test 5/package 8/package ; do
    12121214  rm -f $RPM_BUILD_ROOT%{_mandir}/man$f.*
    12131215done
    12141216
Note: See TracBrowser for help on using the repository browser.