summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarekr2005-11-03 19:27:46 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit56161cdbdeb7814a2c6d6df85d75e8f0d8cb6ae5 (patch)
tree9a76896097b1624ef45cf74c59280f4a66b87f58
parent623e31fd46db52db254b5e9c9ea846d66892ebe3 (diff)
downloadcryopid-56161cdbdeb7814a2c6d6df85d75e8f0d8cb6ae5.zip
cryopid-56161cdbdeb7814a2c6d6df85d75e8f0d8cb6ae5.tar.gz
- use CFLAGS instead of using sed, kill BR sed
- pass CC Changed files: cryopid.spec -> 1.4
-rw-r--r--cryopid.spec7
1 files changed, 3 insertions, 4 deletions
diff --git a/cryopid.spec b/cryopid.spec
index 1f3dfee..c53f39c 100644
--- a/cryopid.spec
+++ b/cryopid.spec
@@ -11,7 +11,6 @@ Source0: http://dagobah.ucc.asn.au/wacky/%{name}-%{version}.tar.gz
Patch0: %{name}-build.patch
URL: http://cryopid.berlios.de/
BuildRequires: lzo-static
-BuildRequires: sed >= 4.0
ExclusiveArch: %{ix86}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -30,10 +29,10 @@ na innej maszynie.
%setup -q
%patch0 -p1
-%{__sed} -i 's/-g -Wall -O0/%{rpmcflags}/' Makefile
-
%build
-%{__make}
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT