Hello,
as I have two source .tar.gz's each in its own directory and rpmbuild is
switching to the first of them, I need to change the directory before
applying a patch for the second .tar.gz. As of the rpm-book, I can
append arbitrary parameters to the %patch macro which are directed to
the patch-command. But if I'm actually trying to do this:
%patch1 -p0 --directory=..
or
%patch1 -p0 -d $RPM_BUILD_DIR/..
I'm always getting
error: line 22: Bad arg to %patch: %build
How can I change the directory without calling the patch-command on my own?
Regards
Marten
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list