Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package YODA for openSUSE:Factory checked in 
at 2022-10-28 19:30:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/YODA (Old)
 and      /work/SRC/openSUSE:Factory/.YODA.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "YODA"

Fri Oct 28 19:30:01 2022 rev:26 rq:1031545 version:1.9.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/YODA/YODA.changes        2022-08-28 
13:12:45.992612658 +0200
+++ /work/SRC/openSUSE:Factory/.YODA.new.2275/YODA.changes      2022-10-28 
19:30:27.818912154 +0200
@@ -1,0 +2,15 @@
+Sun Oct 23 10:12:58 UTC 2022 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 1.9.7
+  * Add Stat and Uncor to labels flagged as uncorrelated.
+  * Update yaml-cpp version for C++17 compatibility.
+  * Replace distutils with sysconfig and manual calls to the
+    compiler.
+- Add YODA-correct-python-platlib.patch: Use correct python
+  platlib ($prefix/lib64) consistently across different python
+  versions; although we do not build for multiple python versions,
+  we would not want to adapt the file list everytime upstream
+  python vacillates between lib (e.g. python 3.8/3.10) vs lib64
+  (e.g. python 3.9) for platlib.
+
+-------------------------------------------------------------------

Old:
----
  YODA-1.9.6.tar.bz2

New:
----
  YODA-1.9.7.tar.bz2
  YODA-correct-python-platlib.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ YODA.spec ++++++
--- /var/tmp/diff_new_pack.qbx7lx/_old  2022-10-28 19:30:28.394915043 +0200
+++ /var/tmp/diff_new_pack.qbx7lx/_new  2022-10-28 19:30:28.402915083 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define ver 1.9.6
+%define ver 1.9.7
 %define so_name lib%{name}-%(echo %{ver} | tr '.' '_')
 Name:           YODA
 Version:        %{ver}
@@ -27,6 +27,8 @@
 URL:            https://yoda.hepforge.org/
 Source:         http://www.hepforge.org/archive/yoda/%{name}-%{version}.tar.bz2
 Patch0:         sover.diff
+# PATCH-FEATURE-OPENSUSE YODA-correct-python-platlib.patch 
badshah...@gmail.com -- Ensure correct python platlib ($prefix/lib64/) is used 
consistently across multiple python versions
+Patch1:         YODA-correct-python-platlib.patch
 BuildRequires:  bash-completion
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
@@ -131,7 +133,6 @@
 find %{buildroot} -type f -name "*.la" -delete -print
 
 %check
-export PYTHONPATH=%{buildroot}%{python3_sitearch}
 %make_build check
 
 %post   -n %{so_name} -p /sbin/ldconfig
@@ -151,7 +152,6 @@
 %files -n python3-%{name}
 %{python3_sitearch}/yoda/
 %{python3_sitearch}/yoda1/
-%{python3_sitearch}/yoda*.egg-info
 %{_datadir}/bash-completion/completions/*
 %{_bindir}/aida2flat
 %{_bindir}/aida2yoda

++++++ YODA-1.9.6.tar.bz2 -> YODA-1.9.7.tar.bz2 ++++++
++++ 14355 lines of diff (skipped)

++++++ YODA-correct-python-platlib.patch ++++++
Index: YODA-1.9.7/configure.ac
===================================================================
--- YODA-1.9.7.orig/configure.ac
+++ YODA-1.9.7/configure.ac
@@ -117,7 +117,7 @@ if test x$enable_pyext = xyes; then
   AC_SUBST(PYTHON_FULL_VERSION)
   AC_SUBST(PYTHON_MAJOR_VERSION)
   #YODA_PYTHONPATH=$pythondir
-  YODA_PYTHONPATH=`$PYTHON -c "from __future__ import print_function; import 
sysconfig; print(sysconfig.get_path('platlib', 'posix_user', vars={'userbase' : 
'$prefix'}))"`
+  YODA_PYTHONPATH=`$PYTHON -c "from __future__ import print_function; import 
sysconfig; print(sysconfig.get_path('platlib', vars={'userbase' : '$prefix'}))"`
   AC_SUBST(YODA_PYTHONPATH)
   AC_MSG_NOTICE(YODA Python lib will be installed to $YODA_PYTHONPATH)
   if test -z "$PYTHON"; then

Reply via email to