summaryrefslogtreecommitdiff
path: root/packaging/RedHat
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-02-13 17:20:28 +0000
committerGerald Carter <jerry@samba.org>2004-02-13 17:20:28 +0000
commitbd5bf35c24295eeb55097c9debc7ed56b026464f (patch)
tree5e172140a35b9a67feddd0dc21b0180b5d9651b4 /packaging/RedHat
parentd21f23e01fb4bcdf3d5138b1c7c21ca3c3e032b9 (diff)
downloadsamba-bd5bf35c24295eeb55097c9debc7ed56b026464f.tar.gz
samba-bd5bf35c24295eeb55097c9debc7ed56b026464f.tar.bz2
samba-bd5bf35c24295eeb55097c9debc7ed56b026464f.zip
specfile changes form the 3.0.2 release
(This used to be commit d5dac6c5e220b528b2f52689143fddc9af48e55b)
Diffstat (limited to 'packaging/RedHat')
-rw-r--r--packaging/RedHat/samba.spec.tmpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/packaging/RedHat/samba.spec.tmpl b/packaging/RedHat/samba.spec.tmpl
index 787fe87d4a..70d51e3443 100644
--- a/packaging/RedHat/samba.spec.tmpl
+++ b/packaging/RedHat/samba.spec.tmpl
@@ -160,6 +160,17 @@ make DESTDIR=$RPM_BUILD_ROOT \
installman installswat installdat installmodules
cd ..
+## work around a temporary bug in the installswat script
+## copy the images
+mv docs/htmldocs/images $RPM_BUILD_ROOT/%{prefix}/share/swat/help
+
+## don't duplicate the docs. These are installed with SWAT
+rm -rf docs/htmldocs
+rm -rf docs/manpages
+( cd docs; ln -s %{prefix}/share/swat/help htmldocs )
+
+
+
# Install the nsswitch wins library
install -m755 source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/lib
( cd $RPM_BUILD_ROOT/lib; ln -sf libnss_wins.so libnss_wins.so.2 )