On Thu, Mar 12, 2026 at 11:32 AM Remi Collet <[email protected]> wrote:
>
> Hi,
>
> I have strange result using %forgemeta
>
> Spec file
> https://src.fedoraproject.org/rpms/php-pecl-msgpack/blob/rawhide/f/php-pecl-msgpack.spec
>
> I expect: php-pecl-msgpack-3.0.0-7.fc45
> But got:  php-pecl-msgpack-3.0.0-7.20260312gitmsgpack.3.0.0.fc45
>
> I have switch to %forgemeta on lot of other packages recently
> without this problem
>
> Only in Koji, not reproduced locally and with mock
>
>
> Any idea / help welcome on this

I think this is because you define a `%tag` macro, which is one of the
magic ones that are read by %forgemeta. It puts it into %distprefix. I
think the easiest workaround would be to use a different name, like
`%upstream_version`.

Fabio
-- 
_______________________________________________
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, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to