From a3d2217648c87fdc4ed496e6ae8733c731160597c1d1dd454fedf0d7af69a032 Mon Sep 17 00:00:00 2001 From: Peter Varkoly Date: Sat, 28 May 2011 04:25:45 +0000 Subject: [PATCH] - fix spec for building on all repos OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=80 --- postfix.changes | 5 +++++ postfix.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/postfix.changes b/postfix.changes index a7beee0..0cf418e 100644 --- a/postfix.changes +++ b/postfix.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 28 04:22:22 UTC 2011 - varkoly@novell.com + +- fix spec for building on all repos + ------------------------------------------------------------------- Tue May 24 10:24:51 UTC 2011 - varkoly@novell.com diff --git a/postfix.spec b/postfix.spec index b4c108a..ab542ae 100644 --- a/postfix.spec +++ b/postfix.spec @@ -46,14 +46,18 @@ PreReq: /usr/bin/getent PreReq: /usr/sbin/useradd /usr/sbin/groupadd PreReq: /bin/sed /bin/awk /bin/grep PreReq: textutils sh-utils fileutils pcre netcfg +%if 0%{?suse_version} > 1130 PreReq: sysvinit(syslog) sysvinit(network) +%endif Requires: iproute2 BuildRequires: db-devel BuildRequires: mysql-devel BuildRequires: openldap2-devel pcre-devel postgresql-devel # require pwdutils to make postinstall script check work BuildRequires: pwdutils +%if 0%{?suse_version} >= 1100 BuildRequires: fdupes +%endif # Conflicts: sendmail exim Provides: smtp_daemon