quilt setup does not work with tetra generated spec files
mcalmer opened this issue · 1 comments
mcalmer commented
Using quilt for adding patches is very popular in SUSE.
But tetra generated spec files do not setup correctly:
spark$> quilt setup -v spark.spec
[...]
+ cp -Rf /usr/share/tetra ../kit
cp: cannot stat '/usr/share/tetra': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.zhjw9f (%prep)
I wonder if a "copy" is really needed. Maybe a symlink would be enough?
- cp -Rf /usr/share/tetra ../kit
+ ln -sf /usr/share/tetra ../kit
This would work with quilt.
moio commented
Copy is really needed for some Maven projects that require writing to the kit/m2
directory. I could not find out how to set permissions or other tricks in order to have them editable otherwise (from the kit package), but I admit this is a hack.
Unless someone comes up with a different idea I guess cp
is a safe default behavior, and of course quilt users with non-problematic pomfiles can always use ln
instead.