diff --git a/pptp.spec b/pptp.spec index 78b94fc..52ee24c 100644 --- a/pptp.spec +++ b/pptp.spec @@ -1,6 +1,6 @@ Name: pptp Version: 1.10.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Point-to-Point Tunneling Protocol (PPTP) Client Group: Applications/Internet License: GPLv2+ @@ -35,7 +35,7 @@ perl -pi -e 's/install -o root -m 555 pptp/install -m 755 pptp/;' Makefile %build OUR_CFLAGS="-Wall %{optflags} -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes" -make %{?_smp_mflags} CFLAGS="$OUR_CFLAGS" IP=/sbin/ip +make %{?_smp_mflags} CFLAGS="$OUR_CFLAGS" LDFLAGS="$RPM_LD_FLAGS" IP=/sbin/ip %install rm -rf %{buildroot} @@ -65,6 +65,9 @@ rm -rf %{buildroot} %{_mandir}/man8/pptpsetup.8* %changelog +* Thu Feb 1 2018 Florian Weimer - 1.10.0-2 +- Build with linker flags from redhat-rpm-config + * Thu Jan 18 2018 Jaroslav Škarvada - 1.10.0-1 - New version