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>
|
||||
|
||||
|
@ -115,10 +115,9 @@ pushd build_%{$python_bin_suffix}
|
||||
# Link against libpython (fixes bnc#756282 and bnc#721280)
|
||||
ldlibrary=`$python -c "import sysconfig as s;print(s.get_config_var('LDLIBRARY')[3:-3])"`
|
||||
$python ../configure.py --debug \
|
||||
CFLAGS+="%{optflags}" \
|
||||
CXXFLAGS+="%{optflags}" \
|
||||
LIBS+="-l$ldlibrary" \
|
||||
--no-dist-info
|
||||
CFLAGS+="%{optflags}" \
|
||||
CXXFLAGS+="%{optflags}" \
|
||||
LIBS+="-l$ldlibrary"
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -225,6 +224,7 @@ mkdir -p %{buildroot}%{_datadir}/sip
|
||||
%{python_sitearch}/PyQt4/sip.so
|
||||
%dir %{python_sitearch}/PyQt5
|
||||
%{python_sitearch}/PyQt5/sip.so
|
||||
%{python_sitearch}/sip-%{version}.dist-info/
|
||||
|
||||
%files %{python_files devel}
|
||||
%license LICENSE*
|
||||
|
Loading…
Reference in New Issue
Block a user