public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ipxe] rawhide: Drop usage of forge macros
Date: Tue, 15 Sep 2026 14:42:27 GMT	[thread overview]
Message-ID: <178948334788.1.14155865693155308595.rpms-ipxe-1b8c59135736@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ipxe
            Branch : rawhide
            Commit : 1b8c591357363cf4ae071d164c147bc96e601f61
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-09-04T10:14:19-04:00
            Stats  : +3/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ipxe/c/1b8c591357363cf4ae071d164c147bc96e601f61?branch=rawhide

            Log:
            Drop usage of forge macros

%forgeversion (which uses a lua script) is not compatible with the
norpm backend of rpmautospec.

---
diff --git a/ipxe.spec b/ipxe.spec
index 09c01ab..3ee56c0 100644
--- a/ipxe.spec
+++ b/ipxe.spec
@@ -24,22 +24,20 @@
 # package is currently clashing in koji, so don't bother.
 %global debug_package %{nil}
 
-%global forgeurl https://github.com/ipxe/ipxe/
 %global commit 13a83f4ab30bd75831261e6b197903244f1ad753
 %global date 20260614
 %global version0 2.0.0
-%forgemeta
 
 Name:    ipxe
 Summary: A network boot loader
 Epoch:   1
-Version: %forgeversion
+Version: %{version0}^%{date}git%{sub %{commit} 1 7}
 Release: %autorelease
 
 License: BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND (GPL-2.0-only OR MPL-1.1) AND GPL-2.0-or-later AND GPL-2.0-or-later WITH UBDL-exception AND ISC AND MIT
 URL:     http://ipxe.org/
 
-Source:  %forgesource
+Source:  https://github.com/ipxe/ipxe/archive/%{commit}/ipxe-%{commit}.tar.gz
 
 # Enable IPv6 for qemu's config
 # Sent upstream: http://lists.ipxe.org/pipermail/ipxe-devel/2015-November/004494.html
@@ -112,7 +110,7 @@ replacement for proprietary PXE ROMs, with many extra features such as
 DNS, HTTP, iSCSI, etc.
 
 %prep
-%forgeautosetup -p1
+%autosetup -C -p1
 
 %build
 cd src

                 reply	other threads:[~2026-09-15 14:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178948334788.1.14155865693155308595.rpms-ipxe-1b8c59135736@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox