Am Donnerstag, dem 11.11.2021 um 09:27 +0100 schrieb Vitaly Zaitsev via devel: > On 10/11/2021 21:15, Globe Trotter via devel wrote: > > Version: %ver > > Release: %rel > > You shouldn't use macroses here, because this behavior can break > release > bumps from different bots or proven-packager scripts.
I agree with you, that at least the macro for the package version should
be dropped. For the package release it is permittable to use
`baserelease` as a macro, as that is useable for `rpmdev-bumpspec`:
```
%global baserelease 1
Version: X.Y.Z
Release: %{baserelease}%{?dist}
```
Anyways, macros in the spec file must be defined using the expanded at
definition time `%global`, if there is no reasonable justification to
use the lazy-expanding `%define`.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
