updated rpm macros files [release 2.7.18-2mamba;Fri Jan 01 2021]
This commit is contained in:
parent
d21f4d3f1b
commit
202cade2c7
@ -22,5 +22,4 @@ find %1 -name '*.pyc' -name '*.pyo' -exec rm -f {} \\; \
|
|||||||
%py27_requires(d) \
|
%py27_requires(d) \
|
||||||
%define maxver %(%{__python27} -c "import sys; a,b=sys.version_info[:2]; print '%%d.%%d'%%(a,b+1)" 2>/dev/null || echo PYTHON-NOT-FOUND) \
|
%define maxver %(%{__python27} -c "import sys; a,b=sys.version_info[:2]; print '%%d.%%d'%%(a,b+1)" 2>/dev/null || echo PYTHON-NOT-FOUND) \
|
||||||
BuildRequires: python27, libpython27-devel \
|
BuildRequires: python27, libpython27-devel \
|
||||||
PreReq: python27 >= %{python27_version}, python27 < %{maxver}
|
Requires(pre): python27 >= %{python27_version}, python27 < %{maxver}
|
||||||
|
|
||||||
|
@ -23,25 +23,4 @@ find %1 -name '*.pyc' -name '*.pyo' -exec rm -f {} \\; \
|
|||||||
%py_requires(d) \
|
%py_requires(d) \
|
||||||
%define maxver %(%{__python} -c "import sys; a,b=sys.version_info[:2]; print '%%d.%%d'%%(a,b+1)" 2>/dev/null || echo PYTHON-NOT-FOUND) \
|
%define maxver %(%{__python} -c "import sys; a,b=sys.version_info[:2]; print '%%d.%%d'%%(a,b+1)" 2>/dev/null || echo PYTHON-NOT-FOUND) \
|
||||||
BuildRequires: python27, libpython27-devel \
|
BuildRequires: python27, libpython27-devel \
|
||||||
PreReq: python27 >= %{python_version}, python < %{maxver}
|
Requires(pre): 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} \
|
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
%define __libdir %{_libdir}
|
%define __libdir %{_libdir}
|
||||||
Name: python27
|
Name: python27
|
||||||
Version: 2.7.18
|
Version: 2.7.18
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: An interpreted, interactive, object-oriented programming language
|
Summary: An interpreted, interactive, object-oriented programming language
|
||||||
Group: Applications/Development
|
Group: Applications/Development
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -48,15 +48,14 @@ BuildRequires: latex2html >= 2002
|
|||||||
BuildRequires: tetex >= 3.0
|
BuildRequires: tetex >= 3.0
|
||||||
BuildRequires: libtk >= 8.4.11
|
BuildRequires: libtk >= 8.4.11
|
||||||
BuildRequires: libbluez-devel >= 2.21
|
BuildRequires: libbluez-devel >= 2.21
|
||||||
BuildRequires: python-Sphinx
|
#BuildRequires: python-Sphinx
|
||||||
BuildRequires: python-Jinja2
|
#BuildRequires: python-Jinja2
|
||||||
#%endif
|
#%endif
|
||||||
Requires: %{libname} = %{?epoch:epoch:}%{version}-%{release}
|
Requires: %{libname} = %{?epoch:epoch:}%{version}-%{release}
|
||||||
Provides: python-abi = %{majversion}
|
Provides: python-abi = %{majversion}
|
||||||
Provides: python(abi) = %{majversion}
|
Provides: python(abi) = %{majversion}
|
||||||
Provides: /usr/bin/python
|
Provides: /usr/bin/python
|
||||||
Provides: python
|
Provides: python = %{?epoch:epoch:}%{version}-%{release}
|
||||||
Obsoletes: python
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -366,6 +365,9 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.18-2mamba
|
||||||
|
- updated rpm macros files
|
||||||
|
|
||||||
* Fri Nov 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.18-1mamba
|
* Fri Nov 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.18-1mamba
|
||||||
- update to 2.7.18
|
- update to 2.7.18
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user