In regard to: changing directory with %patch, Marten Lehmann said (at...:
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.
%patch1 -p0 --directory=.. or %patch1 -p0 -d $RPM_BUILD_DIR/..
It's easier than you think. cd ../foo-2.0 %patch -p1 -P 0 cd ../bar-2.1 %patch -p1 -P 2 etc. -- Tim Mooney mooney@xxxxxxxxxxxxxxxxxxxxxxxxx Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list