rpms/player/F-11 player.spec,1.10,1.11
Tim Niemueller
timn at fedoraproject.org
Sun Jan 10 18:31:38 UTC 2010
Author: timn
Update of /cvs/pkgs/rpms/player/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29129
Modified Files:
player.spec
Log Message:
Fix build on F-11, use define instead of global macro
Index: player.spec
===================================================================
RCS file: /cvs/pkgs/rpms/player/F-11/player.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- player.spec 10 Jan 2010 15:55:47 -0000 1.10
+++ player.spec 10 Jan 2010 18:31:38 -0000 1.11
@@ -1,5 +1,5 @@
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')}
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')}
Name: player
Version: 3.0.1
@@ -205,6 +205,10 @@ rm -rf $RPM_BUILD_ROOT
%{ruby_sitearch}/*.so
%changelog
+* Sun Jan 10 2010 Tim Niemueller <tim at niemueller.de> - 3.0.1-2
+- Use define instead of global macro to force lazy evaluation of *_sitearch
+ macros, fixes compilation when Python/Ruby is not installed by on buildsys
+
* Sun Jan 10 2010 Rich Mattes <richmattes at gmail.com> - 3.0.1-1
- Updated to release 3.0.1
- Fixed ruby bindings install path
More information about the scm-commits
mailing list