public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lldpad] rawhide: Use %forge macros
@ 2026-10-05 12:23 Michal Schmidt
0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-10-05 12:23 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-05 12:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-05 12:23 [rpms/lldpad] rawhide: Use %forge 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