forked from pool/python-sip
Accepting request 695284 from home:TheBlackCat:branches:KDE:Qt5
- Package .dist-info directory. The bugs with it have been fixed and some packages require it in order to properly detect that sip is installed. OBS-URL: https://build.opensuse.org/request/show/695284 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python-sip?expand=0&rev=30
This commit is contained in:
parent
06d4820b70
commit
23652e0eaa
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 17 15:22:28 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||||
|
|
||||||
|
- Package .dist-info directory. The bugs with it have been fixed
|
||||||
|
and some packages require it in order to properly detect that
|
||||||
|
sip is installed.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 6 14:12:54 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
Sat Apr 6 14:12:54 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
@ -115,10 +115,9 @@ pushd build_%{$python_bin_suffix}
|
|||||||
# Link against libpython (fixes bnc#756282 and bnc#721280)
|
# Link against libpython (fixes bnc#756282 and bnc#721280)
|
||||||
ldlibrary=`$python -c "import sysconfig as s;print(s.get_config_var('LDLIBRARY')[3:-3])"`
|
ldlibrary=`$python -c "import sysconfig as s;print(s.get_config_var('LDLIBRARY')[3:-3])"`
|
||||||
$python ../configure.py --debug \
|
$python ../configure.py --debug \
|
||||||
CFLAGS+="%{optflags}" \
|
CFLAGS+="%{optflags}" \
|
||||||
CXXFLAGS+="%{optflags}" \
|
CXXFLAGS+="%{optflags}" \
|
||||||
LIBS+="-l$ldlibrary" \
|
LIBS+="-l$ldlibrary"
|
||||||
--no-dist-info
|
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -225,6 +224,7 @@ mkdir -p %{buildroot}%{_datadir}/sip
|
|||||||
%{python_sitearch}/PyQt4/sip.so
|
%{python_sitearch}/PyQt4/sip.so
|
||||||
%dir %{python_sitearch}/PyQt5
|
%dir %{python_sitearch}/PyQt5
|
||||||
%{python_sitearch}/PyQt5/sip.so
|
%{python_sitearch}/PyQt5/sip.so
|
||||||
|
%{python_sitearch}/sip-%{version}.dist-info/
|
||||||
|
|
||||||
%files %{python_files devel}
|
%files %{python_files devel}
|
||||||
%license LICENSE*
|
%license LICENSE*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user