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

%files should contain macroed paths #351

Open
onionka opened this issue Nov 2, 2015 · 2 comments
Open

%files should contain macroed paths #351

onionka opened this issue Nov 2, 2015 · 2 comments

Comments

@onionka
Copy link
Member

onionka commented Nov 2, 2015

If someone set prefix of installation spec file will fail to check integrity. As you can see in tutorial. There are macros instead of absolute paths (e.g. %{_sbindir}, ...). This can be solved by finding patterns in installed paths and replacing them with these macros.

@jsilhan
Copy link
Member

jsilhan commented Nov 3, 2015

There should be a plugin that will convert the path prefixes to the macros.

@onionka
Copy link
Member Author

onionka commented Nov 3, 2015

I think find_files should do that, because it is a plugin that find installed files. It can replace prefixes when adding to %files macro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants