public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/lldpad] rawhide: Avoid lua macros
Date: Wed, 14 Oct 2026 12:33:45 GMT	[thread overview]
Message-ID: <179198122507.1.18301292816745407540.rpms-lldpad-7eed6e0e04a4@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-10-14 12:33 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=179198122507.1.18301292816745407540.rpms-lldpad-7eed6e0e04a4@fedoraproject.org \
    --to=mschmidt@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