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*