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
Gerald (Jerry) Carter
2003-Mar-05 16:41 UTC
[Samba] PATCH for packaging/RedHat/samba2.spec.tmpl
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 4 Mar 2003, Eirik Thorsnes wrote:> 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.Got it. Thanks. cheers, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+ZijAIR7qMdg1EfYRAnqpAKDgCcKHyAZ65pw/Ix2Zk4nfk7zm8gCfT+Z1 ndt91njQoLDjvHm9gwbVdUw=Mhfi -----END PGP SIGNATURE-----