]> git.pld-linux.org Git - packages/convertfs.git/commitdiff
- added -Makefile patch to pass CC instead of using sed
authordarekr <darekr@pld-linux.org>
Mon, 8 May 2006 13:10:27 +0000 (13:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    convertfs.spec -> 1.7

convertfs.spec

index 1861a988e146718fbb5ce8d8409b9e0f359feb17..8124c94d75550259a7f05affbd370e59b9a894df 100644 (file)
@@ -9,6 +9,7 @@ Group:          Applications/System
 Source0:       http://tzukanov.narod.ru/convertfs/%{name}-%{version}.tar.gz
 # Source0-md5: 71e8065e321898e259a55c8cefdfd75d
 Patch0:                %{name}-safety.patch
+Patch1:                %{name}-Makefile.patch
 URL:           http://tzukanov.narod.ru/convertfs/
 BuildRequires: sed >= 4.0
 Requires:      util-linux
@@ -51,10 +52,11 @@ rzadkie.
 %prep
 %setup  -q -n %{name}
 %patch0 -p1
+%patch1 -p1
 
 %build
-sed -i -e 's#gcc#%{__cc}#g' Makefile
 %{__make} \
+       CC="%{__cc}" \
        CFLAGS="%{rpmcflags}"
 
 %install
This page took 0.083678 seconds and 4 git commands to generate.