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


--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to