Hi,
I'm trying to make an updated rpm for JOSM, starting from the source RPM I found on
koji.
However, when I issue the 'rpmbuild -bp' command I get
Code:
$ rpmbuild -bp josm.spec
Esecuzione(%prep) in corso: /bin/sh -e /var/tmp/rpm-tmp.lUfdAp
+ umask 022
+ cd /home/marvin/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/marvin/rpmbuild/BUILD
+ rm -rf josm-0
+ /usr/bin/gzip -dc /home/marvin/rpmbuild/SOURCES/josm-0.3740svn.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd josm-0
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (josm-0-disable_oauth.patch):'
Patch #0 (josm-0-disable_oauth.patch):
+ /bin/cat /home/marvin/rpmbuild/SOURCES/josm-0-disable_oauth.patch
+ /usr/bin/patch -s -p1 --fuzz=0
3 out of 3 hunks FAILED -- saving rejects to file build.xml.rej
errore: Stato d'uscita errato da /var/tmp/rpm-tmp.lUfdAp (%prep)
Errori di compilazione RPM:
Stato d'uscita errato da /var/tmp/rpm-tmp.lUfdAp (%prep)
In another file I found the problem, changed the patch and I made it work, but with the build.xml I cannot see the reason it won't work, since the patch seems perfectly to me...