Description of problem: When trying to build the package from the el6 branch in the Fedora git, I get: $ fedpkg prep [... snip ...] Patch #0 (pycdio-remove-shebangs.patch): + /bin/cat /home/mathieu/Workspace/dist-git/pycdio/pycdio-remove-shebangs.patch + /usr/bin/patch -s -p0 --fuzz=0 1 out of 1 hunk FAILED -- saving rejects to file cdio.py.rej 1 out of 1 hunk FAILED -- saving rejects to file iso9660.py.rej error: Bad exit status from /var/tmp/rpm-tmp.WMa311 (%prep) Version-Release number of selected component (if applicable): Latest in the el6 git branch Additional info: This really makes me wonder how it's been built at all :-/ http://koji.fedoraproject.org/koji/buildinfo?buildID=171029 A scratch build from the same sources just doesn't build at all: http://koji.fedoraproject.org/koji/taskinfo?taskID=4091103
(In reply to comment #0) > A scratch build from the same sources just doesn't build at all: > http://koji.fedoraproject.org/koji/taskinfo?taskID=4091103 Oh, it seems it was built from CVS and the patch has that VCS keyword thing (the "$id: .... $"), which is reponsible for it not applying any more. Probably at the time of CVS this wasn't causing any problem? Anyway, fix is trivial, see attached patch (to apply directly in the fedpkg cloned tree)
Created attachment 585784 [details] Fix the package build, to apply directly in the fedpkg cloned git tree.
Thanks for the correction; I'll get to it some time this week.
Patch applied and the sources are corrected. I guess it got mangled during the dist-cvs to dist-git conversion. Thanks for the assistance.