[Rpm-maint] [rpm-software-management/rpm] Parametric generators: Was "warning: Macro %1 defined but not used within scope" removed in RPM 4.17+? (Discussion #2501)

Panu Matilainen notifications at github.com
Thu Jul 6 08:17:05 UTC 2023


Oh, sorry. I remember seeing this but it's fallen through the cracks.

The warning was an artifact of a hack in the rpm level, fixed in commit a9bae82f699a9b112c8802eebe5da9fff5a8f34b.  Rpm never warns on unused automatic macros such as %1, but in 4.16 the %1 passed to the parametric macro was not an automatic macro but a hardcoded hack. 

That said, a generator not using the filename passed to it via %1 sounds suspicious in itself.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2501#discussioncomment-6371371
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/repo-discussions/2501/comments/6371371 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230706/4b570572/attachment.html>


More information about the Rpm-maint mailing list