rpms/csound/devel csound.spec,1.35,1.36

Peter Robinson pbrobinson at fedoraproject.org
Sat Jan 9 15:34:05 UTC 2010


Author: pbrobinson

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

Modified Files:
	csound.spec 
Log Message:
 Updated to the new python sysarch spec file reqs


Index: csound.spec
===================================================================
RCS file: /cvs/pkgs/rpms/csound/devel/csound.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -p -r1.35 -r1.36
--- csound.spec	3 Dec 2009 17:51:32 -0000	1.35
+++ csound.spec	9 Jan 2010 15:34:05 -0000	1.36
@@ -1,3 +1,5 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+
 # Csound is really dumb about 64-bit
 %ifarch x86_64 ia64 ppc64 sparc64
 %define build64bit 1
@@ -9,12 +11,10 @@
 %define useDouble 0
 %endif
 
-%{?!pyver: %define pyver %(python -c 'import sys;print(sys.version[0:3])')}
-
 Summary:       A sound synthesis language and library
 Name:          csound
 Version:       5.10.1
-Release:       14%{?dist}
+Release:       15%{?dist}
 URL:           http://csound.sourceforge.net/
 License:       LGPLv2+
 Group:         Applications/Multimedia
@@ -382,7 +382,8 @@ fi
 %files python
 %defattr(-,root,root,-)
 %{_libdir}/libcsnd.so.5.2
-%{_libdir}/python%{pyver}/site-packages/*
+%{python_sitelib}/csnd*
+%{python_sitelib}/_csnd*
 
 %files python-devel
 %defattr(-,root,root,-)
@@ -445,6 +446,9 @@ fi
 %doc manual/examples
 
 %changelog
+* Sat Jan  9 2010 Peter Robinson <pbrobinson at gmail.com> - 5.10.1-15
+- Updated to the new python sysarch spec file reqs
+
 * Thu Dec  3 2009 Peter Robinson <pbrobinson at gmail.com> - 5.10.1-14
 - Updated python patch thanks to dsd.
 




More information about the fedora-extras-commits mailing list