commit OpenIPMI for openSUSE:Factory
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.changes 2021-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 <mcepl@suse.com> + +- 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*
participants (1)
-
Source-Sync