diff options
-rw-r--r-- | packaging/RedHat/samba.spec.tmpl | 11 |
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 ) |