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                       or...@nwra.com
Boulder, CO 80301                 https://www.nwra.com/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
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