Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quilt setup does not work with tetra generated spec files #11

Open
mcalmer opened this issue Oct 16, 2015 · 1 comment
Open

quilt setup does not work with tetra generated spec files #11

mcalmer opened this issue Oct 16, 2015 · 1 comment
Labels

Comments

@mcalmer
Copy link

mcalmer commented Oct 16, 2015

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
Copy link
Contributor

moio commented Nov 10, 2015

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.

@nodeg nodeg added the bug label Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants