packages: physfs/physfs.spec - don't require C++ compiler

sparky sparky at pld-linux.org
Fri Dec 4 02:58:10 CET 2009


Author: sparky                       Date: Fri Dec  4 01:58:10 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- don't require C++ compiler

---- Files affected:
packages/physfs:
   physfs.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/physfs/physfs.spec
diff -u packages/physfs/physfs.spec:1.18 packages/physfs/physfs.spec:1.19
--- packages/physfs/physfs.spec:1.18	Sun Mar 15 23:56:20 2009
+++ packages/physfs/physfs.spec	Fri Dec  4 02:58:04 2009
@@ -107,7 +107,9 @@
 %setup -q
 
 %build
-%{__cmake} .
+%{__cmake} . \
+	-DCMAKE_CXX_COMPILER_WORKS=1 \
+	-DCMAKE_CXX_COMPILER="%{__cc}"
 
 # fix paths
 %{__sed} -i -e 's,/usr/local,/usr,g' cmake_install.cmake
@@ -138,7 +140,7 @@
 %defattr(644,root,root,755)
 %doc CHANGELOG.txt CREDITS.txt LICENSE.txt TODO.txt
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
-%ghost %{_libdir}/lib*.so.1
+%attr(755,root,root) %ghost %{_libdir}/lib*.so.1
 
 %files devel
 %defattr(644,root,root,755)
@@ -161,6 +163,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2009/12/04 01:58:04  sparky
+- don't require C++ compiler
+
 Revision 1.18  2009/03/15 22:56:20  duddits
 - small hack for x86_64
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/physfs/physfs.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list