|
@@ -37,7 +37,7 @@ Summary: Postfix Mail Transport Agent
|
|
|
Summary(ja): Postfix メールトランスポートエージェント
|
|
|
Name: postfix
|
|
|
Version: %{origversion}
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
URL: http://www.postfix.org/
|
|
|
License: Distributable - IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER
|
|
|
Group: System Environment/Daemons
|
|
@@ -59,12 +59,20 @@ Patch200: postfix-2.5.7-large-fs.patch
|
|
|
|
|
|
Provides: smtpdaemon
|
|
|
Conflicts: sendmail
|
|
|
-Requires(pre): chkconfig
|
|
|
-BuildRequires: db4-devel >= 4.6.21, pam-devel, gdbm-devel
|
|
|
+
|
|
|
+BuildRequires: pam-devel
|
|
|
BuildRequires: cyrus-sasl-devel >= 2
|
|
|
BuildRequires: openldap-devel, openssl-devel
|
|
|
BuildRequires: pcre-devel
|
|
|
|
|
|
+%if "%{_dist_release}" >= "vl7"
|
|
|
+BuildRequires: libdb-devel >= 5.3
|
|
|
+Requires(post): libdb
|
|
|
+%else
|
|
|
+BuildRequires: db4-devel >= 4.6.21
|
|
|
+Requires(post): db4
|
|
|
+%endif
|
|
|
+
|
|
|
%if %build_mysql
|
|
|
%if "%{_dist_release}" >= "vl7"
|
|
|
BuildRequires: libmysqlclient-devel
|
|
@@ -83,9 +91,9 @@ BuildRequires: postgresql-devel
|
|
|
|
|
|
BuildRequires: sqlite3-devel
|
|
|
|
|
|
+Requires(pre): chkconfig
|
|
|
Requires: cyrus-sasl >= 2, cyrus-sasl-md5, cyrus-sasl-plain
|
|
|
-Requires: gdbm, pam, openssl
|
|
|
-Requires(pre): db4 >= 4.6.21
|
|
|
+Requires: pam
|
|
|
Obsoletes: postfix-beta
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
@@ -120,7 +128,6 @@ Postfix の開発は IBM によってサポートされており、全世界の
|
|
|
Summary: SQLite3 map support for Postfix
|
|
|
Group: System Environment/Daemons
|
|
|
Requires(pre): postfix = %{version}-%{release}
|
|
|
-Requires: sqlite3
|
|
|
%description sqlite
|
|
|
This package contains shared lib module which support
|
|
|
SQLite map on Postfix.
|
|
@@ -158,7 +165,6 @@ MySQL map on Postfix.
|
|
|
Summary: LDAP map support for Postfix
|
|
|
Group: System Environment/Daemons
|
|
|
Requires(pre): postfix = %{version}-%{release}
|
|
|
-Requires: openldap
|
|
|
%description ldap
|
|
|
This package contains shared lib module which support
|
|
|
OpenLDAP map on Postfix.
|
|
@@ -170,7 +176,6 @@ OpenLDAP map on Postfix.
|
|
|
Summary: PCRE map support for Postfix
|
|
|
Group: System Environment/Daemons
|
|
|
Requires(pre): postfix = %{version}-%{release}
|
|
|
-Requires: pcre
|
|
|
%description pcre
|
|
|
This package contains shared lib module which support
|
|
|
PCRE map on Postfix.
|
|
@@ -514,6 +519,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_libdir}/postfix/dict_pcre.so
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Jul 20 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.11.1-2
|
|
|
+- fix BR/R for current environment
|
|
|
+
|
|
|
* Sun Jun 15 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.11.1-1
|
|
|
- update to 2.11.1
|
|
|
- build with libpq-devel and libmysqlclient-devel (vl7)
|