public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - fail hard if patch isn't found (#461347)
@ 2026-11-23 9:25 Jindrich Novy
0 siblings, 0 replies; only message in thread
From: Jindrich Novy @ 2026-11-23 9:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 2b2e2bf0cb31e19bb301cd0138b97ee1897adcef
Author : Jindrich Novy <jnovy@fedoraproject.org>
Date : 2008-09-06T13:36:14+00:00
Stats : +25/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/2b2e2bf0cb31e19bb301cd0138b97ee1897adcef?branch=pmatilai-v6
Log:
- fail hard if patch isn't found (#461347)
---
diff --git a/rpm-4.5.90-patches.patch b/rpm-4.5.90-patches.patch
new file mode 100644
index 0000000..303865d
--- /dev/null
+++ b/rpm-4.5.90-patches.patch
@@ -0,0 +1,19 @@
+commit ce1db5af7036df54a21abab9a5d70b06a821fff4
+Author: Jindrich Novy <jnovy@redhat.com>
+Date: Sat Sep 6 15:30:40 2008 +0200
+
+ Fail hard if patch isn't found (rhbz#461347)
+
+diff --git a/build/parsePrep.c b/build/parsePrep.c
+index fcc28c8..2be0693 100644
+--- a/build/parsePrep.c
++++ b/build/parsePrep.c
+@@ -538,7 +538,7 @@ int parsePrep(rpmSpec spec)
+ }
+ if (res && !spec->force) {
+ /* fixup from RPMRC_FAIL do*Macro() codes for now */
+- res = PART_ERROR;
++ nextPart = PART_ERROR;
+ goto exit;
+ }
+ }
diff --git a/rpm.spec b/rpm.spec
index 093b430..af40ddb 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -18,7 +18,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: 0.%{snapver}.4
+Release: 0.%{snapver}.5
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -36,6 +36,7 @@ Patch200: rpm-4.5.90-archivesize.patch
Patch201: rpm-4.5.90-noarch-subpackages.patch
Patch202: rpm-4.5.90-segfault.patch
Patch203: rpm-4.5.90-macrofix.patch
+Patch204: rpm-4.5.90-patches.patch
# These are not yet upstream
Patch300: rpm-4.5.90-posttrans.patch
@@ -170,6 +171,7 @@ that will manipulate RPM packages and databases.
%patch201 -p1 -b .noarch-subpackages
%patch202 -p1 -b .segfault
%patch203 -p1 -b .macrofix
+%patch204 -p1 -b .patches
# needs a bit of upstream love first...
#%patch300 -p1 -b .posttrans
@@ -348,6 +350,9 @@ exit 0
%doc doc/librpm/html/*
%changelog
+* Sat Sep 06 2008 Jindrich Novy <jnovy@redhat.com>
+- fail hard if patch isn't found (#461347)
+
* Mon Sep 01 2008 Jindrich Novy <jnovy@redhat.com>
- fix parsing of boolean expressions in spec (#456103)
(unbreaks pam, jpilot and maybe other builds)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:25 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:25 [rpms/rpm] pmatilai-v6: - fail hard if patch isn't found (#461347) Jindrich Novy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox