Re: use of 'date' in rpm .spec %define concats add'l str chars?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm late to the party, but there are factual errors here that deserve correcting.

On 7/4/20 10:23 AM, Nicolas Mailhot via devel wrote:
Le vendredi 03 juillet 2020 à 11:09 -0700, PGNet Dev a écrit :

	%define _build_timestamp %( date +%Y%m%d_%H%M%S )


You’re hitting rpm macro expansion and the fact someone added %S as
alias to%SOURCE in recent rpm versions (source management is an unholly
mess in original rpm and people keep bolting new workarounds over old
workarounds insteak of fixing it once and for all.

Sorry but that's just not true at all, %S being a macro dates back to rpm 3.x days, ditto for %P.

Implementation details of built-in macros changed in recent rpm which causes different behavior.

The original lua integration in rpm was justified by the needs of the
%sources macro, that’s not an accident).
The real reason for Lua integration was to have something to run %pretrans with. %sources and all that is a much, much later addition.


Deity knows there's lot of misinformation around rpm, please don't make up more.

	- Panu -
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux