Red Hat Bugzilla – Bug 483664
xpdf spec file and source package fail stricter requirements of the current rpmbuild
Last modified: 2009-03-05 12:59:37 EST
Description of problem:
$ rpmbuild -bp xpdf.spec
error: %patch without corresponding "Patch:" tag
The following minor change is required to make rpmbuild happier:
--- xpdf.spec~ 2008-06-19 07:11:36.000000000 -0600
+++ xpdf.spec 2009-02-02 01:33:46.000000000 -0700
@@ -80,7 +80,7 @@ standard X fonts.
%setup -q -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 12 -a 13 -a 14 -a 15 -a 16
%patch3 -p1 -b .ext
%patch6 -p1 -b .core
%patch7 -p1 -b .fonts
Also xpdf-3.01-crash.patch does not apply with --fuzz=0 as default by now due to wildly different offsets; but there are no problems with readjusting it. All other patches do not require any changes.
Version-Release number of selected component (if applicable):
Created attachment 330676 [details]
xpdf crash.patch adjusted for xpdf-3.02
The spec was fixed in -8, and I rediffed the crash patch around the same time.
However, I did note that your patch was slightly different from mine, and I figured out why: there are two calls of xPath->sort() in the 3.02 code, instead of just one like 3.01 had. I saw one, you saw the other one. The new patch that will go into -10 will have both fixed.
> The new patch that will go into -10 will have both fixed.
Thanks! You are the man. :-)
This has been fixed for a while, closing.