public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lldpad] rawhide: Avoid lua macros
@ 2026-10-14 12:33 Michal Schmidt
  0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-10-14 12:33 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/lldpad
            Branch : rawhide
            Commit : 7eed6e0e04a4e825b44c492a958080b7ed123200
            Author : Michal Schmidt <mschmidt@redhat.com>
            Date   : 2026-10-08T14:04:53+02:00
            Stats  : +6/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/lldpad/c/7eed6e0e04a4e825b44c492a958080b7ed123200?branch=rawhide

            Log:
            Avoid lua macros

A downstream distro's build pipeline by design does not support parsing
spec file macros that rely on lua, which unfortunately %forgemeta needs.

Use a more explicit Source0 specification, depending only on simple
non-lua macros.

---
diff --git a/lldpad.spec b/lldpad.spec
index 89cd429..f538a8b 100644
--- a/lldpad.spec
+++ b/lldpad.spec
@@ -1,14 +1,13 @@
-%global forgeurl https://github.com/intel/openlldp
-%global version0 1.2.0
-%forgemeta
+%global projname openlldp
+%global forgeurl https://github.com/intel/%{projname}
 
 Name:               lldpad
-Version:            %forgeversion
+Version:            1.2.0
 Release:            %autorelease
 Summary:            Link Layer Discovery Protocol (LLDP) Agent
 License:            GPL-2.0-only
-URL:                %forgeurl
-Source0:            %forgesource
+URL:                %{forgeurl}
+Source0:            %{forgeurl}/archive/v%{version}/%{projname}-%{version}.tar.gz
 
 BuildRequires:      automake autoconf libtool
 BuildRequires:      flex >= 2.5.33
@@ -43,7 +42,7 @@ The %{name}-devel package contains header files for developing applications
 that use %{name}.
 
 %prep
-%forgeautosetup -p1
+%autosetup -n %{projname}-%{version} -p1
 
 %build
 ./bootstrap.sh

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

only message in thread, other threads:[~2026-10-14 12:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 12:33 [rpms/lldpad] rawhide: Avoid lua macros Michal Schmidt

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