public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Harald Hoyer <harald@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: remove %config entries from provides
Date: Mon, 23 Nov 2026 09:22:52 GMT [thread overview]
Message-ID: <179542577266.1.11117039267503170193.rpms-rpm-dff136ead816@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : dff136ead816e524c44a2200c150cf623171ab55
Author : Harald Hoyer <harald@fedoraproject.org>
Date : 2005-04-26T10:47:46+00:00
Stats : +48/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/dff136ead816e524c44a2200c150cf623171ab55?branch=pmatilai-v6
Log:
remove %config entries from provides
---
diff --git a/rpm-4.4.1-noconfigdep.patch b/rpm-4.4.1-noconfigdep.patch
new file mode 100644
index 0000000..59226bc
--- /dev/null
+++ b/rpm-4.4.1-noconfigdep.patch
@@ -0,0 +1,48 @@
+--- rpm-4.4.1/build/rpmfc.c.noconfig 2005-04-26 11:59:59.000000000 +0200
++++ rpm-4.4.1/build/rpmfc.c 2005-04-26 12:02:31.000000000 +0200
+@@ -1511,11 +1511,13 @@
+ fi = rpmfiInit(fi, 0);
+ if (fi != NULL)
+ while ((c = rpmfiNext(fi)) >= 0) {
++#ifdef RPM_WITH_CONFIG_DEPENDENCY
+ rpmfileAttrs fileAttrs;
+
+ /* Does package have any %config files? */
+ fileAttrs = rpmfiFFlags(fi);
+ genConfigDeps |= (fileAttrs & RPMFILE_CONFIG);
++#endif
+
+ av[c] = xstrdup(rpmfiFN(fi));
+ }
+@@ -1537,6 +1539,7 @@
+ xx = headerRemoveEntry(pkg->header, RPMTAG_PROVIDEVERSION);
+ xx = headerRemoveEntry(pkg->header, RPMTAG_PROVIDEFLAGS);
+
++#ifdef RPM_WITH_CONFIG_DEPENDENCY
+ /* Add config dependency, Provides: config(N) = EVR */
+ if (genConfigDeps) {
+ N = rpmdsN(pkg->ds);
+@@ -1549,6 +1552,7 @@
+ xx = rpmdsMerge(&fc->provides, ds);
+ ds = rpmdsFree(ds);
+ }
++#endif
+ }
+
+ if (!fc->skipReq) {
+@@ -1559,6 +1563,7 @@
+ xx = headerRemoveEntry(pkg->header, RPMTAG_REQUIREVERSION);
+ xx = headerRemoveEntry(pkg->header, RPMTAG_REQUIREFLAGS);
+
++#ifdef RPM_WITH_CONFIG_DEPENDENCY
+ /* Add config dependency, Requires: config(N) = EVR */
+ if (genConfigDeps) {
+ N = rpmdsN(pkg->ds);
+@@ -1571,6 +1576,7 @@
+ xx = rpmdsMerge(&fc->requires, ds);
+ ds = rpmdsFree(ds);
+ }
++#endif
+ }
+
+ /* Build file class dictionary. */
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=179542577266.1.11117039267503170193.rpms-rpm-dff136ead816@fedoraproject.org \
--to=harald@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