update to 2.7.9

macros.python: added %pyver_package macro [release 2.7.9-1mamba;Sat May 16 2015]
This commit is contained in:
Silvan Calarco 2024-01-05 16:58:20 +01:00
parent ceae24dc92
commit 30b4819544
2 changed files with 25 additions and 1 deletions

View File

@ -24,3 +24,23 @@ find %1 -name '*.pyc' -name '*.pyo' -exec rm -f {} \\; \
BuildRequires: python27, libpython27-devel \ BuildRequires: python27, libpython27-devel \
PreReq: python27 >= %{python_version}, python < %{maxver} PreReq: python27 >= %{python_version}, python < %{maxver}
%pyver_package \
%define pyver %{with_pyver} \
%define pyappend py%{with_pyver} \
%define __python %(rpm --eval %{__python%{pyver}}) \
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch}) \
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib}) \
%define python_inc %(rpm --eval %{python%{with_pyver}_inc}) \
%define python_version %(rpm --eval %{python%{with_pyver}_version}) \
%define python_provides %(rpm --eval %{python%{with_pyver}_provides}) \
%define python_requires %(rpm --eval %{python%{with_pyver}_requires}) \
%define py_requires %(rpm --eval %{py%{with_pyver}_requires}) \
\
%package %{pyappend} \
Group: System/Libraries/Python \
Summary: %{summary} \
%py_requires \
\
%description %{pyappend} \
%{summary} \

View File

@ -6,7 +6,7 @@
#% define __libdir %{_prefix}/lib #% define __libdir %{_prefix}/lib
%define __libdir %{_libdir} %define __libdir %{_libdir}
Name: python27 Name: python27
Version: 2.7.8 Version: 2.7.9
Release: 1mamba Release: 1mamba
Summary: An interpreted, interactive, object-oriented programming language Summary: An interpreted, interactive, object-oriented programming language
Group: Applications/Development Group: Applications/Development
@ -359,6 +359,10 @@ exit 0
%endif %endif
%changelog %changelog
* Sat May 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.9-1mamba
- update to 2.7.9
- macros.python: added %pyver_package macro
* Sun Nov 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.8-1mamba * Sun Nov 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.8-1mamba
- update to 2.7.8 - update to 2.7.8