update to 4.19.25
remove PyQt5 support [release 4.19.25-1mamba;Mon Nov 08 2021]
This commit is contained in:
parent
b221012c51
commit
a21dbaa78f
@ -1,6 +1,6 @@
|
||||
Name: python-sip4
|
||||
Version: 4.19.24
|
||||
Release: 2mamba
|
||||
Version: 4.19.25
|
||||
Release: 1mamba
|
||||
Summary: Python extension module generator for C and C++ libraries
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
@ -13,7 +13,7 @@ License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython3-devel >= 3.7.4
|
||||
@ -22,7 +22,6 @@ Provides: python-sip
|
||||
Obsoletes: python-sip
|
||||
Provides: python-sip-devel
|
||||
Obsoletes: python-sip-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
||||
@ -44,8 +43,8 @@ This package provides the sip tool and documentation.
|
||||
|
||||
%prep
|
||||
%setup -q -n sip-%{version}
|
||||
tar xf %{SOURCE0}
|
||||
mv sip-%{version} PyQt5
|
||||
#tar xf %{SOURCE0}
|
||||
#mv sip-%{version} PyQt5
|
||||
|
||||
%build
|
||||
%{__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
|
||||
@ -53,16 +52,16 @@ mv sip-%{version} PyQt5
|
||||
|
||||
%make
|
||||
|
||||
cd PyQt5
|
||||
%{__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
|
||||
--sip-module=PyQt5.sip
|
||||
|
||||
%make
|
||||
#cd PyQt5
|
||||
#% {__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
|
||||
# --sip-module=PyQt5.sip
|
||||
#
|
||||
#% make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
%makeinstall -C PyQt5
|
||||
#% makeinstall -C PyQt5
|
||||
|
||||
#install -d -m0755 %{buildroot}%{_datadir}/sip
|
||||
|
||||
@ -77,11 +76,11 @@ cd PyQt5
|
||||
%dir %{python_sitearch}/PyQt4_sip-%{version}.dist-info
|
||||
%{python_sitearch}/PyQt4_sip-%{version}.dist-info/*
|
||||
%{python_sitearch}/*.py*
|
||||
# for PyQt5
|
||||
%{python_sitearch}/PyQt5/sip.so
|
||||
%{python_sitearch}/PyQt5/sip.pyi
|
||||
%dir %{python_sitearch}/PyQt5_sip-%{version}.dist-info
|
||||
%{python_sitearch}/PyQt5_sip-%{version}.dist-info/*
|
||||
## for PyQt5
|
||||
#%{python_sitearch}/PyQt5/sip.so
|
||||
#%{python_sitearch}/PyQt5/sip.pyi
|
||||
#%dir %{python_sitearch}/PyQt5_sip-%{version}.dist-info
|
||||
#%{python_sitearch}/PyQt5_sip-%{version}.dist-info/*
|
||||
%if "%?with_pyver"
|
||||
%{python_inc}/sip.h
|
||||
%else
|
||||
@ -96,6 +95,10 @@ cd PyQt5
|
||||
#%doc doc/*
|
||||
|
||||
%changelog
|
||||
* Mon Nov 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.25-1mamba
|
||||
- update to 4.19.25
|
||||
- remove PyQt5 support
|
||||
|
||||
* Fri Jan 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.24-2mamba
|
||||
- obsolete python-sip4 (python 2.7)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user