Re: [Rpm-maint] [rpm-software-management/rpm] spec file preprocessing on rpm level (#1472)

2021-02-16 Thread Michal Novotný
> A spec will no longer be a spec if such a feature was added. I can see how > templating can be useful, but I think this would need to be thought of as a > different file type - say, `.spec.in` rather than `.spec` to make it clear. I think it's mostly matter of preference and compatibility.

Re: [Rpm-maint] [rpm-software-management/rpm] spec file preprocessing on rpm level (#1472)

2021-02-12 Thread Panu Matilainen
A spec will no longer be a spec if such a feature was added. I can see how templating can be useful, but I think this would need to be thought of as a different file type - say, `.spec.in` rather than `.spec` to make it clear. Also just noting that #1241 is related, there's an increasing amount

[Rpm-maint] [rpm-software-management/rpm] spec file preprocessing on rpm level (#1472)

2020-12-30 Thread Michal Novotný
Hello, since this change https://pagure.io/fesco/issue/2532 will not likely be accepted, I would like to ask if you were willing to accept a pull request to enable spec file preprocessing directly on rpm level. It would add a third type of macro (except `%{}` and `%()`), which would work