packages: ogre/ogre.spec - drop cmake options provides by cmake macro

lisu lisu at pld-linux.org
Mon Feb 14 13:13:25 CET 2011


Author: lisu                         Date: Mon Feb 14 12:13:25 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- drop cmake options provides by cmake macro

---- Files affected:
packages/ogre:
   ogre.spec (1.45 -> 1.46) 

---- Diffs:

================================================================
Index: packages/ogre/ogre.spec
diff -u packages/ogre/ogre.spec:1.45 packages/ogre/ogre.spec:1.46
--- packages/ogre/ogre.spec:1.45	Tue Nov  9 19:51:18 2010
+++ packages/ogre/ogre.spec	Mon Feb 14 13:13:20 2011
@@ -30,6 +30,7 @@
 BuildRequires:	freetype-devel >= 2.1.0
 BuildRequires:	libstdc++-devel
 BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.600
 BuildRequires:	xorg-lib-libXaw-devel
 BuildRequires:	xorg-lib-libXrandr-devel
 BuildRequires:	xorg-lib-libXxf86vm-devel
@@ -79,12 +80,7 @@
 %build
 install -d build
 cd build
-%cmake .. \
-	-DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
-	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-%if "%{_lib}" == "lib64"
-	-DWANT_LIB64=TRUE
-%endif
+%cmake ..
 
 %{__make}
 
@@ -142,6 +138,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.46  2011/02/14 12:13:20  lisu
+- drop cmake options provides by cmake macro
+
 Revision 1.45  2010/11/09 18:51:18  lisu
 - builds on 64 bits
 - rel 1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ogre/ogre.spec?r1=1.45&r2=1.46&f=u



More information about the pld-cvs-commit mailing list