From d81d288143471e2f2d4d3ef374bc9e073a6dfffa Mon Sep 17 00:00:00 2001 From: Hangbin Liu Date: Mon, 9 Sep 2024 06:38:56 +0000 Subject: [PATCH] update to 1.1.1 Signed-off-by: Hangbin Liu --- lldpad.spec | 37 +++++++++++++++++++++++++------------ sources | 2 +- 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/lldpad.spec b/lldpad.spec index 20cba21..ee53490 100644 --- a/lldpad.spec +++ b/lldpad.spec @@ -3,24 +3,34 @@ # https://fedoraproject.org/wiki/Packaging:Guidelines#Compiler_flags %global _hardened_build 1 -%global checkout 85e5583 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/ +%global forgeurl https://github.com/intel/openlldp/ +%global branch branch-1.1 +%global commit f1dd9eb961fab06723d2bedb2f7e2b81e45ee9ab +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global forgesetupargs -n openlldp-%{version} Name: lldpad -Version: 1.1.0 -Release: 14.git%{checkout}%{?dist} +Version: 1.1.1 +Release: 1.git%{shortcommit}%{?dist} Summary: Intel LLDP Agent -License: GPLv2 -URL: http://open-lldp.org/ -Source0: %{name}-%{version}.tar.gz +%forgemeta -BuildRequires: automake autoconf libtool -BuildRequires: flex >= 2.5.33 -BuildRequires: kernel-headers >= 2.6.32 -BuildRequires: libconfig-devel >= 1.3.2 +License: GPL-2.0-only +URL: %{forgeurl} +Source0: %{forgesource}#/%{name}-%{version}.tar.gz + +BuildRequires: automake autoconf +BuildRequires: flex +BuildRequires: kernel-headers +BuildRequires: libconfig-devel BuildRequires: libnl3-devel +BuildRequires: libtool +BuildRequires: make BuildRequires: readline-devel BuildRequires: systemd -BuildRequires: make +Requires: libconfig +Requires: libnl3 Requires: readline Requires(post): systemd @@ -42,7 +52,7 @@ The %{name}-devel package contains header files for developing applications that use %{name}. %prep -%autosetup -p1 +%forgeautosetup %build ./bootstrap.sh @@ -83,6 +93,9 @@ rm -f %{buildroot}%{_libdir}/liblldp_clif.la %{_libdir}/liblldp_clif.so %changelog +* Mon Sep 9 2024 Hangbin Liu - 1.1.1-1.gitf1dd9eb +- Rebased to 1.1.1 + * Tue Jul 30 2024 Hangbin Liu - 1.1.0-14.git85e5583 - add gating yaml file diff --git a/sources b/sources index 7a500ff..dd94ea6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lldpad-1.1.0.tar.gz) = 961a0cf044b4152f51dfd547e1acc4a865fce9ebb4941e55118ee2a22eb62f48693560897bcff0aac2070dc4659253367bfb6d1671d95d0c88f548d950a5227e +SHA512 (lldpad-1.1.1.tar.gz) = 1e2c0a1a65a01d8ab90d105b5133cf8172ea6bf054bde83160c1321438b50529b362df611bf074a8261e932a188e4ee84c9da8a4677f2c95a98f9cb7a90a3225