diff options
author | Gerald Carter <jerry@samba.org> | 2004-01-16 19:01:20 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-01-16 19:01:20 +0000 |
commit | a4258016d004a6ea87e016d1ee8dff0c08388296 (patch) | |
tree | df46aa53e0e30f91ad3fd127df6d73ba290f0ed2 /packaging/RedHat | |
parent | ab9c2394194f2a81c0d990d3970e3a06940d4906 (diff) | |
download | samba-a4258016d004a6ea87e016d1ee8dff0c08388296.tar.gz samba-a4258016d004a6ea87e016d1ee8dff0c08388296.tar.bz2 samba-a4258016d004a6ea87e016d1ee8dff0c08388296.zip |
remove unneeded man pages from packages
(This used to be commit 0e0a1632358f27d45b10f315db90afdbb35ee5b2)
Diffstat (limited to 'packaging/RedHat')
-rw-r--r-- | packaging/RedHat/samba.spec.tmpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packaging/RedHat/samba.spec.tmpl b/packaging/RedHat/samba.spec.tmpl index 7ef87da29b..787fe87d4a 100644 --- a/packaging/RedHat/samba.spec.tmpl +++ b/packaging/RedHat/samba.spec.tmpl @@ -193,6 +193,16 @@ echo 127.0.0.1 localhost > $RPM_BUILD_ROOT/etc/samba/lmhosts # Remove "*.old" files find $RPM_BUILD_ROOT -name "*.old" -exec rm -f {} \; +## +## Clean out man pages for tools not installed here +## +rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/editreg.1* +rm -f $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1* +rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbsh.1* +rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbget.1* +rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/mount.cifs.8* + + %clean rm -rf $RPM_BUILD_ROOT |