SPECS: FreeImage.spec - really use optflags - more verbose files

qboosh qboosh at pld-linux.org
Sun May 27 16:50:03 CEST 2007


Author: qboosh                       Date: Sun May 27 14:50:03 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- really use optflags
- more verbose files

---- Files affected:
SPECS:
   FreeImage.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/FreeImage.spec
diff -u SPECS/FreeImage.spec:1.8 SPECS/FreeImage.spec:1.9
--- SPECS/FreeImage.spec:1.8	Sat May 26 11:29:10 2007
+++ SPECS/FreeImage.spec	Sun May 27 16:49:58 2007
@@ -57,7 +57,9 @@
 
 %build
 %{__make} \
-	RPM_OPT_FLAGS="%{rpmcflags}"
+	CC="%{__cc}" \
+	CXX="%{__cxx}" \
+	COMPILERFLAGS="%{rpmcflags} -fPIC"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -88,12 +90,12 @@
 %defattr(644,root,root,755)
 %doc FreeImage%{_ver}.pdf
 %attr(755,root,root) %{_libdir}/libfreeimage.so
-%{_includedir}/*
+%{_includedir}/FreeImage.h
 %{_examplesdir}/%{name}-%{version}
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libfreeimage.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -101,6 +103,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2007/05/27 14:49:58  qboosh
+- really use optflags
+- more verbose files
+
 Revision 1.8  2007/05/26 09:29:10  arvenil
 - BR: libstdc++-devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/FreeImage.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list