up release, apply patches

This commit is contained in:
Sergey Zhemoitel 2021-09-10 19:19:50 +03:00
parent ad42b90b00
commit f7aa071c65

View file

@ -4,7 +4,7 @@
Summary: The PPP daemon and documentation Summary: The PPP daemon and documentation
Name: ppp Name: ppp
Version: 2.4.9 Version: 2.4.9
Release: 2 Release: 3
License: BSD-like License: BSD-like
Group: System/Servers Group: System/Servers
Url: http://www.samba.org/ppp/ Url: http://www.samba.org/ppp/
@ -180,10 +180,12 @@ Radius plugin for %{name}.
%prep %prep
%setup -q %setup -q
%autopatch -p1 #autopatch -p1
%apply_patches
tar -xJf %{SOURCE12} tar -xJf %{SOURCE12}
%build %build
%configure --cflags="$RPM_OPT_FLAGS -fPIC -Wall -fno-strict-aliasing" %configure --cflags="$RPM_OPT_FLAGS -fPIC -Wall -fno-strict-aliasing"
%make_build LDFLAGS="%{ldflags} -pie" %make_build LDFLAGS="%{ldflags} -pie"