- Add dependency on /sbin/ip
- Disable parallel make - object files are missing dependency on config.h
This commit is contained in:
parent
d03eb3bb2b
commit
1f9f542f0c
11
pptp.spec
11
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 <paul@city-fan.org> 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 <paul@city-fan.org> 1.7.2-2
|
||||
- Use /sbin/ip, not /bin/ip for routing
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user