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
RPM building errors #130
Comments
rpmbuild fails with missing header files. Adding the files to noinst_HEADERS seems to address the issue:
Started over with 4store.spec. The Source0 parameter still need to be cleaned up so that it is general for all builds:
|
Great, a635344 has the noinst_HEADERS change in it. The .spec file is extremely stale, so thanks for fixing it, but why does it have a git revision number burned into in it? |
The git revision number should not be in there. I just did that because I have not figured out how to handle the Source0 line yet. The rpmlint tool also wants that to be a valid URL. Looking at raptor2 (https://github.com/dajobe/raptor/blob/master/raptor2.spec.in) they have made use of a .spec.in which might be more appropriate here as well. The Fedora Project Wiki has some notes on Source URLs from Git (https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Git_Hosting_Services). Unfortunately, I am not sure how those recommendation translate to implementation in this case. |
Having a .spec.in makes a lot of sense. I can't really follow the Wiki page about Source0 either - I'm never really used rpmbuild - I suspect a colleague of mine created it some years ago. |
rpmlint 4store.spec
4store.spec:9: W: hardcoded-prefix-tag /usr/local
4store.spec: W: invalid-url Source0: 4store-1.0.tar.gz
0 packages and 1 specfiles checked; 0 errors, 2 warnings.
The text was updated successfully, but these errors were encountered: