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: Use %forge macros
Date: Mon, 05 Oct 2026 12:23:37 GMT	[thread overview]
Message-ID: <179120301715.1.5747966414997541953.rpms-lldpad-9cfbd7105986@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/lldpad
            Branch : rawhide
            Commit : 9cfbd71059862923b0fd0b958080bbe92d9fb166
            Author : Michal Schmidt <mschmidt@redhat.com>
            Date   : 2026-09-16T19:58:09+02:00
            Stats  : +11/-7 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/lldpad/c/9cfbd71059862923b0fd0b958080bbe92d9fb166?branch=rawhide

            Log:
            Use %forge macros

The previous Source0 was not a proper upstream tarball reference.
Using %forge macros is the recommended way to package git snapshots.
See https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---
diff --git a/.gitignore b/.gitignore
index c4843f7..befe366 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /lldpad-*.tar.gz
+/openlldp-85e55837a81d710e5baa7da47f7ed0d205c8ede5.tar.gz

diff --git a/lldpad.spec b/lldpad.spec
index 603d0ca..78297f7 100644
--- a/lldpad.spec
+++ b/lldpad.spec
@@ -1,12 +1,15 @@
-%global checkout 85e5583
+%global forgeurl https://github.com/intel/openlldp
+%global version0 1.1.0
+%global commit 85e55837a81d710e5baa7da47f7ed0d205c8ede5
+%forgemeta
 
 Name:               lldpad
-Version:            1.1.0
-Release:            17.git%{checkout}%{?dist}
+Version:            %forgeversion
+Release:            1%{?dist}
 Summary:            Link Layer Discovery Protocol (LLDP) Agent
 License:            GPL-2.0-only
-URL:                https://github.com/intel/openlldp
-Source0:            %{name}-%{version}.tar.gz
+URL:                %forgeurl
+Source0:            %forgesource
 
 BuildRequires:      automake autoconf libtool
 BuildRequires:      flex >= 2.5.33
@@ -41,7 +44,7 @@ The %{name}-devel package contains header files for developing applications
 that use %{name}.
 
 %prep
-%autosetup -p1
+%forgeautosetup -p1
 
 %build
 ./bootstrap.sh

diff --git a/sources b/sources
index 7a500ff..a70ee15 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lldpad-1.1.0.tar.gz) = 961a0cf044b4152f51dfd547e1acc4a865fce9ebb4941e55118ee2a22eb62f48693560897bcff0aac2070dc4659253367bfb6d1671d95d0c88f548d950a5227e
+SHA512 (openlldp-85e55837a81d710e5baa7da47f7ed0d205c8ede5.tar.gz) = 23884f907d78e1c5339524ff3e9e85f0f061a9ab0047c2e41af0da3deeba2411d5e0076701f859bf42b5ed9cb520fad421b4f37455646b362270aeb35b5d7114

                 reply	other threads:[~2026-10-05 12:23 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=179120301715.1.5747966414997541953.rpms-lldpad-9cfbd7105986@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