-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Building proper source rpms? #17
Comments
We'll try to solve this during the devopsdays fpm hackathon - https://github.com/jordansissel/fpm/wiki/Ideas-for-Hackfest |
I gave this some thought, and I think building srpms is out of scope for fpm. Let's say you want python 3 on centos 5. You download, configure, make, make install, fpm. You should put all of those steps into a reusable script. You should share that script. Building an SRPM? Not as awesome. Not as sharable. not as readable. Producing a source rpm requires knowledge currently far outside of what fpm does (the download, configure, make, etc steps). Closing WONTFIX |
Shouldn't the |
@7AC in the built rpm? Hmm.. I suppose. I never looked at that tag/macro so I wasn't aware of it. Can you show me what you mean? |
The
|
Interesting. I don't know how to remove that tag/field from the rpm, but I agree with you that fpm should remove that information, if possible. |
The SRPMs you've seen don't have the SPEC file encapsulated in the archive in well-preserved state that's trivially easily to parse? The ability to share an SRPM (or archive it) seems to have been pretty important, and I've done just that - repeated a build and shared a build script - both with new ones and one more than a decade old. |
From BayLISA last night -
Some folks really like srpms. It would be awesome if fpm could produce these.
This will likely require the 'fpm build recipe' stuff lusis and I have been discussing, where you have a tool similar to freebsd ports, gentoo ebuild, or homebrew, that knows how to download, version, and build things (so we can put them in the rpm spec).
The text was updated successfully, but these errors were encountered: