!6 [sync] PR-5: 修复安装失败问题
From: @openeuler-sync-bot Reviewed-by: @robertxw Signed-off-by: @robertxw
This commit is contained in:
commit
dd8e02a621
@ -7,12 +7,12 @@
|
||||
Summary: NetworkManager VPN plugin for L2TP and L2TP/IPsec
|
||||
Name: NetworkManager-l2tp
|
||||
Version: 1.20.10
|
||||
Release: 1
|
||||
Release: 2
|
||||
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 || sed -n 's/^#define\\s*VERSION\\s*"\\([^\\s]*\\)"$/\\1/p' %{_includedir}/pppd/patchlevel.h 2>/dev/null | grep . || echo bad)
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
@ -115,6 +115,9 @@ exit 0
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Aug 29 2023 gaoxingwang <gaoxingwang1@huawei.com> - 1.20.10-2
|
||||
- change the way to get ppp version because ppp 2.5.0 no more provide patchlevel.h
|
||||
|
||||
* Fri Jul 21 2023 chenzixuan <chenzixuan@kylinos.cn> - 1.20.10-1
|
||||
- Upgrade to 1.20.10
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user