SPECS: exiftags.spec - added -Makefile.patch - pass properly %{rpmcflags} a...

megabajt megabajt at pld-linux.org
Sat Jul 5 20:32:59 CEST 2008


Author: megabajt                     Date: Sat Jul  5 18:32:59 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added -Makefile.patch
- pass properly %{rpmcflags} and %{rpmldflags}

---- Files affected:
SPECS:
   exiftags.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/exiftags.spec
diff -u SPECS/exiftags.spec:1.16 SPECS/exiftags.spec:1.17
--- SPECS/exiftags.spec:1.16	Thu Dec 27 02:29:23 2007
+++ SPECS/exiftags.spec	Sat Jul  5 20:32:54 2008
@@ -8,6 +8,7 @@
 Group:		Applications/Multimedia
 Source0:	http://johnst.org/sw/exiftags/%{name}-%{version}.tar.gz
 # Source0-md5:	9d5bce968fdde2dc24ba49c0024dc0cc
+Patch0:		%{name}-Makefile.patch
 URL:		http://johnst.org/sw/exiftags/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,11 +39,13 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__make} \
-	RPM_OPT_FLAGS="%{rpmcflags}" \
-	CC="%{__cc}"
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -69,6 +72,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2008/07/05 18:32:54  megabajt
+- added -Makefile.patch
+- pass properly %{rpmcflags} and %{rpmldflags}
+
 Revision 1.16  2007/12/27 01:29:23  zbyniu
 - up to 1.01
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/exiftags.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list