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: Skip file classification dependency added when autoReq off
Date: Mon, 23 Nov 2026 09:23:38 GMT	[thread overview]
Message-ID: <179542581812.1.14512849734127961616.rpms-rpm-8793c7c3c82b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 8793c7c3c82b070c0e8e356609473e9fff90231a
Author : Paul Nasrat <pnasrat@fedoraproject.org>
Date   : 2006-05-05T11:11:21+00:00
Stats  : +62/-3 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/8793c7c3c82b070c0e8e356609473e9fff90231a?branch=pmatilai-v6

Log:
Skip file classification dependency added when autoReq off

---
diff --git a/rpm-4.4.2-rpmfc-skip.patch b/rpm-4.4.2-rpmfc-skip.patch
new file mode 100644
index 0000000..db13251
--- /dev/null
+++ b/rpm-4.4.2-rpmfc-skip.patch
@@ -0,0 +1,56 @@
+--- rpm-4.4.2/build/rpmfc.c.skip	2006-05-04 14:38:26.000000000 -0400
++++ rpm-4.4.2/build/rpmfc.c	2006-05-04 14:45:10.000000000 -0400
+@@ -722,11 +722,13 @@
+ #endif
+           t++;
+           /* Add to package dependencies. */
+-          ds = rpmdsSingle(RPMTAG_REQUIRENAME,
++          if (!fc->skipReq) {
++              ds = rpmdsSingle(RPMTAG_REQUIRENAME,
+                            buf, "", RPMSENSE_FIND_REQUIRES);
+-          rpmdsMerge(&fc->requires, ds);
+-          rpmfcSaveArg(&fc->ddict, rpmfcFileDep(t, fc->ix, ds));
+-          ds = rpmdsFree(ds);
++              rpmdsMerge(&fc->requires, ds);
++              rpmfcSaveArg(&fc->ddict, rpmfcFileDep(t, fc->ix, ds));
++              ds = rpmdsFree(ds);
++          }
+           break;
+       }
+     }
+@@ -1187,6 +1189,7 @@
+     int ix;
+     int i;
+     int xx;
++    int skipping;
+ 
+     /* Generate package and per-file dependencies. */
+     for (fc->ix = 0; fc->fn[fc->ix] != NULL; fc->ix++) {
+@@ -1234,15 +1237,18 @@
+ 	Flags = strtol(se, NULL, 16);
+ 
+ 	dix = -1;
++        skipping = 0;
+ 	switch (deptype) {
+ 	default:
+ 	    /*@switchbreak@*/ break;
+ 	case 'P':	
++            skipping = fc->skipProv;
+ 	    ds = rpmdsSingle(RPMTAG_PROVIDENAME, N, EVR, Flags);
+ 	    dix = rpmdsFind(fc->provides, ds);
+ 	    ds = rpmdsFree(ds);
+ 	    /*@switchbreak@*/ break;
+ 	case 'R':
++            skipping = fc->skipReq;
+ 	    ds = rpmdsSingle(RPMTAG_REQUIRENAME, N, EVR, Flags);
+ 	    dix = rpmdsFind(fc->requires, ds);
+ 	    ds = rpmdsFree(ds);
+@@ -1264,7 +1270,7 @@
+ 	    previx = ix;
+ 	    xx = argiAdd(&fc->fddictx, ix, argiCount(fc->ddictx)-1);
+ 	}
+-	if (fc->fddictn && fc->fddictn->vals)
++	if (fc->fddictn && fc->fddictn->vals && !skipping)
+ 	    fc->fddictn->vals[ix]++;
+     }
+ /*@=boundswrite@*/

diff --git a/rpm.spec b/rpm.spec
index a2c546e..659693c 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -20,7 +20,7 @@ Name: rpm
 %define version 4.4.2
 Version: %{version}
 %{expand: %%define rpm_version %{version}}
-Release: 23
+Release: 24
 Group: System Environment/Base
 Source: ftp://wraptastic.org/pub/rpm-4.4.x/rpm-%{rpm_version}.tar.gz
 Source1: mono-find-provides
@@ -51,7 +51,7 @@ Patch22: rpm-4.4.2-vercmp.patch
 Patch23: rpm-4.4.2-doxy.patch
 Patch24: rpm-4.4.2-trust.patch
 Patch25: rpm-4.4.2-devel-autodep.patch
-Patch26: rpm-4.4.2-teCount-assert.patch
+Patch26: rpm-4.4.2-rpmfc-skip.patch
 License: GPL
 Conflicts: patch < 2.5
 %ifos linux
@@ -188,7 +188,7 @@ shell-like rules.
 %patch23 -p1 -b .doxy
 %patch24 -p1 -b .trust
 %patch25 -p1 -b .develdeps
-%patch26 -p1 -b .assertte
+%patch26 -p1 -b .fcskip
 
 %build
 
@@ -582,6 +582,9 @@ exit 0
 %{__includedir}/popt.h
 
 %changelog
+* Thu May 04 2006 Paul Nasrat <pnasrat@redhat.com> - 4.4.2-24
+- File classification with autoReq off (#190488)
+
 * Thu May  4 2006 Jeremy Katz <katzj@redhat.com> - 4.4.2-23
 - make rpm-libs requires on base package stronger
 

                 reply	other threads:[~2026-11-23  9:23 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=179542581812.1.14512849734127961616.rpms-rpm-8793c7c3c82b@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