diff --git a/pptp.spec b/pptp.spec index e9d54e6..4e8886d 100644 --- a/pptp.spec +++ b/pptp.spec @@ -1,11 +1,12 @@ Name: pptp Version: 1.10.0 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Point-to-Point Tunneling Protocol (PPTP) Client License: GPLv2+ URL: http://pptpclient.sourceforge.net/ Source0: http://downloads.sf.net/pptpclient/pptp-%{version}.tar.gz Source1: pptp-tmpfs.conf +BuildRequires: make BuildRequires: /usr/bin/pod2man BuildRequires: gcc, perl-generators Requires: ppp >= 2.4.2, /sbin/ip @@ -36,11 +37,11 @@ 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" LDFLAGS="$RPM_LD_FLAGS" IP=/sbin/ip +%{make_build} CFLAGS="$OUR_CFLAGS" LDFLAGS="$RPM_LD_FLAGS" IP=/sbin/ip %install rm -rf %{buildroot} -make DESTDIR=%{buildroot} install +%{make_install} DESTDIR=%{buildroot} install -d -m 750 %{buildroot}%{_localstatedir}/run/pptp @@ -61,6 +62,9 @@ install -p -m 644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d/pptp.conf %{_mandir}/man8/pptpsetup.8* %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.10.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 1.10.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild