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]

 



PGNet Dev wrote:
> 	%define _build_timestamp %( date +%Y%m%d_%H%M%S )

Percent signs that are not to be interpreted as RPM syntax need to be
doubled. Write this as:

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

Björn Persson

Attachment: pgpoWt8X4Wa2d.pgp
Description: OpenPGP digital signatur

_______________________________________________
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