Open ibotty opened 7 years ago
spec2scl
follows the recommendations and examples documented in the SCL packaging guide, therefore I am reluctant to do this change here.
And in your example, should not Name be changed to something like
Name: %{?scl_name}%{!?scl_name:%scl}
?
I have absolutely no clue, and that's the first scl I am building.
Having said that, copr folks said, that the patch above is what's required to build on copr. Your change is of course more reasonable (and will make it work for copr and be as before whenever scl_name is defined). I'd really like to understand what's happening here. What's %scl_name
vs %scl
? If the meta package is to be installed without scl-utils-build, why does it use the %scl_package
macro?
It was necessary to use this pull request, i.e. this partial patch:
Is that correct? If so, I can provide a patch (afaict it's only necessary to change it in templates/metapackage.spec).