public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: fix excluded size
@ 2026-11-23  9:23 Paul Nasrat
  0 siblings, 0 replies; only message in thread
From: Paul Nasrat @ 2026-11-23  9:23 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 93cf818246da4b5feec47feaa5da1484b7e638f0
Author : Paul Nasrat <pnasrat@fedoraproject.org>
Date   : 2005-11-29T21:23:32+00:00
Stats  : +17/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/93cf818246da4b5feec47feaa5da1484b7e638f0?branch=pmatilai-v6

Log:
fix excluded size

---
diff --git a/rpm-4.4.2-excluded-size.patch b/rpm-4.4.2-excluded-size.patch
new file mode 100644
index 0000000..22d3665
--- /dev/null
+++ b/rpm-4.4.2-excluded-size.patch
@@ -0,0 +1,11 @@
+--- rpm-4.4.2/build/files.c.excludedsize	2005-11-29 16:21:12.000000000 -0500
++++ rpm-4.4.2/build/files.c	2005-11-29 16:21:21.000000000 -0500
+@@ -1678,7 +1678,7 @@
+ 	} else
+ 	    i = fl->fileListRecsUsed;
+ 
+-	if (S_ISREG(flp->fl_mode) && i >= fl->fileListRecsUsed)
++	if (!(flp->flags & RPMFILE_EXCLUDE) && S_ISREG(flp->fl_mode) && i >= fl->fileListRecsUsed) 
+ 	    fl->totalFileSize += flp->fl_size;
+     }
+ 

diff --git a/rpm.spec b/rpm.spec
index 472a3e8..6bd3bcd 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: 9
+Release: 10
 Group: System Environment/Base
 Source: ftp://wraptastic.org/pub/rpm-4.4.x/rpm-%{rpm_version}.tar.gz
 Patch0: rpm-4.4.1-hkp-disable.patch
@@ -36,6 +36,7 @@ Patch9: rpm-4.4.2-contextverify.patch
 Patch10: rpm-4.4.2-popt-charset.patch
 Patch11: rpm-4.4.2-ghost-conflicts.patch
 Patch12: rpm-4.4.2-exclude.patch
+Patch13: rpm-4.4.2-excluded-size.patch
 License: GPL
 Conflicts: patch < 2.5
 %ifos linux
@@ -160,6 +161,7 @@ shell-like rules.
 %patch10 -p1  -b .charset
 %patch11 -p1  -b .ghostconflicts
 %patch12 -p1  -b .exclude
+%patch13 -p1  -b .excludedsize
 
 
 %build
@@ -552,6 +554,9 @@ exit 0
 %{__includedir}/popt.h
 
 %changelog
+* Tue Nov 29 2005 Paul Nasrat <pnasrat@redhat.com> - 4.4.2-10
+- Ignore excluded size (#89661)
+
 * Tue Nov 29 2005 Paul Nasrat <pnasrat@redhat.com> - 4.4.2-9
 - Don't skipDirs on erasures (#140055)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23  9:23 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:23 [rpms/rpm] pmatilai-v6: fix excluded size Paul Nasrat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox