From 571899cf17fc2284189c72e35dca7f2757f942eb Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Jul 31 2010 17:36:36 +0000 Subject: * Sat Jul 31 2010 Toshio Kuratomi - 5.10.1-21 - Fix python location --- diff --git a/csound.spec b/csound.spec index cf426fa..5f0a9da 100644 --- a/csound.spec +++ b/csound.spec @@ -1,4 +1,5 @@ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%{!?python_version: %global python_version %(%{__python} -c "import sys; print '%s.%s' % sys.version_info[:2]")} # Csound is really dumb about 64-bit %ifarch x86_64 ia64 ppc64 sparc64 @@ -14,7 +15,7 @@ Summary: A sound synthesis language and library Name: csound Version: 5.10.1 -Release: 20%{?dist} +Release: 21%{?dist} URL: http://csound.sourceforge.net/ License: LGPLv2+ Group: Applications/Multimedia @@ -235,7 +236,7 @@ scons dynamicCsoundLibrary=1 \ useFluidsynth=1 \ generatePdf=0 \ buildCsound5GUI=1 \ - pythonVersion=2.6 \ + pythonVersion=%{python_version} \ buildPythonOpcodes=1 \ buildPythonWrapper=1 \ buildLuaWrapper=1 \ @@ -447,6 +448,9 @@ fi %doc manual/examples %changelog +* Sat Jul 31 2010 Toshio Kuratomi - 5.10.1-21 +- Fix python location + * Wed Jul 21 2010 David Malcolm - 5.10.1-20 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild