[csound] * Sat Jul 31 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 5.10.1-21 - Fix python location

Toshio くらとみ toshio at fedoraproject.org
Sat Jul 31 17:36:46 UTC 2010


commit 571899cf17fc2284189c72e35dca7f2757f942eb
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Sat Jul 31 13:36:36 2010 -0400

    * Sat Jul 31 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 5.10.1-21
    - Fix python location

 csound.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
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 <toshio at fedoraproject.org> - 5.10.1-21
+- Fix python location
+
 * Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 5.10.1-20
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 


More information about the scm-commits mailing list