summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2006-12-05 17:20:34 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit7a16ee04feb264603349129a95485ee613cb2163 (patch)
tree5d49558d918898842d93fad7a2c0324264166cb4
parenta4eae65c9f5ffb33422e4f5d4566f7145ee5f05b (diff)
downloadwaf-7a16ee04feb264603349129a95485ee613cb2163.zip
waf-7a16ee04feb264603349129a95485ee613cb2163.tar.gz
- add path.patch so installed waf uses system waf
Changed files: waf.spec -> 1.2
-rw-r--r--waf.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/waf.spec b/waf.spec
index 6c8a464..8bb5a7d 100644
--- a/waf.spec
+++ b/waf.spec
@@ -1,15 +1,15 @@
Summary: The Waf build system
Name: waf
Version: 1.0.1
-Release: 0.2
+Release: 0.4
License: BSD
Group: Development/Building
Source0: http://freehackers.org/~tnagy/%{name}-%{version}.tar.bz2
# Source0-md5: bc33d144ee927caec6279e0bf4b174ab
URL: http://freehackers.org/~tnagy/bksys.html
+Patch0: %{name}-path.patch
BuildRequires: python
-BuildRequires: sed >= 4.0
-BuildArch: noarch
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _libdir %{_prefix}/lib
@@ -22,10 +22,10 @@ that Waf is a vastly superior alternative to its competitors
%prep
%setup -q
+%patch0 -p1
%build
./waf-light --make-waf
-%{__sed} -i -e '1s,#!.*python,#!%{__python},' waf
%install
rm -rf $RPM_BUILD_ROOT