From 23652e0eaa4ed39cf1777ba5b6b382c402e9f9d3b334353af07a1ebe570e7fd5 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 17 Apr 2019 21:09:03 +0000 Subject: [PATCH] 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 --- python-sip.changes | 7 +++++++ python-sip.spec | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-sip.changes b/python-sip.changes index 89f47ff..4fb2c71 100644 --- a/python-sip.changes +++ b/python-sip.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Apr 17 15:22:28 UTC 2019 - Todd R + +- 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 diff --git a/python-sip.spec b/python-sip.spec index 4135298..cebc068 100644 --- a/python-sip.spec +++ b/python-sip.spec @@ -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*