jordansissel / fpm

Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.
http://fpm.readthedocs.io/en/latest/
Other
11.13k stars 1.07k forks source link

Perl CPAN Support, Build Binary and/or Source Packages #1526

Closed wbraswell closed 1 year ago

wbraswell commented 6 years ago

Sometimes we need to be able to tell rpmbuild to create source packages in the SRPMS directory, either instead of or in addition to the normal binary packages in the RPMS directory. This is accomplished by passing the -ba or -bb or -bs options to rpmbuild.

jordansissel commented 5 years ago

This is a pretty dramatic change which could mislead users. FPM cannot build what most folks would consider to be an SRPM.

Can you show me an example of how this might be used?

wbraswell commented 5 years ago

@jordansissel Yes you are correct, after working more on this issue I realized that it is not enough to simply pass the -ba or -bb or -bs options to rpmbuild, this will essentially create an empty or fake SRPM which can not actually be utilized by users. I believe I may have a way to properly accomplish the building of SRPM files, possibly without the use of FPM-Cookery, so for now I will leave this issue open and I will eventually come back to report my findings.

wbraswell commented 1 year ago

Deprecated in favor of more specific issue: https://github.com/jordansissel/fpm/issues/1954