obsolete python-sip4 (python 2.7) [release 4.19.24-2mamba;Fri Jan 22 2021]
This commit is contained in:
parent
98b3ff8bb5
commit
b221012c51
@ -1,6 +1,6 @@
|
|||||||
Name: python-sip4
|
Name: python-sip4
|
||||||
Version: 4.19.22
|
Version: 4.19.24
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Python extension module generator for C and C++ libraries
|
Summary: Python extension module generator for C and C++ libraries
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -17,7 +17,6 @@ BuildRequires: libpython-devel
|
|||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libpython3-devel >= 3.7.4
|
BuildRequires: libpython3-devel >= 3.7.4
|
||||||
Requires: python27 >= %python27_version
|
|
||||||
Requires: sip4 = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: sip4 = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Provides: python-sip
|
Provides: python-sip
|
||||||
Obsoletes: python-sip
|
Obsoletes: python-sip
|
||||||
@ -28,30 +27,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|||||||
%description
|
%description
|
||||||
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
||||||
|
|
||||||
%if "%?with_pyver"
|
%if 0%{?with_pyver}
|
||||||
%define pyver %{with_pyver}
|
%define py_requires_append \
|
||||||
%define __python %(rpm --eval %{__python%{with_pyver}})
|
Obsoletes: python-sip4 < 4.19.24
|
||||||
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
%pyver_package
|
||||||
%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 py%{pyver}
|
|
||||||
Group: System/Libraries/Python
|
|
||||||
Summary: Python %{pyver} extension module generator for C and C++ libraries
|
|
||||||
|
|
||||||
%py_requires
|
|
||||||
|
|
||||||
%description py%{pyver}
|
|
||||||
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%package -n sip4
|
%package -n sip4
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Summary: Python %{pyver} extension module generator for C and C++ libraries
|
Summary: Python %{pyver} extension module generator for C and C++ libraries
|
||||||
|
Requires: python-sip4-py3
|
||||||
|
|
||||||
%description -n sip4
|
%description -n sip4
|
||||||
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
||||||
@ -59,7 +44,6 @@ This package provides the sip tool and documentation.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n sip-%{version}
|
%setup -q -n sip-%{version}
|
||||||
|
|
||||||
tar xf %{SOURCE0}
|
tar xf %{SOURCE0}
|
||||||
mv sip-%{version} PyQt5
|
mv sip-%{version} PyQt5
|
||||||
|
|
||||||
@ -87,6 +71,7 @@ cd PyQt5
|
|||||||
|
|
||||||
%files %{?with_pyver:py%{pyver}}
|
%files %{?with_pyver:py%{pyver}}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
# PyQt4
|
||||||
%{python_sitearch}/PyQt4/sip.pyi
|
%{python_sitearch}/PyQt4/sip.pyi
|
||||||
%{python_sitearch}/PyQt4/sip.so
|
%{python_sitearch}/PyQt4/sip.so
|
||||||
%dir %{python_sitearch}/PyQt4_sip-%{version}.dist-info
|
%dir %{python_sitearch}/PyQt4_sip-%{version}.dist-info
|
||||||
@ -111,6 +96,12 @@ cd PyQt5
|
|||||||
#%doc doc/*
|
#%doc doc/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.24-2mamba
|
||||||
|
- obsolete python-sip4 (python 2.7)
|
||||||
|
|
||||||
|
* Wed Jan 06 2021 Automatic Build System <autodist@mambasoft.it> 4.19.24-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Fri Apr 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.22-1mamba
|
* Fri Apr 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.22-1mamba
|
||||||
- update to 4.19.22
|
- update to 4.19.22
|
||||||
- legacy package
|
- legacy package
|
||||||
|
Loading…
Reference in New Issue
Block a user