public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Nasrat <pnasrat@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Fix for Requires(pre,postun) (#155700)
Date: Mon, 23 Nov 2026 09:22:53 GMT	[thread overview]
Message-ID: <179542577344.1.202378568432071276.rpms-rpm-c3f9d9ab372e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : c3f9d9ab372eee127bd97daae85c30675fa47ec6
Author : Paul Nasrat <pnasrat@fedoraproject.org>
Date   : 2005-04-26T13:12:02+00:00
Stats  : +19/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/c3f9d9ab372eee127bd97daae85c30675fa47ec6?branch=pmatilai-v6

Log:
Fix for Requires(pre,postun) (#155700)

---
diff --git a/rpm-4.4.1-prepostun.patch b/rpm-4.4.1-prepostun.patch
new file mode 100644
index 0000000..b5719bd
--- /dev/null
+++ b/rpm-4.4.1-prepostun.patch
@@ -0,0 +1,19 @@
+--- rpm-4.4.1/lib/depends.c.prepostun	2004-12-07 14:09:16.000000000 +0000
++++ rpm-4.4.1/lib/depends.c	2005-04-26 14:12:23.000000000 +0100
+@@ -1294,14 +1294,12 @@
+ 	    switch (rpmteType(p)) {
+ 	    case TR_REMOVED:
+ 		/* Skip if not %preun/%postun requires or legacy prereq. */
+-		if (isInstallPreReq(Flags)
+-		 || !( isErasePreReq(Flags) || isLegacyPreReq(Flags) ) )
++		if (!( isErasePreReq(Flags) || isLegacyPreReq(Flags) ) )
+ 		    /*@innercontinue@*/ continue;
+ 		/*@switchbreak@*/ break;
+ 	    case TR_ADDED:
+ 		/* Skip if not %pre/%post requires or legacy prereq. */
+-		if (isErasePreReq(Flags)
+-		 || !( isInstallPreReq(Flags) || isLegacyPreReq(Flags) ) )
++		if (!( isInstallPreReq(Flags) || isLegacyPreReq(Flags) ) )
+ 		    /*@innercontinue@*/ continue;
+ 		/*@switchbreak@*/ break;
+ 	    }

                 reply	other threads:[~2026-11-23  9:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179542577344.1.202378568432071276.rpms-rpm-c3f9d9ab372e@fedoraproject.org \
    --to=pnasrat@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox