Hello community,

here is the log from the commit of package OpenIPMI for openSUSE:Factory 
checked in at 2011-11-17 11:04:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/OpenIPMI (Old)
 and      /work/SRC/openSUSE:Factory/.OpenIPMI.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "OpenIPMI", Maintainer is "d...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/OpenIPMI/OpenIPMI.changes        2011-09-23 
01:51:05.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.OpenIPMI.new/OpenIPMI.changes   2011-11-17 
11:04:56.000000000 +0100
@@ -1,0 +2,22 @@
+Tue Nov 15 13:10:35 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------
+Sun Oct 23 22:40:29 UTC 2011 - pascal.ble...@opensuse.org
+
+- fix mtime on python .pyc files
+- remove python .pyo files (they're useless)
+- add reload to init script, which fails with exit code 3 as it is not
+  implemented
+- update to 2.0.19 (cumulated):
+  * ipmi.init - Initscripts should be idempotent, meaning you can safely call
+    "start" multiple times in a row and receive a success each time if the
+    service is running. This requirement is mentioned in the LSB Spec, version
+    3.1, section 20.2.
+  * lib/sensor.c: Change the "share count" checking to check if share count is
+    > 1, not > 0, because some silly machines set the value to one when they
+    should set it to zero, and one is a silly setting
+  * add a cache option
+
+-------------------------------------------------------------------

Old:
----
  OpenIPMI-2.0.16.tar.bz2

New:
----
  OpenIPMI-2.0.19.tar.bz2
  OpenIPMI-rpmlintrc

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

Other differences:
------------------
++++++ OpenIPMI.spec ++++++
--- /var/tmp/diff_new_pack.ljxTQS/_old  2011-11-17 11:04:58.000000000 +0100
+++ /var/tmp/diff_new_pack.ljxTQS/_new  2011-11-17 11:04:58.000000000 +0100
@@ -16,13 +16,16 @@
 #
 
 
+%{!?python_sitelib:  %global python_sitelib  %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 
 Name:           OpenIPMI
-BuildRequires:  gd-devel gdbm-devel glib2-devel libjpeg-devel libpng-devel 
ncurses-devel net-snmp-devel openssl-devel pkg-config popt-devel python-devel 
python-tk python-xml swig tcl-devel tix
+BuildRequires:  gd-devel gdbm-devel glib2-devel libjpeg-devel libpng-devel 
libtool ncurses-devel net-snmp-devel openssl-devel pkg-config popt-devel 
python-devel python-tk python-xml swig tcl-devel tix
 License:        LGPLv2.1+
 Group:          System/Monitoring
-Version:        2.0.16
+Version:        2.0.19
 Release:        10
+# http://prdownloads.sourceforge.net/openipmi/OpenIPMI-%{version}.tar.gz
 Source0:        %{name}-%{version}.tar.bz2
 Source1:        sysconfig.ipmi
 Source2:        openipmi.initscript
@@ -34,6 +37,7 @@
 Patch6:         fix-devel-deps
 Patch7:         do-fclose
 Patch8:         fix-conversions
+Source99:       OpenIPMI-rpmlintrc
 Url:            http://openipmi.sourceforge.net
 Provides:       ipmilan ipmicmd ipmi_ui openipmigui
 Requires:       python-tk
@@ -112,8 +116,15 @@
 ln -sf ../etc/init.d/ipmi $RPM_BUILD_ROOT/sbin/rcipmi
 %{__rm} -f %{buildroot}%{_libdir}/*.la
 
+# rebuild python files to fix timestamps:
+for d in "%{python_sitelib}" "%{python_sitearch}"; do
+    [ -d "%{buildroot}$d" ] || continue
+    find "%{buildroot}$d/" -type f \( -name '*.pyc' -o -name '*.pyo' \) -exec 
%__rm {} \;
+    %__python -c 'import compileall; 
compileall.compile_dir("%{buildroot}'"$d"'",ddir="'"$d"'",force=1)'
+done
+
 %clean
-rm -rf $RPM_BUILD_ROOT
+%{?buildroot:%__rm -rf "%{buildroot}"}
 
 %post
 /sbin/ldconfig

++++++ OpenIPMI-2.0.16.tar.bz2 -> OpenIPMI-2.0.19.tar.bz2 ++++++
++++ 90343 lines of diff (skipped)

++++++ OpenIPMI-libtool.patch ++++++
--- /var/tmp/diff_new_pack.ljxTQS/_old  2011-11-17 11:04:59.000000000 +0100
+++ /var/tmp/diff_new_pack.ljxTQS/_new  2011-11-17 11:04:59.000000000 +0100
@@ -1,22 +1,11 @@
---- swig/perl/Makefile.am
-+++ swig/perl/Makefile.am
-@@ -19,7 +19,7 @@ OpenIPMI_SRC = OpenIPMI_wrap.c OpenIPMI_
- OpenIPMI_OBJ = OpenIPMI_wrap.o OpenIPMI_perl.o
+--- swig/perl/Makefile.am.orig 2011-10-24 00:09:14.739000420 +0200
++++ swig/perl/Makefile.am      2011-10-24 00:10:05.770000423 +0200
+@@ -20,7 +20,7 @@
+ OpenIPMI_OBJ = OpenIPMI_wrap.lo OpenIPMI_perl.lo
  
  OpenIPMI.so: $(OpenIPMI_OBJ)
--      $(LIBTOOL) --mode=link $(CC) -shared -o $@ $^ $(OPENIPMI_SWIG_LIBS)
-+      $(LIBTOOL) --mode=link $(CC) -XCClinker -shared -o OpenIPMI.so $^ 
$(OPENIPMI_SWIG_LIBS)
-       rm OpenIPMI.so
+-      $(LIBTOOL) --mode=link $(CC) -shared -module -avoid-version -o 
$(@:.so=.la) $^ $(OPENIPMI_SWIG_LIBS) $(PERL_POSIX_LIB) -rpath 
$(PERL_INSTALL_DIR)/auto/OpenIPMI
++      $(LIBTOOL) --mode=link $(CC) -XCClinker -shared -module -avoid-version 
-o OpenIPMI.so $^ $(OPENIPMI_SWIG_LIBS) $(PERL_POSIX_LIB) -rpath 
$(PERL_INSTALL_DIR)/auto/OpenIPMI
+       rm -f OpenIPMI.so
        mv .libs/OpenIPMI.so .
        rm -rf .libs
---- swig/python/Makefile.am
-+++ swig/python/Makefile.am
-@@ -21,7 +21,7 @@ OpenIPMI_OBJ = OpenIPMI_wrap.o
- EXTRA_DIST = OpenIPMI_lang.i OpenIPMI.h openipmigui.py
- 
- _OpenIPMI.so: $(OpenIPMI_OBJ)
--      $(LIBTOOL) --mode=link $(CC) -shared -o $@ $^ $(OPENIPMI_SWIG_LIBS)
-+      $(LIBTOOL) --mode=link $(CC) -XCClinker -shared -o $@ $^ 
$(OPENIPMI_SWIG_LIBS)
-       rm _OpenIPMI.so
-       mv .libs/_OpenIPMI.so .
-       rm -rf .libs

++++++ OpenIPMI-rpmlintrc ++++++
addFilter('files-duplicate')
++++++ openipmi.initscript ++++++
--- /var/tmp/diff_new_pack.ljxTQS/_old  2011-11-17 11:04:59.000000000 +0100
+++ /var/tmp/diff_new_pack.ljxTQS/_new  2011-11-17 11:04:59.000000000 +0100
@@ -558,6 +558,7 @@
        stop-powercontrol) stop_powercontrol ;;
        status-powercontrol) status_powercontrol ;;
        stop-all) stop_all ;;
+       reload) exit 3 ;;
        *) usage ;;
 esac
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to