SPECS (AC-branch): python.spec - add python-config to -devel; rel 4

glen glen at pld-linux.org
Fri Sep 15 16:48:36 CEST 2006


Author: glen                         Date: Fri Sep 15 14:48:36 2006 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- add python-config to -devel; rel 4

---- Files affected:
SPECS:
   python.spec (1.263.4.4 -> 1.263.4.5) 

---- Diffs:

================================================================
Index: SPECS/python.spec
diff -u SPECS/python.spec:1.263.4.4 SPECS/python.spec:1.263.4.5
--- SPECS/python.spec:1.263.4.4	Mon May 15 19:18:49 2006
+++ SPECS/python.spec	Fri Sep 15 16:48:31 2006
@@ -36,7 +36,7 @@
 Summary(uk):	íĎ×Á ĐŇĎÇŇÁÍŐ×ÁÎÎŃ ÄŐÖĹ ×ÉÓĎËĎÇĎ ŇŚ×ÎŃ Ú X-ŚÎÔĹŇĆĹĘÓĎÍ
 Name:		python
 Version:	%{py_ver}.3
-Release:	3
+Release:	4
 Epoch:		1
 License:	PSF
 Group:		Applications
@@ -44,6 +44,7 @@
 # Source0-md5:	141c683447d5e76be1d2bd4829574f02
 Source1:	http://www.python.org/ftp/python/doc/%{version}/html-%{version}.tar.bz2
 # Source1-md5:	86edf38b83fde1ff44d0725acf90c95c
+Source2:	%{name}-config
 Patch0:		%{name}-readline.patch
 Patch1:		%{name}-%{name}path.patch
 Patch2:		%{name}-no_ndbm.patch
@@ -85,9 +86,9 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %if %{with verbose_tests}
-%define test_flags -v -l -x 
+%define test_flags -v -l -x
 %else
-%define test_flags -l -x 
+%define test_flags -l -x
 %endif
 
 %ifarch alpha ia64 ppc64 sparc64 ppc64 %{x8664}
@@ -560,7 +561,8 @@
 rm -f $RPM_BUILD_ROOT%{_bindir}/python%{py_ver}
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-cp -ar Tools Demo $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a Tools Demo $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install %{SOURCE2}  $RPM_BUILD_ROOT%{_bindir}/python-config
 
 SCRIPT_EXT=".py"
 export SCRIPT_EXT
@@ -569,7 +571,7 @@
 for script in timeit profile pdb pstats smtpd; do
     cat <<END > $RPM_BUILD_ROOT%{_bindir}/${script}$SCRIPT_EXT
 #!/bin/sh
-exec %{_bindir}/python %{py_scriptdir}/${script}.pyc \${1:+"\$@"}
+exec %{__python} %{py_scriptdir}/${script}.pyc \${1:+"\$@"}
 END
 done
 
@@ -772,6 +774,7 @@
 %defattr(644,root,root,755)
 %doc Misc/{ACKS,NEWS,README}
 %attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_bindir}/python-config
 %dir %{py_incdir}
 %{py_incdir}/*.h
 
@@ -860,6 +863,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.263.4.5  2006/09/15 14:48:31  glen
+- add python-config to -devel; rel 4
+
 Revision 1.263.4.4  2006/05/15 17:18:49  hawk
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python.spec?r1=1.263.4.4&r2=1.263.4.5&f=u



More information about the pld-cvs-commit mailing list