public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: remove %config entries from provides
@ 2026-11-23 9:22 Harald Hoyer
0 siblings, 0 replies; only message in thread
From: Harald Hoyer @ 2026-11-23 9:22 UTC (permalink / raw)
To: git-commits
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. */
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 9:22 [rpms/rpm] pmatilai-v6: remove %config entries from provides Harald Hoyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox