SPECS: md4sum.spec - pass %rpmcflags (-Makefile.patch)

twittner twittner at pld-linux.org
Mon Oct 24 19:24:41 CEST 2005


Author: twittner                     Date: Mon Oct 24 17:24:41 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass %rpmcflags (-Makefile.patch)

---- Files affected:
SPECS:
   md4sum.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/md4sum.spec
diff -u SPECS/md4sum.spec:1.2 SPECS/md4sum.spec:1.3
--- SPECS/md4sum.spec:1.2	Mon Oct 24 14:24:49 2005
+++ SPECS/md4sum.spec	Mon Oct 24 19:24:36 2005
@@ -8,6 +8,7 @@
 Group:		Applications/File
 Source0:	ftp://ibiblio.org/pub/Linux/utils/file/%{name}-%{version}.tar.gz
 # Source0-md5:	f8c060c61231429f0efb7860da1423f6
+Patch0:		%{name}-Makefile.patch
 URL:		http://linux.xulin.de/c/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -21,10 +22,12 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%configure
-%{__make}
+./configure
+%{__make} \
+	CC="%{__cc}" CFLAGS="%{rpmcflags}"
 %{__make} test
 
 %install
@@ -49,6 +52,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/10/24 17:24:36  twittner
+- pass %rpmcflags (-Makefile.patch)
+
 Revision 1.2  2005/10/24 12:24:49  saq
 - cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/md4sum.spec?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list