rpms/csound/EL-6 csound.spec,1.35,1.36

Peter Robinson pbrobinson at fedoraproject.org
Sun Jul 11 15:25:32 UTC 2010


Author: pbrobinson

Update of /cvs/pkgs/rpms/csound/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv13542

Modified Files:
	csound.spec 
Log Message:
- Initial EL-6 commit


Index: csound.spec
===================================================================
RCS file: /cvs/pkgs/rpms/csound/EL-6/csound.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -p -r1.35 -r1.36
--- csound.spec	3 Dec 2009 17:54:20 -0000	1.35
+++ csound.spec	11 Jul 2010 15:25:32 -0000	1.36
@@ -1,3 +1,5 @@
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+
 # 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:       17%{?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_sitearch}/_csnd*
+%{python_sitearch}/csnd*
 
 %files python-devel
 %defattr(-,root,root,-)
@@ -445,6 +446,15 @@ fi
 %doc manual/examples
 
 %changelog
+* Sat Jan  9 2010 Peter Robinson <pbrobinson at gmail.com> - 5.10.1-17
+- Some further cleanups
+
+* Sat Jan  9 2010 Peter Robinson <pbrobinson at gmail.com> - 5.10.1-16
+- Some further cleanups
+
+* 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 scm-commits mailing list