public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ipxe] rawhide: Drop usage of forge macros
@ 2026-09-15 14:42 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-15 14:42 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-15 14:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15 14:42 [rpms/ipxe] rawhide: Drop usage of forge macros Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox