public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - fix backport thinko in the exclude patch
Date: Mon, 23 Nov 2026 09:27:35 GMT	[thread overview]
Message-ID: <179542605545.1.3683313765226440235.rpms-rpm-a709ae309841@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : a709ae309841e79678abc4bc0a213bae148d933b
Author : Panu Matilainen <pmatilai@redhat.com>
Date   : 2012-03-07T12:57:29+02:00
Stats  : +7/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/a709ae309841e79678abc4bc0a213bae148d933b?branch=pmatilai-v6

Log:
- fix backport thinko in the exclude patch

---
diff --git a/rpm-4.9.x-exclude-warn.patch b/rpm-4.9.x-exclude-warn.patch
index d11bf76..3a299b4 100644
--- a/rpm-4.9.x-exclude-warn.patch
+++ b/rpm-4.9.x-exclude-warn.patch
@@ -16,7 +16,7 @@ diff --git a/build/files.c b/build/files.c
 index e0747f8..a520410 100644
 --- a/build/files.c
 +++ b/build/files.c
-@@ -1393,12 +1393,17 @@ static rpmRC addFile(FileList fl, const char * diskPath,
+@@ -1393,12 +1393,19 @@ static rpmRC addFile(FileList fl, const char * diskPath,
  		    statp->st_mtime = now;
  		    statp->st_ctime = now;
  		} else {
@@ -31,6 +31,8 @@ index e0747f8..a520410 100644
 +		    if (fl->currentFlags & RPMFILE_EXCLUDE) {
 +			lvl = RPMLOG_WARNING;
 +			rc = RPMRC_OK;
++		    } else {
++			fl->processingFailed = 1;
 +		    }
 +		    rpmlog(lvl, msg, diskPath);
 +		    return rc;

diff --git a/rpm.spec b/rpm.spec
index 821fd39..fe92207 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -21,7 +21,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}13%{?dist}
+Release: %{?snapver:0.%{snapver}.}14%{?dist}
 Group: System Environment/Base
 Url: http://www.rpm.org/
 Source0: http://rpm.org/releases/rpm-4.9.x/%{name}-%{srcver}.tar.bz2
@@ -469,6 +469,9 @@ exit 0
 %doc COPYING doc/librpm/html/*
 
 %changelog
+* Wed Mar 07 2012 Panu Matilainen <pmatilai@redhat.com> - 4.9.1.2-14
+- fix backport thinko in the exclude patch
+
 * Wed Mar 07 2012 Panu Matilainen <pmatilai@redhat.com> - 4.9.1.2-13
 - fix memory corruption on rpmdb size estimation (#766260)
 - fix couple of memleaks in python bindings (#782147)

                 reply	other threads:[~2026-11-23  9:27 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=179542605545.1.3683313765226440235.rpms-rpm-a709ae309841@fedoraproject.org \
    --to=pmatilai@redhat.com \
    --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