Mailinglist Archive: opensuse-packaging (102 mails)

< Previous Next >
Re: [opensuse-packaging] error: Bad exit status from /var/tmp/rpm-tmp.J9PPYN (%prep)
On 02/17/2015 02:56 PM, doiggl@xxxxxxxxxxxxxxxxxx wrote:
[ 54s] + echo 'Patch #0 (reiser4-node41-layout-support-joined.patch):'
[ 54s] Patch #0 (reiser4-node41-layout-support-joined.patch):
[ 54s] + /usr/bin/cat
/home/abuild/rpmbuild/SOURCES/reiser4-node41-layout-support-joined.patch
[ 54s] + /usr/bin/patch -p1 --fuzz=0
[ 54s] can't find file to patch at input line 3
[ 54s] Perhaps you used the wrong -p or --strip option?

I recommend using quilt for patch management in this case.

$ quilt setup *spec
$ cd reiser*
$ quilt push -a

If this works, then the patches will also apply on OBS.

Other commands:
$ quilt new
$ quilt refresh
$ quilt add
$ quilt pop

Further reading on quilt:

$ quilt CMD --help
$ man quilt
$ rpm -ql quilt | grep pdf
/usr/share/doc/packages/quilt/quilt.pdf

Have fun,
Berny
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
References