SPECS: python3.spec - create python3 symlink and use it in scripts - release 2
wiget
wiget at pld-linux.org
Sat Mar 14 18:33:23 CET 2009
Author: wiget Date: Sat Mar 14 17:33:23 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- create python3 symlink and use it in scripts
- release 2
---- Files affected:
SPECS:
python3.spec (1.17 -> 1.18)
---- Diffs:
================================================================
Index: SPECS/python3.spec
diff -u SPECS/python3.spec:1.17 SPECS/python3.spec:1.18
--- SPECS/python3.spec:1.17 Wed Feb 25 20:43:30 2009
+++ SPECS/python3.spec Sat Mar 14 18:33:16 2009
@@ -32,7 +32,7 @@
Summary(uk.UTF-8): Мова програмування дуже високого рівня з X-інтерфейсом
Name: python3
Version: %{py_ver}.1
-Release: 1
+Release: 2
Epoch: 1
License: PSF
Group: Applications
@@ -495,6 +495,7 @@
%patch3 -p1
%patch4 -p1
%patch5 -p1
+sed -i -e 's=@EXENAME@=%{_bindir}/python3=' Misc/python-config.in
%build
sed -i -e 's#-ltermcap#-ltinfo#g' configure*
@@ -599,6 +600,8 @@
mv $RPM_BUILD_ROOT%{_bindir}/${script} $RPM_BUILD_ROOT%{_bindir}/${script}%{py_ver}
done
+ln -s python%{py_ver} $RPM_BUILD_ROOT%{_bindir}/python3
+
# just to cut the noise, as they are not packaged (now)
# first tests
rm -rf $RPM_BUILD_ROOT%{py_scriptdir}/test
@@ -637,6 +640,7 @@
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/python%{py_ver}
+%attr(755,root,root) %{_bindir}/python3
%files modules
%defattr(644,root,root,755)
@@ -950,6 +954,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.18 2009/03/14 17:33:16 wiget
+- create python3 symlink and use it in scripts
+- release 2
+
Revision 1.17 2009/02/25 19:43:30 arekm
- renamed from xxx30 to xxx3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python3.spec?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list