rpms/sendmail/F-13 sendmail.spec,1.108,1.109
Jaroslav Škarvada
jskarvad at fedoraproject.org
Mon Mar 29 14:57:14 UTC 2010
Author: jskarvad
Update of /cvs/pkgs/rpms/sendmail/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31931
Modified Files:
sendmail.spec
Log Message:
* Mon Mar 29 2010 Jaroslav Škarvada <jskarvad at redhat.com> - 8.14.4-4
- rebuilt with compatdb-4.7.25 (#556148)
Index: sendmail.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sendmail/F-13/sendmail.spec,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -p -r1.108 -r1.109
--- sendmail.spec 15 Feb 2010 13:03:34 -0000 1.108
+++ sendmail.spec 29 Mar 2010 14:57:14 -0000 1.109
@@ -11,10 +11,15 @@
%define spooldir %{_localstatedir}/spool
%define maildir %{_sysconfdir}/mail
+%define compatdb 4.7.25
+%if "x%{compatdb}" != "x"
+%define compatdbpkg compat-db%(echo "%{compatdb}" | sed 's/\\([0-9]\\+\\)\\.\\([0-9]\\+\\)\\.[0-9]\\+/\\1\\2/')
+%endif
+
Summary: A widely used Mail Transport Agent (MTA)
Name: sendmail
Version: 8.14.4
-Release: 3%{?dist}
+Release: 4%{?dist}
License: Sendmail
Group: System Environment/Daemons
URL: http://www.sendmail.org/
@@ -51,7 +56,11 @@ Patch20: sendmail-8.14.3-milterfdleaks.p
Patch21: sendmail-8.14.3-ipv6-bad-helo.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: tcp_wrappers-devel
+%if "x%{compatdb}" != "x"
+BuildRequires: %{compatdbpkg}
+%else
BuildRequires: db4-devel
+%endif
BuildRequires: hesiod-devel
BuildRequires: groff
BuildRequires: ghostscript
@@ -66,6 +75,9 @@ Requires(pre): shadow-utils
Requires(preun): %{_sbindir}/alternatives chkconfig
Requires(post): %{_sbindir}/alternatives chkconfig coreutils
Requires(postun): %{_sbindir}/alternatives coreutils
+%if "x%{compatdb}" != "x"
+Requires: %{compatdbpkg}
+%endif
Requires: initscripts
Requires: procmail
Requires: bash >= 2.0
@@ -172,8 +184,13 @@ done
cat > redhat.config.m4 << EOF
define(\`confMAPDEF', \`-DNEWDB -DNIS -DHESIOD -DMAP_REGEX -DSOCKETMAP -DNAMED_BIND=1')
define(\`confOPTIMIZE', \`\`\`\`${RPM_OPT_FLAGS}'''')
-define(\`confENVDEF', \`-I%{_includedir}/db4 -I/usr/kerberos/include -Wall -DXDEBUG=0 -DTCPWRAPPERS -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_TLS_1')
+%if "x%{compatdb}" != "x"
+define(\`confENVDEF', \`-I%{_includedir}/db%{compatdb} -I/usr/kerberos/include -Wall -DXDEBUG=0 -DTCPWRAPPERS -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_TLS_1')
+define(\`confLIBDIRS', \`-L/usr/kerberos/%{_lib} -L/usr/%{_lib}/db%{compatdb}')
+%else
+define(\`confENVDEF', \`-I%{_includedir}/db -I/usr/kerberos/include -Wall -DXDEBUG=0 -DTCPWRAPPERS -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_TLS_1')
define(\`confLIBDIRS', \`-L/usr/kerberos/%{_lib}')
+%endif
define(\`confLIBS', \`-lnsl -lwrap -lhesiod -lcrypt -ldb -lresolv')
define(\`confMANOWN', \`root')
define(\`confMANGRP', \`root')
@@ -562,6 +579,9 @@ exit 0
%changelog
+* Mon Mar 29 2010 Jaroslav Škarvada <jskarvad at redhat.com> - 8.14.4-4
+- rebuilt with compatdb-4.7.25 (#556148)
+
* Mon Feb 15 2010 Jaroslav Škarvada <jskarvad at redhat.com> - 8.14.4-3
- fixed libresolv implicit DSO linking (#564647)
- fixed initscript LSB compliance (#561040)
More information about the scm-commits
mailing list