From ff08a1604f7f93f7f05a4f41caa6f87b3166ddead4d1481d7f66ca8e61bb1342 Mon Sep 17 00:00:00 2001 From: Peter Varkoly Date: Mon, 4 Mar 2024 17:02:40 +0000 Subject: [PATCH] %autosetup does not works with muzltiple -a. https://github.com/rpm-software-management/rpm/issues/1204 OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=475 --- postfix-bdb.spec | 8 ++++---- postfix.spec | 11 ++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/postfix-bdb.spec b/postfix-bdb.spec index 1df12ee..19c22e2 100644 --- a/postfix-bdb.spec +++ b/postfix-bdb.spec @@ -128,14 +128,14 @@ Requires(pre): shadow %endif # /usr/lib/postfix/bin//post-install: line 667: ed: command not found Requires(pre): ed -Requires(preun): ed +Requires(preun):ed Requires(post): ed -Requires(postun): ed +Requires(postun):ed # /usr/sbin/config.postfix needs perl Requires(pre): perl -Requires(preun): perl +Requires(preun):perl Requires(post): perl -Requires(postun): perl +Requires(postun):perl %description Postfix aims to be an alternative to the widely-used sendmail program with bdb support diff --git a/postfix.spec b/postfix.spec index c188694..9089b1e 100644 --- a/postfix.spec +++ b/postfix.spec @@ -110,14 +110,14 @@ BuildRequires: libnsl-devel %endif # /usr/lib/postfix/bin//post-install: line 667: ed: command not found Requires(pre): /usr/bin/ed -Requires(preun): /usr/bin/ed +Requires(preun):/usr/bin/ed Requires(post): /usr/bin/ed -Requires(postun): /usr/bin/ed +Requires(postun):/usr/bin/ed # /usr/sbin/config.postfix needs perl Requires(pre): perl -Requires(preun): perl +Requires(preun):perl Requires(post): perl -Requires(postun): perl +Requires(postun):perl %description Postfix aims to be an alternative to the widely-used sendmail program. @@ -176,7 +176,8 @@ maps with Postfix, you need this. %endif %prep -%autosetup -a 2 -a 3 -p0 +%setup -a 2 -a 3 +%autopatch -p0 # ---------------------------------------------------------------------------