packaging(RHEL-CTDB): replace Prereq by Requires.
authorMichael Adam <obnox@samba.org>
Thu, 10 Feb 2011 06:33:56 +0000 (07:33 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 5 Apr 2011 22:34:22 +0000 (00:34 +0200)
In RHEL6, Prereq is deprecated.

packaging/RHEL-CTDB/samba.spec.tmpl

index f27635a7b9fe6b421de1844f70c270c72780a139..1d96ab4e563a314e19d52c56d11f7881126e0a25 100644 (file)
@@ -18,8 +18,8 @@ Source: samba-%{version}.tar.bz2
 Source998: filter-requires-samba.sh
 Source999: setup.tar.bz2
 
-Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall
-Prereq: fileutils sed /etc/init.d
+Requires: /sbin/chkconfig /bin/mktemp /usr/bin/killall
+Requires: fileutils sed /etc/init.d
 
 Requires: pam >= 0.64 %{auth} 
 Requires: samba-common = %{version}-%{release}
@@ -109,7 +109,7 @@ Compatibility package for 32 bit apps on 64 bit architecures
 Summary:      Samba Documentation
 Group:        Documentation/Other
 Provides:     samba-doc = %{version}-%{release}
-Prereq:       /usr/bin/find /bin/rm /usr/bin/xargs
+Requires:       /usr/bin/find /bin/rm /usr/bin/xargs
 
 %description doc
 The samba-doc package includes the HTML versions of the Samba manpages