Bugzilla – Bug 130262
"quilt setup gcc.spec" creates a second series file in a subdirectory
Last modified: 2005-11-03 10:45:27 UTC
How to reproduce: - get the gcc sources (I took them from SLES9) - quilt setup gcc.spec > find . -depth -name "series" ./gcc-3.3.3/gcc/series ./gcc-3.3.3/series In gcc.spec we have: %prep %setup -q -n gcc-%{gcc_version} %patch0 %patch1 cd gcc %patch2 cd .. %patch3 %patch4 [...] %patch64 -p1 %patch65 -p1 cd gcc %patch66 cd .. %patch67 %patch68 [...] So %patch2 and %patch66 get applied from within the gcc subdirectory and end up in the gcc/series file. Problem: depending on the current directory within the gcc sources, quilt commands like "quilt push -a" and "quilt applied" behave differently.
Quilt has no way of applying the -p0 style patch 2 against the gcc/ sub-directory from within the gcc-3.3.3 directory. Please fix patch2 to that it is applied from within gcc-3.3.3.
*** Bug 130267 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 130251 ***