public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - adjust dependency printing wrt prereq (#431721)
Date: Mon, 23 Nov 2026 09:24:56 GMT	[thread overview]
Message-ID: <179542589642.1.14562770043698581863.rpms-rpm-474c3e1ea868@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 474c3e1ea868ba260968a80bca3b0f336bbb8620
Author : Panu Matilainen <pmatilai@fedoraproject.org>
Date   : 2008-04-01T07:52:14+00:00
Stats  : +25/-12 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/474c3e1ea868ba260968a80bca3b0f336bbb8620?branch=pmatilai-v6

Log:
- adjust dependency printing wrt prereq (#431721)

---
diff --git a/rpm-4.4.1-prereq.patch b/rpm-4.4.1-prereq.patch
deleted file mode 100644
index 335ae86..0000000
--- a/rpm-4.4.1-prereq.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- rpm-4.4.1/lib/rpmlib.h.prereq	2005-03-31 18:23:26.175045641 +0200
-+++ rpm-4.4.1/lib/rpmlib.h	2005-03-31 18:24:41.549762818 +0200
-@@ -501,8 +501,7 @@
-     RPMSENSE_EQUAL	= (1 << 3),
-     RPMSENSE_PROVIDES	= (1 << 4), /* only used internally by builds */
-     RPMSENSE_CONFLICTS	= (1 << 5), /* only used internally by builds */
--	/* bit 6 used to be RPMSENSE_PREREQ */
--#define	RPMSENSE_PREREQ	RPMSENSE_ANY
-+    RPMSENSE_PREREQ     = (1 << 6),     /*!< @todo Legacy. */
-     RPMSENSE_OBSOLETES	= (1 << 7), /* only used internally by builds */
-     RPMSENSE_INTERP	= (1 << 8),	/*!< Interpreter used by scriptlet. */
-     RPMSENSE_SCRIPT_PRE	= ((1 << 9)|RPMSENSE_PREREQ), /*!< %pre dependency. */

diff --git a/rpm-4.4.2.3-prereq.patch b/rpm-4.4.2.3-prereq.patch
new file mode 100644
index 0000000..6937794
--- /dev/null
+++ b/rpm-4.4.2.3-prereq.patch
@@ -0,0 +1,25 @@
+diff -up rpm-4.4.2.3/build/rpmfc.c.prereq rpm-4.4.2.3/build/rpmfc.c
+--- rpm-4.4.2.3/build/rpmfc.c.prereq	2008-04-01 09:47:42.000000000 +0300
++++ rpm-4.4.2.3/build/rpmfc.c	2008-04-01 09:54:54.000000000 +0300
+@@ -1488,7 +1488,7 @@ static struct DepMsg_s depMsgs[] = {
+ 	_notpre(RPMSENSE_SCRIPT_POSTUN), 0 },
+   { "Requires",		{ "%{?__find_requires}", NULL, NULL, NULL },
+ 	-1, -1, RPMTAG_REQUIREFLAGS,	/* XXX inherit name/version arrays */
+-	RPMSENSE_FIND_REQUIRES|RPMSENSE_TRIGGERIN|RPMSENSE_TRIGGERUN|RPMSENSE_TRIGGERPOSTUN|RPMSENSE_TRIGGERPREIN, 0 },
++	RPMSENSE_PREREQ, RPMSENSE_PREREQ },
+   { "Conflicts",	{ "%{?__find_conflicts}", NULL, NULL, NULL },
+ 	RPMTAG_CONFLICTNAME, RPMTAG_CONFLICTVERSION, RPMTAG_CONFLICTFLAGS,
+ 	0, -1 },
+diff -up rpm-4.4.2.3/lib/rpmlib.h.prereq rpm-4.4.2.3/lib/rpmlib.h
+--- rpm-4.4.2.3/lib/rpmlib.h.prereq	2008-04-01 09:13:04.000000000 +0300
++++ rpm-4.4.2.3/lib/rpmlib.h	2008-04-01 09:47:42.000000000 +0300
+@@ -505,8 +505,7 @@ typedef	enum rpmsenseFlags_e {
+     RPMSENSE_EQUAL	= (1 << 3),
+     RPMSENSE_PROVIDES	= (1 << 4), /* only used internally by builds */
+     RPMSENSE_CONFLICTS	= (1 << 5), /* only used internally by builds */
+-	/* bit 6 used to be RPMSENSE_PREREQ */
+-#define	RPMSENSE_PREREQ	RPMSENSE_ANY
++    RPMSENSE_PREREQ     = (1 << 6),     /*!< @todo Legacy. */
+     RPMSENSE_OBSOLETES	= (1 << 7), /* only used internally by builds */
+     RPMSENSE_INTERP	= (1 << 8),	/*!< Interpreter used by scriptlet. */
+     RPMSENSE_SCRIPT_PRE	= ((1 << 9)|RPMSENSE_PREREQ), /*!< %pre dependency. */

                 reply	other threads:[~2026-11-23  9:24 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=179542589642.1.14562770043698581863.rpms-rpm-474c3e1ea868@fedoraproject.org \
    --to=pmatilai@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