From e745ea5904f415229fd5a8796690ff5141dd1c9c Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 18 Apr 2023 23:42:05 -0700 Subject: [PATCH] Rebuild for new ppp --- NetworkManager-l2tp.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/NetworkManager-l2tp.spec b/NetworkManager-l2tp.spec index c88f10d..4833746 100644 --- a/NetworkManager-l2tp.spec +++ b/NetworkManager-l2tp.spec @@ -7,12 +7,12 @@ Summary: NetworkManager VPN plugin for L2TP and L2TP/IPsec Name: NetworkManager-l2tp Version: 1.20.8 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://github.com/nm-l2tp/NetworkManager-l2tp Source: https://github.com/nm-l2tp/NetworkManager-l2tp/releases/download/%{version}/%{name}-%{version}.tar.xz -%global ppp_version %(sed -n 's/^#define\\s*VERSION\\s*"\\([^\\s]*\\)"$/\\1/p' %{_includedir}/pppd/patchlevel.h 2>/dev/null | grep . || echo bad) +%global ppp_version %(pkg-config --modversion pppd 2>/dev/null || echo bad) BuildRequires: make BuildRequires: gcc @@ -20,7 +20,8 @@ BuildRequires: glib2-devel BuildRequires: gtk3-devel BuildRequires: NetworkManager-libnm-devel >= 1:1.20.0 BuildRequires: libnma-devel >= 1.8.0 -BuildRequires: ppp-devel +BuildRequires: pkgconfig +BuildRequires: ppp-devel >= 2.5.0 BuildRequires: libtool gettext BuildRequires: libsecret-devel BuildRequires: openssl-devel >= 1:1.1.0 @@ -116,6 +117,9 @@ exit 0 %endif %changelog +* Tue Apr 18 2023 Adam Williamson - 1.20.8-3 +- Rebuild for new ppp + * Wed Jan 18 2023 Fedora Release Engineering - 1.20.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild