commit OpenIPMI for openSUSE:Factory

2022-05-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package OpenIPMI for openSUSE:Factory 
checked in at 2022-05-12 22:57:37

Comparing /work/SRC/openSUSE:Factory/OpenIPMI (Old)
 and  /work/SRC/openSUSE:Factory/.OpenIPMI.new.1538 (New)


Package is "OpenIPMI"

Thu May 12 22:57:37 2022 rev:55 rq:976023 version:2.0.31

Changes:

--- /work/SRC/openSUSE:Factory/OpenIPMI/OpenIPMI.changes2022-05-05 
23:05:52.645518653 +0200
+++ /work/SRC/openSUSE:Factory/.OpenIPMI.new.1538/OpenIPMI.changes  
2022-05-12 22:57:44.192585433 +0200
@@ -1,0 +2,9 @@
+Mon May  9 16:41:24 UTC 2022 - Ben Greiner 
+
+- Add OpenIPMI-autoconf-m4-ax-python-devel-serial25.patch
+  which updates m4/ax_python_devel.m4 to serial25, retaining
+  upstreams PYTHON_VERSION addition, before the bootstrap runs
+  automake, because the new serial 25 can deal with
+  Python 3.10 version strings and deprecation of distutils.
+
+---

New:

  OpenIPMI-autoconf-m4-ax-python-devel-serial25.patch



Other differences:
--
++ OpenIPMI.spec ++
--- /var/tmp/diff_new_pack.h0LaV3/_old  2022-05-12 22:57:44.788586233 +0200
+++ /var/tmp/diff_new_pack.h0LaV3/_new  2022-05-12 22:57:44.792586239 +0200
@@ -58,6 +58,10 @@
 Patch8: use_python3_shebang
 Patch9: 
lanserv-Add-the-judgment-on-the-validity-of-length-in-emu_cmd.c-and-session-in-lanserv_ipmi.c.patch
 Patch10:unix_thread-Remove-the-fd-handler-sets-before-it-s-set-up.patch
+# PATCH-FIX-UPSTREAM OpenIPMI-autoconf-m4-ax-python-devel-serial25.patch
+# replace autoconf script serial18 addtion by serial 25 capable of finding 
python3.10
+# retains upstream change 
https://sourceforge.net/p/openipmi/code/ci/53d2b36b58383d155e2410cae3b30975a92f417d
+Patch11:OpenIPMI-autoconf-m4-ax-python-devel-serial25.patch
 
 BuildRequires:  autoconf-archive
 BuildRequires:  gd-devel

++ OpenIPMI-autoconf-m4-ax-python-devel-serial25.patch ++
diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4
index e0804c5..3696cef 100644
--- a/m4/ax_python_devel.m4
+++ b/m4/ax_python_devel.m4
@@ -1,5 +1,5 @@
 # ===
-#  http://www.gnu.org/software/autoconf-archive/ax_python_devel.html
+# https://www.gnu.org/software/autoconf-archive/ax_python_devel.html
 # ===
 #
 # SYNOPSIS
@@ -52,7 +52,7 @@
 #   Public License for more details.
 #
 #   You should have received a copy of the GNU General Public License along
-#   with this program. If not, see .
+#   with this program. If not, see .
 #
 #   As a special exception, the respective Autoconf Macro's copyright owner
 #   gives unlimited permission to copy, distribute and modify the configure
@@ -67,7 +67,7 @@
 #   modified version of the Autoconf Macro, you may extend this special
 #   exception to the GPL to apply to your modified version as well.
 
-#serial 18
+#serial 25
 
 AU_ALIAS([AC_PYTHON_DEVEL], [AX_PYTHON_DEVEL])
 AC_DEFUN([AX_PYTHON_DEVEL],[
@@ -118,15 +118,39 @@ to something else than an empty string.
fi
 
#
-   # if the macro parameter ``version'' is set, honour it
+   # If the macro parameter ``version'' is set, honour it.
+   # A Python shim class, VPy, is used to implement correct version 
comparisons via
+   # string expressions, since e.g. a naive textual ">= 2.7.3" won't work 
for
+   # Python 2.7.10 (the ".1" being evaluated as less than ".3").
#
if test -n "$1"; then
AC_MSG_CHECKING([for a version of Python $1])
-   ac_supports_python_ver=`$PYTHON -c "import sys; \
-   ver = sys.version.split ()[[0]]; \
+cat << EOF > ax_python_devel_vpy.py
+class VPy:
+def vtup(self, s):
+return tuple(map(int, s.strip().replace("rc", ".").split(".")))
+def __init__(self):
+import sys
+self.vpy = tuple(sys.version_info)
+def __eq__(self, s):
+return self.vpy == self.vtup(s)
+def __ne__(self, s):
+return self.vpy != self.vtup(s)
+def __lt__(self, s):
+return self.vpy < self.vtup(s)
+def __gt__(self, s):
+return self.vpy > self.vtup(s)
+def __le__(self, s):
+return self.vpy <= self.vtup(s)
+def __ge__(self, s):
+return self.vpy >= self.vtup(s)
+EOF
+   ac_supports_python_ver=`$PYTHON -c "import ax_python_devel_vpy; 
\
+ver = ax_python_devel_vpy.VPy(); \
print (ver $1)"`
+rm -rf 

commit OpenIPMI for openSUSE:Factory

2022-05-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package OpenIPMI for openSUSE:Factory 
checked in at 2022-05-05 23:05:18

Comparing /work/SRC/openSUSE:Factory/OpenIPMI (Old)
 and  /work/SRC/openSUSE:Factory/.OpenIPMI.new.1538 (New)


Package is "OpenIPMI"

Thu May  5 23:05:18 2022 rev:54 rq:974498 version:2.0.31

Changes:

--- /work/SRC/openSUSE:Factory/OpenIPMI/OpenIPMI.changes2021-10-20 
20:24:37.917390952 +0200
+++ /work/SRC/openSUSE:Factory/.OpenIPMI.new.1538/OpenIPMI.changes  
2022-05-05 23:05:52.645518653 +0200
@@ -1,0 +2,10 @@
+Thu Apr 28 00:16:24 UTC 2022 - Jan Engelhardt 
+
+- Resolve rpmlint report "libOpenIPMI0.x86_64: E:
+  shlib-policy-name-error SONAME: libOpenIPMIui.so.1, expected
+  package suffix: 1"
+- Trim manual library Provides. Prospective users (packages) ought
+  to let rpm find the dependencies (and their name is usually
+  "libIPMIlanserv.so.0()(64bit)" not "libIPMIlanserv".
+
+---



Other differences:
--
++ OpenIPMI.spec ++
--- /var/tmp/diff_new_pack.UsXheK/_old  2022-05-05 23:05:53.173519312 +0200
+++ /var/tmp/diff_new_pack.UsXheK/_new  2022-05-05 23:05:53.181519322 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package OpenIPMI
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -110,19 +110,25 @@
 %package -n libOpenIPMI0
 Summary:User-level library for accessing IPMI services
 Group:  System/Libraries
-Provides:   libIPMIlanserv
-Provides:   libOpenIPMI
-Provides:   libOpenIPMIui
 
 %description -n libOpenIPMI0
 The user-level library that provides a higher-level abstraction of
 IPMI and generic services.
 
+%package -n libOpenIPMIui1
+Summary:User-level library for accessing IPMI services
+Group:  System/Libraries
+
+%description -n libOpenIPMIui1
+The user-level library that provides a higher-level abstraction of
+IPMI and generic services.
+
 %package devel
 Summary:Development files for OpenIPMI
 Group:  Development/Libraries/C and C++
 Requires:   glibc-devel
-Requires:   libOpenIPMI0 = %{version}
+Requires:   libOpenIPMI0 = %{version}-%{release}
+Requires:   libOpenIPMIui1 = %{version}-%{release}
 
 %description devel
 These libraries are needed to get full access to the OpenIPMI
@@ -142,8 +148,7 @@
 that makes use of it.
 
 %prep
-%setup -q
-%autopatch -p1
+%autosetup -p1
 
 rm -rf ./libedit
 
@@ -160,7 +165,7 @@
--with-tcl=yes \
--with-tcllibs=-ltcl%{tcl_version} \
--with-tkinter=yes
-make %{?_smp_mflags}
+%make_build
 %if 0%{?doc_build}
 cd doc
 make IPMI.pdf
@@ -208,6 +213,8 @@
 
 %post   -n libOpenIPMI0 -p /sbin/ldconfig
 %postun -n libOpenIPMI0 -p /sbin/ldconfig
+%post   -n libOpenIPMIui1 -p /sbin/ldconfig
+%postun -n libOpenIPMIui1 -p /sbin/ldconfig
 
 %files
 %license COPYING COPYING.BSD COPYING.LIB
@@ -253,7 +260,15 @@
 
 %files -n libOpenIPMI0
 %{_libdir}/libIPMIlanserv.so.*
-%{_libdir}/libOpenIPMI*.so.*
+%{_libdir}/libOpenIPMI.so.*
+%{_libdir}/libOpenIPMIcmdlang.so.*
+%{_libdir}/libOpenIPMIglib.so.*
+%{_libdir}/libOpenIPMIposix.so.*
+%{_libdir}/libOpenIPMIpthread.so.*
+%{_libdir}/libOpenIPMIutils.so.*
+
+%files -n libOpenIPMIui1
+%{_libdir}/libOpenIPMIui.so.*
 
 %files devel
 %{_includedir}/*


commit OpenIPMI for openSUSE:Factory

2021-10-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package OpenIPMI for openSUSE:Factory 
checked in at 2021-10-20 20:23:48

Comparing /work/SRC/openSUSE:Factory/OpenIPMI (Old)
 and  /work/SRC/openSUSE:Factory/.OpenIPMI.new.1890 (New)


Package is "OpenIPMI"

Wed Oct 20 20:23:48 2021 rev:53 rq:925987 version:2.0.31

Changes:

--- /work/SRC/openSUSE:Factory/OpenIPMI/OpenIPMI.changes2021-10-06 
19:50:07.156061496 +0200
+++ /work/SRC/openSUSE:Factory/.OpenIPMI.new.1890/OpenIPMI.changes  
2021-10-20 20:24:37.917390952 +0200
@@ -1,0 +2,9 @@
+Tue Oct 12 19:22:34 UTC 2021 - Thomas Renninger 
+
+- Fix file conflict with old python2 version (bsc#1190999):
+found conflict of OpenIPMI-python-2.0.25-7.3.1.x86_64 with 
OpenIPMI-python3-2.0.31-1.1.x86_64
+  /usr/bin/openipmigui
+  /usr/share/man/man1/openipmigui.1.gz
+  
+
+---



Other differences:
--
++ OpenIPMI.spec ++
--- /var/tmp/diff_new_pack.lJHYxp/_old  2021-10-20 20:24:38.489391304 +0200
+++ /var/tmp/diff_new_pack.lJHYxp/_new  2021-10-20 20:24:38.493391308 +0200
@@ -135,6 +135,7 @@
 Requires:   python3-tk
 Requires:   tix
 Provides:   openipmigui
+Conflicts:  OpenIPMI-python
 
 %description python3
 The Python parts provide an OpenIPMI Python library and a GUI, openipmigui,


commit OpenIPMI for openSUSE:Factory

2021-10-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package OpenIPMI for openSUSE:Factory 
checked in at 2021-10-06 19:49:57

Comparing /work/SRC/openSUSE:Factory/OpenIPMI (Old)
 and  /work/SRC/openSUSE:Factory/.OpenIPMI.new.2443 (New)


Package is "OpenIPMI"

Wed Oct  6 19:49:57 2021 rev:52 rq:923424 version:2.0.31

Changes:

--- /work/SRC/openSUSE:Factory/OpenIPMI/OpenIPMI.changes2021-10-04 
18:38:59.561962761 +0200
+++ /work/SRC/openSUSE:Factory/.OpenIPMI.new.2443/OpenIPMI.changes  
2021-10-06 19:50:07.156061496 +0200
@@ -1,0 +2,5 @@
+Wed Oct  6 07:17:32 UTC 2021 - Thomas Renninger 
+
+- Enhance changelog as demanded in an internal submitrequest
+
+---
@@ -18,0 +24,41 @@
+  * sample: Prefer glib for solterm instead of posix
+  * sample: Remove -rdynamic from openipmicmd
+  * smample: Compile ipmicmd with glib if it is available
+  * glib: Allow NULL timeout to perform_one_op()
+  * lanserv: Fix an issue with rmcp sending
+  * Rework mcserv.h so that marvell-mod can get what it needs
+  * lanserv: Move sol_init_mc() into sol code
+  * lanserv: Remove all calls from the library to user code
+  * Move ipmi_log() to ipmi_log.h
+  * ui: export ipmi_ui_cb_handlers
+  * ui: Add link libraries to UI library
+  * Add -no-undefined to all shared library links
+  * Rework ipmi_cmdlang_report_event()
+  * Rework ipmi_cmdlang_global_err()
+  * Get rid of posix_vlog()
+  * lanserv: Use recv, not read, for a network socket
+  * A lot windows (DLL, winsock, etc.) enhancements
+
+
+- Update to version 2.0.30:
+  * Switch to python3 by default
+  * lanserv: Fix some various bugs
+  * sol: Fix some various bugs
+  * sdrcomp: Fix some memory leaks
+  * sol: Fix some packet handling errors
+  * solterm: Clean things up at shutdown
+  * Fix a leak in the selector code
+  * sol: Rewrite the library code
+  * sol: Return errors from close if the send fails
+  * Reconfigure the transmitter on a reconnect
+  * Refuse writes greater than 255 bytes
+  * lan: Fix timer cleanup
+  * Fix init/shutdown issues with mcs and domains
+  * Fix shutdown on error issues
+  * Fix a memory leak at initialization
+  * selector: Make the timer stop with done work right when handler running
+  * Add parameters to let the lan timeouts be specified
+  * initscript: Don't delete ipmi devices if udev created them
+  * selector: Rework to allow an arbitrary number of fds with epoll
+  * Don't disable fd handlers before setting one up
+  * Don't crash if passed in fd is >= FD_SETSIZE
@@ -35 +81,12 @@
-  * changelog not available 
+  * Add an external definition for ipmi_malloc_shutdown()
+  * Pass 0 to snprintf size when calculating real size
+  * selector: Fix a signed/unsigned comparison
+  * selector: Fix handling if pselect() returns 0
+  * selector: Return the right value for timer already in use
+  * selector: Cause the read handler to be called on an exception
+  * selector: Fix multi-threading issues
+  * selector: Add an selector call to install a sigmask
+  * For for brokenness with fork() and epoll()
+  * Fix a deadlock when freeing a running timer
+  * lanserv: Allow individual group extensions to be registered
+  * Include readline history headers where needed



Other differences:
--


commit OpenIPMI for openSUSE:Factory

2021-10-04 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package OpenIPMI for openSUSE:Factory 
checked in at 2021-10-04 18:38:56

Comparing /work/SRC/openSUSE:Factory/OpenIPMI (Old)
 and  /work/SRC/openSUSE:Factory/.OpenIPMI.new.2443 (New)


Package is "OpenIPMI"

Mon Oct  4 18:38:56 2021 rev:51 rq:921957 version:2.0.31

Changes:

--- /work/SRC/openSUSE:Factory/OpenIPMI/OpenIPMI.changes2021-07-02 
13:26:52.589035535 +0200
+++ /work/SRC/openSUSE:Factory/.OpenIPMI.new.2443/OpenIPMI.changes  
2021-10-04 18:38:59.561962761 +0200
@@ -1,0 +2,19 @@
+Tue Sep 28 08:30:14 UTC 2021 - Thomas Renninger 
+
+- Add latest mainline fixes:
+A
lanserv-Add-the-judgment-on-the-validity-of-length-in-emu_cmd.c-and-session-in-lanserv_ipmi.c.patch
+Aunix_thread-Remove-the-fd-handler-sets-before-it-s-set-up.patch 
+
+---
+Fri Jul  9 08:15:37 UTC 2021 - Thomas Renninger 
+
+- Update to version 2.0.31
+  Adopted patches to latest sources:
+MOpenIMPI-add-libncurses.patch
+MOpenIPMI-no-return-in-nonvoid-function.patch
+MOpenIPMI-prefer_perl_vendor.patch
+Mfix_dia_version_detection.patch
+Mopenipmi-tinfo.patch
+
+
+---
@@ -4 +23 @@
-- Use Python3 instead of Python2.
+- Use Python3 instead of Python2 (bsc#1190999).

Old:

  OpenIPMI-2.0.29.tar.gz

New:

  OpenIPMI-2.0.31.tar.gz
  
lanserv-Add-the-judgment-on-the-validity-of-length-in-emu_cmd.c-and-session-in-lanserv_ipmi.c.patch
  unix_thread-Remove-the-fd-handler-sets-before-it-s-set-up.patch



Other differences:
--
++ OpenIPMI.spec ++
--- /var/tmp/diff_new_pack.eOgRg0/_old  2021-10-04 18:39:00.517964315 +0200
+++ /var/tmp/diff_new_pack.eOgRg0/_new  2021-10-04 18:39:00.525964327 +0200
@@ -31,7 +31,7 @@
 %endif
 
 Name:   OpenIPMI
-Version:2.0.29
+Version:2.0.31
 Release:0
 Summary:Service processor access via IPMI
 License:LGPL-2.1-or-later
@@ -56,6 +56,8 @@
 Patch6: OpenIPMI-no-return-in-nonvoid-function.patch
 Patch7: fix_dia_version_detection.patch
 Patch8: use_python3_shebang
+Patch9: 
lanserv-Add-the-judgment-on-the-validity-of-length-in-emu_cmd.c-and-session-in-lanserv_ipmi.c.patch
+Patch10:unix_thread-Remove-the-fd-handler-sets-before-it-s-set-up.patch
 
 BuildRequires:  autoconf-archive
 BuildRequires:  gd-devel

++ OpenIMPI-add-libncurses.patch ++
--- /var/tmp/diff_new_pack.eOgRg0/_old  2021-10-04 18:39:00.577964412 +0200
+++ /var/tmp/diff_new_pack.eOgRg0/_new  2021-10-04 18:39:00.577964412 +0200
@@ -1,10 +1,12 @@
-Index: OpenIPMI-2.0.24/ui/Makefile.am
+Index: OpenIPMI-2.0.31/ui/Makefile.am
 ===
 OpenIPMI-2.0.24.orig/ui/Makefile.am
-+++ OpenIPMI-2.0.24/ui/Makefile.am
-@@ -18,4 +18,4 @@ libOpenIPMIui_la_LIBADD =
- libOpenIPMIui_la_LDFLAGS = -version-info $(LD_VERSION)
+--- OpenIPMI-2.0.31.orig/ui/Makefile.am
 OpenIPMI-2.0.31/ui/Makefile.am
+@@ -18,6 +18,6 @@ libOpenIPMIui_la_LIBADD = $(top_builddir
+ libOpenIPMIui_la_LDFLAGS = -version-info $(LD_VERSION) -no-undefined
  
  ipmi_ui_SOURCES = basic_ui.c
 -ipmi_ui_LDADD = libOpenIPMIui.la $(top_builddir)/utils/libOpenIPMIutils.la 
$(top_builddir)/lib/libOpenIPMI.la $(top_builddir)/unix/libOpenIPMIposix.la 
$(TERM_LIBS) $(SNMPLIBS) $(OPENSSLLIBS) $(GDBM_LIB)
 +ipmi_ui_LDADD = libOpenIPMIui.la $(top_builddir)/utils/libOpenIPMIutils.la 
$(top_builddir)/lib/libOpenIPMI.la $(top_builddir)/unix/libOpenIPMIposix.la 
$(TERM_LIBS) $(SNMPLIBS) $(OPENSSLLIBS) $(GDBM_LIB) -lncurses
+ ipmi_ui_CFLAGS = -Wall -Wsign-compare -I$(top_builddir)/include \
+   -I$(top_srcdir)/include -DIPMI_CHECK_LOCKS

++ OpenIPMI-2.0.29.tar.gz -> OpenIPMI-2.0.31.tar.gz ++
 27383 lines of diff (skipped)

++ OpenIPMI-no-return-in-nonvoid-function.patch ++
--- /var/tmp/diff_new_pack.eOgRg0/_old  2021-10-04 18:39:00.877964899 +0200
+++ /var/tmp/diff_new_pack.eOgRg0/_new  2021-10-04 18:39:00.877964899 +0200
@@ -1,7 +1,7 @@
-Index: OpenIPMI-2.0.28/swig/OpenIPMI.i
+Index: OpenIPMI-2.0.31/swig/OpenIPMI.i
 ===
 OpenIPMI-2.0.28.orig/swig/OpenIPMI.i
-+++ OpenIPMI-2.0.28/swig/OpenIPMI.i
+--- OpenIPMI-2.0.31.orig/swig/OpenIPMI.i
 OpenIPMI-2.0.31/swig/OpenIPMI.i
 @@ -3123,6 +3123,7 @@ init_glib(void)
  init_lang();
  #endif

++ OpenIPMI-prefer_perl_vendor.patch ++
--- /var/tmp/diff_new_pack.eOgRg0/_old  2021-10-04 18:39:00.893964925 +0200
+++ /var/tmp/diff_new_pack.eOgRg0/_new  2021-10-04 18:39:00.897964931 +0200
@@ -1,8 +1,8 @@
-Index: 

commit OpenIPMI for openSUSE:Factory

2021-07-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package OpenIPMI for openSUSE:Factory 
checked in at 2021-07-02 13:26:35

Comparing /work/SRC/openSUSE:Factory/OpenIPMI (Old)
 and  /work/SRC/openSUSE:Factory/.OpenIPMI.new.2625 (New)


Package is "OpenIPMI"

Fri Jul  2 13:26:35 2021 rev:50 rq:903170 version:2.0.29

Changes:

--- /work/SRC/openSUSE:Factory/OpenIPMI/OpenIPMI.changes2021-03-15 
10:53:53.229124456 +0100
+++ /work/SRC/openSUSE:Factory/.OpenIPMI.new.2625/OpenIPMI.changes  
2021-07-02 13:26:52.589035535 +0200
@@ -1,0 +2,5 @@
+Mon Jun 28 20:42:15 UTC 2021 - Matej Cepl 
+
+- Use Python3 instead of Python2.
+
+---



Other differences:
--
++ OpenIPMI.spec ++
--- /var/tmp/diff_new_pack.N7XMmZ/_old  2021-07-02 13:26:53.405029204 +0200
+++ /var/tmp/diff_new_pack.N7XMmZ/_new  2021-07-02 13:26:53.409029173 +0200
@@ -71,9 +71,10 @@
 BuildRequires:  perl-macros
 BuildRequires:  pkgconfig
 BuildRequires:  popt-devel
-BuildRequires:  python-devel
-BuildRequires:  python-tk
-BuildRequires:  python-xml
+BuildRequires:  python-rpm-macros
+BuildRequires:  python3-devel
+BuildRequires:  python3-tk
+BuildRequires:  python3-xml
 BuildRequires:  readline-devel
 BuildRequires:  swig
 BuildRequires:  systemd-rpm-macros
@@ -125,15 +126,15 @@
 These libraries are needed to get full access to the OpenIPMI
 functions.
 
-%package python
+%package python3
 Summary:Python module and GUI for OpenIPMI
 Group:  System/Monitoring
 Requires:   OpenIPMI
-Requires:   python-tk
+Requires:   python3-tk
 Requires:   tix
 Provides:   openipmigui
 
-%description python
+%description python3
 The Python parts provide an OpenIPMI Python library and a GUI, openipmigui,
 that makes use of it.
 
@@ -147,11 +148,12 @@
 export EDIT_CFLAGS=`pkg-config --cflags libedit`
 export EDIT_LIBS=`pkg-config --libs libedit`
 export CFLAGS="%{optflags} -fno-strict-aliasing"
+export PYTHON_VERSION=%{python3_version}
 chmod 755 %{SOURCE4}
 %{SOURCE4}
 %configure --disable-static \
--with-openssl=yes \
-   --with-pythoninstall=%{python_sitearch} \
+   --with-pythoninstall=%{python3_sitearch} \
--with-tcl=yes \
--with-tcllibs=-ltcl%{tcl_version} \
--with-tkinter=yes
@@ -181,11 +183,11 @@
 install -m 755 %{SOURCE3} %{buildroot}%{_libexecdir}/openipmi-helper
 find %{buildroot} -type f -name "*.la" -delete -print
 
-# rebuild python files to fix timestamps:
-for d in "%{python_sitelib}" "%{python_sitearch}"; do
+# rebuild python3 files to fix timestamps:
+for d in "%{python3_sitelib}" "%{python3_sitearch}"; do
 [ -d "%{buildroot}$d" ] || continue
 find "%{buildroot}$d/" -type f \( -name '*.pyc' -o -name '*.pyo' \) -delete
-python -c 'import compileall; 
compileall.compile_dir("%{buildroot}'"$d"'",ddir="'"$d"'",force=1)'
+python3 -c 'import compileall; 
compileall.compile_dir("%{buildroot}'"$d"'",ddir="'"$d"'",force=1)'
 done
 
 %pre
@@ -259,12 +261,13 @@
 %endif
 ###
 
-%files python
-%{python_sitearch}/*OpenIPMI.*
+%files python3
+%{python3_sitearch}/*OpenIPMI.*
 %doc swig/OpenIPMI.i
 ## gui files ##
-%dir %{python_sitearch}/openipmigui
-%{python_sitearch}/openipmigui/*
+%dir %{python3_sitearch}/openipmigui
+%{python3_sitearch}/openipmigui/*
+%{python3_sitearch}/__pycache__/*
 %attr(755,root,root) %{_bindir}/openipmigui
 %{_mandir}/man1/openipmigui.1*
 


commit OpenIPMI for openSUSE:Factory

2021-03-15 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package OpenIPMI for openSUSE:Factory 
checked in at 2021-03-15 10:53:51

Comparing /work/SRC/openSUSE:Factory/OpenIPMI (Old)
 and  /work/SRC/openSUSE:Factory/.OpenIPMI.new.2401 (New)


Package is "OpenIPMI"

Mon Mar 15 10:53:51 2021 rev:49 rq:878331 version:2.0.29

Changes:

--- /work/SRC/openSUSE:Factory/OpenIPMI/OpenIPMI.changes2020-08-28 
21:20:30.816299516 +0200
+++ /work/SRC/openSUSE:Factory/.OpenIPMI.new.2401/OpenIPMI.changes  
2021-03-15 10:53:53.229124456 +0100
@@ -1,0 +2,6 @@
+Mon Mar  8 14:16:36 UTC 2021 - Matthias Gerstner 
+
+- drop -fPIC from CFLAGS which breaks our gcc-PIE profile resulting in
+  non-position independent binaries and thus weakened security (bsc#1183046).
+
+---



Other differences:
--
++ OpenIPMI.spec ++
--- /var/tmp/diff_new_pack.V7h2Z9/_old  2021-03-15 10:53:53.921125518 +0100
+++ /var/tmp/diff_new_pack.V7h2Z9/_new  2021-03-15 10:53:53.921125518 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package OpenIPMI
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -146,7 +146,7 @@
 %build
 export EDIT_CFLAGS=`pkg-config --cflags libedit`
 export EDIT_LIBS=`pkg-config --libs libedit`
-export CFLAGS="-fPIC %{optflags} -fno-strict-aliasing"
+export CFLAGS="%{optflags} -fno-strict-aliasing"
 chmod 755 %{SOURCE4}
 %{SOURCE4}
 %configure --disable-static \