[Samba] PATCH for packaging/RedHat/samba2.spec.tmpl

Eirik Thorsnes eirik.thorsnes at fys.uib.no
Tue Mar 4 22:03:05 GMT 2003


Please accept my patch for the spec file for RedHat RPM packaging.

It fixes problems (warnings / packaging-failures) in the
"Checking for unpackaged file(s)" stage.

Patch is made by diff -u to a current SAMBA_2_2 CVS tree.
Tested by packaging the rpm files on RedHat 8.0 using the makerpms.sh
script.

Eirik Thorsnes

-- 
"Nothing would please me more than being able to
hire ten programmers and deluge the hobby market
with good software." -- Bill Gates 1976

We are still waiting ....
-------------- next part --------------
--- packaging/RedHat/samba2.spec.tmpl   2003-02-15 01:31:33.000000000 +0100
+++ packaging/RedHat/samba2.spec.tmpl.new       2003-03-04 22:39:11.000000000 +0100
@@ -319,6 +319,9 @@
 install -m644 packaging/RedHat/samba.xinetd $RPM_BUILD_ROOT/etc/samba/samba.xinetd
 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
 rm -rf $RPM_BUILD_ROOT

@@ -524,6 +527,8 @@
 %{prefix}/sbin/smbmount
 %{prefix}/sbin/smbumount
 %{prefix}/sbin/winbindd
+%{prefix}/sbin/debug2html
+%{prefix}/sbin/samba
 /sbin/mount.smbfs
 /sbin/mount.smb
 %{prefix}/bin/mksmbpasswd.sh
@@ -544,6 +549,10 @@
 %{prefix}/bin/smbcontrol
 %{prefix}/bin/smbcacls
 %{prefix}/bin/wbinfo
+%{prefix}/bin/pam_smbpass.so
+%{prefix}/bin/smbmount
+%{prefix}/bin/smbumount
+%{prefix}/bin/tdbbackup
 %attr(755,root,root) /lib/libnss_wins.s*
 %attr(755,root,root) %{prefix}/lib/samba/vfs/*.so
 %{prefix}/include/libsmbclient.h
@@ -554,6 +563,7 @@
 %{prefix}/share/swat/include/header.html
 %{prefix}/share/swat/include/footer.html
 %{prefix}/share/swat/using_samba/*
+%{prefix}/share/swat/README
 %config(noreplace) /etc/samba/lmhosts
 %config(noreplace) /etc/samba/smb.conf
 %config(noreplace) /etc/samba/recycle.conf
@@ -570,6 +580,7 @@
 MANDIR_MACRO/man7/*
 MANDIR_MACRO/man8/*
 %dir /etc/codepages/*
+%dir /etc/codepages/src/*
 %attr(755,root,root) %dir /var/cache/samba
 %dir /var/log/samba
 %dir /var/run/samba


More information about the samba mailing list