Re: New rpmbuild failure - new rpm? Other?

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

 



On 5/4/20 5:44 PM, Miro Hrončok wrote:
On 05. 05. 20 1:14, Orion Poplawski wrote:
https://koschei.fedoraproject.org/package/cobbler?collection=f33

Fails building the SRPM:

DEBUG util.py:600:  error: /chroot_tmpdir/srpm_unpacked/SPECS/cobbler.spec: line 119: %S: argument expected

Line is:

     DATE=$(date "+%Y%m%d-%H%M%S")

Do we really have a new rpm macro called %S?  From where?  (There is a new version of rpm, and new other rpm-macros packages).

We do. From rpm:

   %{S:...}            expand ... to <source> file name
   %{P:...}            expand ... to <patch> file name
   %{F:...}            expand ... to <file> file name

https://rpm.org/user_doc/macros.html

I'm assuming I would work around this with:

     DATE=$(date "+%Y%m%d-%H%M%%S")

?

Sorry for not asking but I have done this yesterday:

https://src.fedoraproject.org/rpms/cobbler/c/868c803385380d635335ba8e7d6946ff88d62213?branch=master

Thanks!


--
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                 https://www.nwra.com/

<<attachment: smime.p7s>>

_______________________________________________
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