From 1f9f542f0c1476c1851e936c1854b87b7df002b9 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 19 May 2008 16:21:35 +0000 Subject: [PATCH] - Add dependency on /sbin/ip - Disable parallel make - object files are missing dependency on config.h --- pptp.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pptp.spec b/pptp.spec index 91e4d7f..6dd34b8 100644 --- a/pptp.spec +++ b/pptp.spec @@ -1,6 +1,6 @@ Name: pptp Version: 1.7.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Point-to-Point Tunneling Protocol (PPTP) Client Group: Applications/Internet License: GPLv2+ @@ -9,7 +9,7 @@ Source0: http://downloads.sf.net/pptpclient/pptp-%{version}.tar.gz Patch0: pptp-1.7.2-compat.patch Patch1: pptp-1.7.2-ip-path.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: ppp >= 2.4.2 +Requires: ppp >= 2.4.2, /sbin/ip %description Client for the proprietary Microsoft Point-to-Point Tunneling @@ -23,7 +23,8 @@ by employers and some cable and ADSL service providers. %{__sed} -i -e 's/install -o root -m 555 pptp/install -m 755 pptp/' Makefile %build -%{__make} %{?_smp_mflags} CFLAGS="-Wall %{optflags}" +# Parallel make disabled because .o files don't have dependency on config.h +%{__make} CFLAGS="-Wall %{optflags}" %install %{__rm} -rf %{buildroot} @@ -47,6 +48,10 @@ by employers and some cable and ADSL service providers. %config(noreplace) /etc/ppp/options.pptp %changelog +* Mon May 19 2008 Paul Howarth 1.7.2-3 +- Add dependency on /sbin/ip +- Disable parallel make - object files are missing dependency on config.h + * Mon May 19 2008 Paul Howarth 1.7.2-2 - Use /sbin/ip, not /bin/ip for routing