Bug 130267

Summary: "quilt setup gcc.spec" creates a second series file in a subdirectory
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Olaf Dabrunz <odabrunz>
Component: DevelopmentAssignee: Andreas Gruenbacher <agruen>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: RC 4   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Olaf Dabrunz 2005-10-24 14:23:30 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.
Comment 1 Andreas Gruenbacher 2005-10-24 14:26:30 UTC

*** This bug has been marked as a duplicate of 130262 ***