rpms/olpcsound/devel olpcsound.spec,1.4,1.5

Peter Robinson pbrobinson at fedoraproject.org
Sat Jan 3 05:46:54 UTC 2009


Author: pbrobinson

Update of /cvs/pkgs/rpms/olpcsound/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9322

Modified Files:
	olpcsound.spec 
Log Message:
- Hopefully fix versioned python dir locations



Index: olpcsound.spec
===================================================================
RCS file: /cvs/pkgs/rpms/olpcsound/devel/olpcsound.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- olpcsound.spec	29 Nov 2008 16:55:47 -0000	1.4
+++ olpcsound.spec	3 Jan 2009 05:46:15 -0000	1.5
@@ -1,7 +1,7 @@
 Summary: Csound - sound synthesis language and library, OLPC subset
 Name:   olpcsound        
 Version: 5.08.92
-Release: 13%{?dist}
+Release: 14%{?dist}
 URL: http://csound.sourceforge.net/
 License: LGPLv2+
 Group: Applications/Multimedia
@@ -16,7 +16,7 @@
 BuildRequires: swig python scons alsa-lib-devel liblo-devel libsndfile-devel 
 BuildRequires: jack-audio-connection-kit-devel 
 BuildRequires: libpng-devel libjpeg-devel libvorbis-devel libogg-devel gettext python-devel
-%define python_site_dir %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
+%{?!pyver: %define pyver %(python -c 'import sys;print(sys.version[0:3])')}
 
 ExclusiveArch: i386
 
@@ -64,7 +64,7 @@
 %{_libdir}/csound/plugins/*
 %{_libdir}/libcsound.so.5.1
 %{_libdir}/libcsnd.so.5.1
-%{python_site_dir}/*
+%{_libdir}/python%{pyver}/site-packages/*
 %dir %{_datadir}/doc/csound
 %{_datadir}/doc/csound/*
 
@@ -78,6 +78,9 @@
 
 
 %changelog
+* Sat Jan  3 2008 Peter Robinson <pbrobinson at gmail.com> - 5.08.92-14
+- Hopefully fix versioned python dir locations
+
 * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 5.08.92-13
 - Rebuild for Python 2.6
 




More information about the fedora-extras-commits mailing list