Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/pptp.git#602c88aa18d03ac72eb72defe986b2a3def5054c
This commit is contained in:
DistroBaker 2021-02-03 03:18:40 +00:00
parent 51877aafb9
commit 898cd4354c

View File

@ -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 <releng@fedoraproject.org> - 1.10.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild