commit libstoragemgmt for openSUSE:Factory

2020-11-05 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2020-11-05 21:54:26

Comparing /work/SRC/openSUSE:Factory/libstoragemgmt (Old)
 and  /work/SRC/openSUSE:Factory/.libstoragemgmt.new.11331 (New)


Package is "libstoragemgmt"

Thu Nov  5 21:54:26 2020 rev:24 rq:845762 version:1.8.6

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2020-09-18 15:21:11.769957230 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new.11331/libstoragemgmt.changes 
2020-11-05 21:55:05.368161306 +0100
@@ -1,0 +2,8 @@
+Tue Nov  3 07:41:35 UTC 2020 - Michael Vetter 
+
+- Update to 1.8.6:
+ * Hpsa bug fixes #419, #420
+ * Change lsmcli output for missing lsmd (daemon)
+   https://bugzilla.redhat.com/show_bug.cgi?id=1872753
+
+---

Old:

  libstoragemgmt-1.8.5.tar.gz

New:

  libstoragemgmt-1.8.6.tar.gz



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.qqrkRu/_old  2020-11-05 21:55:06.492158780 +0100
+++ /var/tmp/diff_new_pack.qqrkRu/_new  2020-11-05 21:55:06.492158780 +0100
@@ -25,7 +25,7 @@
 %define python3 0
 %endif
 Name:   libstoragemgmt
-Version:1.8.5
+Version:1.8.6
 Release:0
 Summary:Storage array management library
 License:LGPL-2.1-or-later AND GPL-2.0-or-later

++ libstoragemgmt-1.8.5.tar.gz -> libstoragemgmt-1.8.6.tar.gz ++
 2487 lines of diff (skipped)




commit libstoragemgmt for openSUSE:Factory

2020-09-18 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2020-09-18 15:21:05

Comparing /work/SRC/openSUSE:Factory/libstoragemgmt (Old)
 and  /work/SRC/openSUSE:Factory/.libstoragemgmt.new.4249 (New)


Package is "libstoragemgmt"

Fri Sep 18 15:21:05 2020 rev:23 rq:834526 version:1.8.5

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2020-08-14 09:32:38.860377464 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new.4249/libstoragemgmt.changes  
2020-09-18 15:21:11.769957230 +0200
@@ -1,0 +2,5 @@
+Tue Sep 15 02:41:46 UTC 2020 - nick wang 
+
+- bsc#1176448, Add clibs requirement to python-libstoragemgmt.
+
+---



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.vDHgt8/_old  2020-09-18 15:21:13.169958584 +0200
+++ /var/tmp/diff_new_pack.vDHgt8/_new  2020-09-18 15:21:13.173958588 +0200
@@ -106,11 +106,15 @@
 %{?python_provide:%python_provide python3-%{name}}
 Summary:Python client libraries and plug-in support for %{name}
 Group:  Development/Languages/Python
-Requires:   %{name} = %{version}
 BuildArch:  noarch
+Requires:   %{name} = %{version}
 %if 0%{python3}
+Requires:   python3-%{name}-clibs
+
 %description-n python3-%{name}
 %else
+Requires:   python2-%{name}-clibs
+
 %description-n python2-%{name}
 %endif
 The python-%{name} package contains python client libraries as
@@ -504,7 +508,8 @@
 %{_udevrulesdir}/90-scsi-ua.rules
 
 %files -n %{libname}
-%doc README COPYING.LIB
+%license COPYING.LIB
+%doc README
 %{_libdir}/libstoragemgmt.so.*
 
 %files devel




commit libstoragemgmt for openSUSE:Factory

2020-08-14 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2020-08-14 09:31:27

Comparing /work/SRC/openSUSE:Factory/libstoragemgmt (Old)
 and  /work/SRC/openSUSE:Factory/.libstoragemgmt.new.3399 (New)


Package is "libstoragemgmt"

Fri Aug 14 09:31:27 2020 rev:22 rq:825916 version:1.8.5

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2020-06-23 21:00:59.445146239 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new.3399/libstoragemgmt.changes  
2020-08-14 09:32:38.860377464 +0200
@@ -1,0 +2,8 @@
+Wed Aug 12 06:56:45 UTC 2020 - Michael Vetter 
+
+- Update to 1.8.5:
+  * Fix compile issue with check >= 0.15.0
+  * Fix travis CI issues
+  * Remove problematic language
+
+---

Old:

  libstoragemgmt-1.8.4.tar.gz

New:

  libstoragemgmt-1.8.5.tar.gz



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.qHXx6U/_old  2020-08-14 09:32:39.764377927 +0200
+++ /var/tmp/diff_new_pack.qHXx6U/_new  2020-08-14 09:32:39.764377927 +0200
@@ -25,7 +25,7 @@
 %define python3 0
 %endif
 Name:   libstoragemgmt
-Version:1.8.4
+Version:1.8.5
 Release:0
 Summary:Storage array management library
 License:LGPL-2.1-or-later AND GPL-2.0-or-later
@@ -294,7 +294,6 @@
  tools/lsmcli/lsmcli \
  test/cmdtest.py \
  test/plugin_test.py \
- tools/sanity_check/local_sanity_check.py \
 )
 
 head -vn 1 ${pyfiles[@]}
@@ -303,7 +302,6 @@
 
 #Fix rpmlint Warning: non-executable-script
 pyfiles=(tools/use_cases/find_unused_lun.py \
- tools/sanity_check/local_sanity_check.py \
 )
 
 head -vn 1 ${pyfiles[@]}
@@ -546,7 +544,7 @@
 %{_bindir}/sim_lsmplugin
 %dir %{_libexecdir}/lsm.d
 %{_libexecdir}/lsm.d/find_unused_lun.py*
-%{_libexecdir}/lsm.d/local_sanity_check.py*
+%{_libexecdir}/lsm.d/local_check.py
 %config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/sim.conf
 %{_mandir}/man1/sim_lsmplugin.1%{ext_man}
 

++ libstoragemgmt-1.8.4.tar.gz -> libstoragemgmt-1.8.5.tar.gz ++
 15010 lines of diff (skipped)




commit libstoragemgmt for openSUSE:Factory

2020-06-23 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2020-06-23 21:00:05

Comparing /work/SRC/openSUSE:Factory/libstoragemgmt (Old)
 and  /work/SRC/openSUSE:Factory/.libstoragemgmt.new.2956 (New)


Package is "libstoragemgmt"

Tue Jun 23 21:00:05 2020 rev:21 rq:816356 version:1.8.4

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2020-06-04 17:51:03.796003973 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new.2956/libstoragemgmt.changes  
2020-06-23 21:00:59.445146239 +0200
@@ -1,0 +2,5 @@
+Mon Jun 22 12:09:05 UTC 2020 - Callum Farmer 
+
+- Fixes for %_libexecdir changing to /usr/libexec
+
+---



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.ZxwIgg/_old  2020-06-23 21:01:01.961154334 +0200
+++ /var/tmp/diff_new_pack.ZxwIgg/_new  2020-06-23 21:01:01.965154347 +0200
@@ -316,18 +316,18 @@
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 
-install -d -m755 %{buildroot}/%{_sbindir}
+install -d -m755 %{buildroot}%{_sbindir}
 
 install -Dpm 0644 packaging/daemon/libstoragemgmt.service \
-%{buildroot}/%{_unitdir}/libstoragemgmt.service
+%{buildroot}%{_unitdir}/libstoragemgmt.service
 ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 
 #Files for udev handling
-install -d %{buildroot}/%{_udevrulesdir}
+install -d %{buildroot}%{_udevrulesdir}
 install -m 644 tools/udev/90-scsi-ua.rules \
-%{buildroot}/%{_udevrulesdir}/90-scsi-ua.rules
+%{buildroot}%{_udevrulesdir}/90-scsi-ua.rules
 install -m 755 tools/udev/scan-scsi-target \
-%{buildroot}/%{_libexecdir}/udev/scan-scsi-target
+%{buildroot}%{_prefix}/lib/udev/scan-scsi-target
 
 # find all duplicates
 %fdupes -s %{buildroot}%{python_sitelib}
@@ -502,7 +502,7 @@
 %ghost %dir /run/lsm/ipc
 
 %files udev
-%{_libexecdir}/udev/scan-scsi-target
+%{_prefix}/lib/udev/scan-scsi-target
 %{_udevrulesdir}/90-scsi-ua.rules
 
 %files -n %{libname}




commit libstoragemgmt for openSUSE:Factory

2020-06-04 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2020-06-04 17:50:43

Comparing /work/SRC/openSUSE:Factory/libstoragemgmt (Old)
 and  /work/SRC/openSUSE:Factory/.libstoragemgmt.new.3606 (New)


Package is "libstoragemgmt"

Thu Jun  4 17:50:43 2020 rev:20 rq:808137 version:1.8.4

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2020-02-21 16:39:27.345685112 +0100
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new.3606/libstoragemgmt.changes  
2020-06-04 17:51:03.796003973 +0200
@@ -1,0 +2,12 @@
+Fri May 22 08:58:44 UTC 2020 - Michael Vetter 
+
+- Update to 1.8.4:
+  * Bug fix: #414
+  * Re-work configure to be better about self configuration
+  * Updates to travis CI docker script
+  * Use jsmn JSON parser, remove YAJL and nlohmann
+  * Make some of the simulator disks much larger
+  * Introduce cformat makefile target to re-format C/C++ code
+requires clang-format
+
+---

Old:

  libstoragemgmt-1.8.3.tar.gz

New:

  libstoragemgmt-1.8.4.tar.gz



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.hN2Ei1/_old  2020-06-04 17:51:05.28440 +0200
+++ /var/tmp/diff_new_pack.hN2Ei1/_new  2020-06-04 17:51:05.204008453 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libstoragemgmt
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,12 +25,12 @@
 %define python3 0
 %endif
 Name:   libstoragemgmt
-Version:1.8.3
+Version:1.8.4
 Release:0
 Summary:Storage array management library
 License:LGPL-2.1-or-later AND GPL-2.0-or-later
 Group:  Development/Libraries/C and C++
-Url:https://github.com/libstorage/libstoragemgmt
+URL:https://github.com/libstorage/libstoragemgmt
 Source0:
https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++

++ libstoragemgmt-1.8.3.tar.gz -> libstoragemgmt-1.8.4.tar.gz ++
 45722 lines of diff (skipped)




commit libstoragemgmt for openSUSE:Factory

2020-02-21 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2020-02-21 16:39:23

Comparing /work/SRC/openSUSE:Factory/libstoragemgmt (Old)
 and  /work/SRC/openSUSE:Factory/.libstoragemgmt.new.26092 (New)


Package is "libstoragemgmt"

Fri Feb 21 16:39:23 2020 rev:19 rq:775134 version:1.8.3

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2019-12-23 22:42:59.509964721 +0100
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new.26092/libstoragemgmt.changes 
2020-02-21 16:39:27.345685112 +0100
@@ -1,0 +2,8 @@
+Tue Feb 18 10:09:41 UTC 2020 - Michael Vetter 
+
+- Update to 1.8.3:
+  * Fix volume-raid-create pool ID issue (#410)
+  * Update: JSON library
+  * Few other fixes
+
+---

Old:

  libstoragemgmt-1.8.2.tar.gz

New:

  libstoragemgmt-1.8.3.tar.gz



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.TER3Q9/_old  2020-02-21 16:39:28.109686638 +0100
+++ /var/tmp/diff_new_pack.TER3Q9/_new  2020-02-21 16:39:28.109686638 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libstoragemgmt
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 %define python3 0
 %endif
 Name:   libstoragemgmt
-Version:1.8.2
+Version:1.8.3
 Release:0
 Summary:Storage array management library
 License:LGPL-2.1-or-later AND GPL-2.0-or-later

++ libstoragemgmt-1.8.2.tar.gz -> libstoragemgmt-1.8.3.tar.gz ++
 19890 lines of diff (skipped)




commit libstoragemgmt for openSUSE:Factory

2019-12-23 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2019-12-23 22:40:38

Comparing /work/SRC/openSUSE:Factory/libstoragemgmt (Old)
 and  /work/SRC/openSUSE:Factory/.libstoragemgmt.new.6675 (New)


Package is "libstoragemgmt"

Mon Dec 23 22:40:38 2019 rev:18 rq:757322 version:1.8.2

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2019-06-12 12:57:27.785351904 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new.6675/libstoragemgmt.changes  
2019-12-23 22:42:59.509964721 +0100
@@ -1,0 +2,7 @@
+Mon Dec 16 11:44:34 UTC 2019 - Michael Vetter 
+
+- Update to 1.8.2:
+  * Compile fixes for Alpine Linux (#403, #402, #401)
+  * Don't orphan lsmd process when displaying help (#399)
+
+---

Old:

  libstoragemgmt-1.8.1.tar.gz

New:

  libstoragemgmt-1.8.2.tar.gz



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.niHEl1/_old  2019-12-23 22:43:00.101964978 +0100
+++ /var/tmp/diff_new_pack.niHEl1/_new  2019-12-23 22:43:00.101964978 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,7 +25,7 @@
 %define python3 0
 %endif
 Name:   libstoragemgmt
-Version:1.8.1
+Version:1.8.2
 Release:0
 Summary:Storage array management library
 License:LGPL-2.1-or-later AND GPL-2.0-or-later

++ libstoragemgmt-1.8.1.tar.gz -> libstoragemgmt-1.8.2.tar.gz ++
 2996 lines of diff (skipped)




commit libstoragemgmt for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2019-06-12 12:57:25

Comparing /work/SRC/openSUSE:Factory/libstoragemgmt (Old)
 and  /work/SRC/openSUSE:Factory/.libstoragemgmt.new.4811 (New)


Package is "libstoragemgmt"

Wed Jun 12 12:57:25 2019 rev:17 rq:705790 version:1.8.1

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2018-11-09 07:51:11.883933308 +0100
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new.4811/libstoragemgmt.changes  
2019-06-12 12:57:27.785351904 +0200
@@ -1,0 +2,43 @@
+Mon May 27 08:52:10 UTC 2019 - mvet...@suse.com
+
+- Update to 1.8.1:
+  * Fix bug https://bugzilla.redhat.com/show_bug.cgi?id=1585169
+- Changes from 1.8.0:
+  Bug fixes:
+  * Invalid vpd 0x83 value, #376
+  * Fix duplicate files in debian packaging
+  * Add simple test integration script
+  * Unable to control some slot LEDs via SES #383
+  * Numerous corrections for arcconf plugin
+  * Correct deprecated python & perl usage
+  Enhancements:
+  * arcconf pool member info
+  * arcconf volume raid info
+  * arcconf volume LED (on/off)
+  * arcconf volume enable
+- Changes from 1.7.3:
+  Bug fixes:
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1670077
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1667096
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1667992
+- Changes from 1.7.2:
+  Bug fixes:
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1572137
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1583741
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1585169
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1624398
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1596731
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1583763
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1583681
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1584243
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1564151
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1583768
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1583765
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1591282
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1591282
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1571894
+  * https://bugzilla.redhat.com/show_bug.cgi?id=1657407
+- Changes from 1.7.1:
+  * Fix up/add documentation and correct packaging lint errors
+
+---

Old:

  libstoragemgmt-1.7.0.tar.gz

New:

  libstoragemgmt-1.8.1.tar.gz



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.T6aPbo/_old  2019-06-12 12:57:28.289351792 +0200
+++ /var/tmp/diff_new_pack.T6aPbo/_new  2019-06-12 12:57:28.293351791 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libstoragemgmt
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -25,7 +25,7 @@
 %define python3 0
 %endif
 Name:   libstoragemgmt
-Version:1.7.0
+Version:1.8.1
 Release:0
 Summary:Storage array management library
 License:LGPL-2.1-or-later AND GPL-2.0-or-later

++ libstoragemgmt-1.7.0.tar.gz -> libstoragemgmt-1.8.1.tar.gz ++
 13130 lines of diff (skipped)




commit libstoragemgmt for openSUSE:Factory

2018-11-08 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2018-11-09 07:51:07

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


Package is "libstoragemgmt"

Fri Nov  9 07:51:07 2018 rev:16 rq:646074 version:1.7.0

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2018-05-06 14:54:04.053320286 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2018-11-09 07:51:11.883933308 +0100
@@ -1,0 +2,23 @@
+Fri Nov  2 11:14:28 UTC 2018 - Jan Engelhardt 
+
+- Fix RPM groups.
+
+---
+Thu Oct 25 02:40:17 UTC 2018 - nw...@suse.com
+
+- Update to new upstream release 1.7.0
+  * Replace yajl with nlohmann/json for JSON handling.
+  * Fix the file path of lsmd.conf manpage.
+  * HPSA plugin: Support ssacli version 3.25+.
+  * scan-scsi-target: Fix compiling on gcc 8.2.
+  * Fix lsmcli on python 3.7.
+  * Handle 'Warning:' message in hpsa plugin
+  * SmartArray plugin: Remove the pyudev codes.
+  * lsmd: Fix crash when plugin named as _lsmplugin.
+  * Fix GCC 8 compiling warnings.
+  * MegaRAID plugin: Fix cache information query.
+  * Fix regression on SMI-S plugin.
+- Remove patch compat-gcc8.patch: in upstream
+- Polish the spec file by spec-cleaner
+
+---

Old:

  compat-gcc8.patch
  libstoragemgmt-1.6.0.tar.gz

New:

  libstoragemgmt-1.7.0.tar.gz



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.8tC0X2/_old  2018-11-09 07:51:13.627931297 +0100
+++ /var/tmp/diff_new_pack.8tC0X2/_new  2018-11-09 07:51:13.631931292 +0100
@@ -12,62 +12,55 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define libname %{name}1
 %bcond_with test
-
 %if 0%{?suse_version} >= 1500 || %{with python3}
 %define python3 1
 %define python_sitelib %{python3_sitelib}
 %else
 %define python3 0
 %endif
-
 Name:   libstoragemgmt
-Version:1.6.0
+Version:1.7.0
 Release:0
 Summary:Storage array management library
-License:LGPL-2.1+ and GPL-2.0+
-Group:  System/Libraries
+License:LGPL-2.1-or-later AND GPL-2.0-or-later
+Group:  Development/Libraries/C and C++
 Url:https://github.com/libstorage/libstoragemgmt
 Source0:
https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
-Patch0: compat-gcc8.patch
-BuildRequires:  libtool
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libconfig-devel
+BuildRequires:  libtool
 BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(libudev)
+BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:  pkgconfig(openssl)
+BuildRequires:  pkgconfig(sqlite3)
+BuildRequires:  pkgconfig(systemd)
+BuildRequires:  pkgconfig(udev)
+%systemd_requires
 %if 0%{python3}
 BuildRequires:  python3-devel
-BuildRequires:  python3-pyudev
 BuildRequires:  python3-pywbem
 BuildRequires:  python3-six
 Requires:   python3-six
 %else
 BuildRequires:  python-devel
-BuildRequires:  python-pyudev
 BuildRequires:  python-pywbem
 BuildRequires:  python-six
 Requires:   python-six
 %endif
-BuildRequires:  pkgconfig(glib-2.0)
-BuildRequires:  pkgconfig(libudev)
-BuildRequires:  pkgconfig(libxml-2.0)
-BuildRequires:  pkgconfig(openssl)
-BuildRequires:  pkgconfig(sqlite3)
-BuildRequires:  pkgconfig(systemd)
-BuildRequires:  pkgconfig(udev)
 %if 0%{python3}
 Requires:   python3-%{name}
-Requires:   python3-%{name}-clibs
 %else
 Requires:   python2-%{name}
-Requires:   python2-%{name}-clibs
 %endif
-%systemd_requires
 %if %{with test}
 BuildRequires:  chrpath
 BuildRequires:  libtool
@@ -76,12 +69,6 @@
 BuildRequires:  valgrind
 BuildRequires:  pkgconfig(check)
 %endif
-%if 0%{?suse_version} <= 1320
-# For SLE12 and openSUSE 13.2
-BuildRequires:  libyajl-devel
-%else
-BuildRequires:  pkgconfig(yajl)
-%endif
 
 %description
 The libStorageMgmt library will provide a vendor agnostic open source storage
@@ -115,16 +102,12 @@
 %else
 %package-n python2-%{name}
 %endif
+
+%{?python_provide:%python_provide python3-%{name}}
 Summary:Python client libraries and plug-in support for %{name}
-Group:  System/Libraries
+Group:  Development/Languages/Python
 Requires:   %{name} = %{version}
-%if 0%{python3}
-Requires: 

commit libstoragemgmt for openSUSE:Factory

2018-05-06 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2018-05-06 14:54:02

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


Package is "libstoragemgmt"

Sun May  6 14:54:02 2018 rev:15 rq:603838 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2018-04-17 11:09:01.150315657 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2018-05-06 14:54:04.053320286 +0200
@@ -1,0 +2,6 @@
+Thu May  3 13:12:28 UTC 2018 - dims...@opensuse.org
+
+- Explicitly call autoreconf: patch compat-gcc8.patch touches the
+  build system and thus we need to rebootstrap.
+
+---



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.40K8Vz/_old  2018-05-06 14:54:04.597300330 +0200
+++ /var/tmp/diff_new_pack.40K8Vz/_new  2018-05-06 14:54:04.597300330 +0200
@@ -35,7 +35,7 @@
 Url:https://github.com/libstorage/libstoragemgmt
 Source0:
https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
 Patch0: compat-gcc8.patch
-BuildRequires:  automake
+BuildRequires:  libtool
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libconfig-devel
@@ -265,6 +265,8 @@
 %patch0 -p1
 
 %build
+# Needed for patch0
+autoreconf -fiv
 %configure \
   --disable-static \
 %if 0%{python3}




commit libstoragemgmt for openSUSE:Factory

2018-04-17 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2018-04-17 11:08:56

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


Package is "libstoragemgmt"

Tue Apr 17 11:08:56 2018 rev:14 rq:595903 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2018-01-10 23:29:21.336389556 +0100
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2018-04-17 11:09:01.150315657 +0200
@@ -1,0 +2,9 @@
+Tue Mar 27 08:27:39 UTC 2018 - nw...@suse.com
+
+- bsc#1084630, compat to gcc8
+  Enlarge the err_msg to avoid [-Werror=format-truncation=]
+  '-Wno-cast-function-type' for python c building
+  Add automake to build requires in spec file.
+- Add patch compat-gcc8.patch
+
+---

New:

  compat-gcc8.patch



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.J8ameV/_old  2018-04-17 11:09:01.634293093 +0200
+++ /var/tmp/diff_new_pack.J8ameV/_new  2018-04-17 11:09:01.634293093 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libstoragemgmt
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -34,6 +34,8 @@
 Group:  System/Libraries
 Url:https://github.com/libstorage/libstoragemgmt
 Source0:
https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
+Patch0: compat-gcc8.patch
+BuildRequires:  automake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libconfig-devel
@@ -260,6 +262,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \

++ compat-gcc8.patch ++
commit edbd5fed3cb5f4f48dcc7ee97f601d2ea3537911
Author: Gris Ge 
Date:   Fri Mar 23 20:38:55 2018 +0800

Fix GCC 8 compile warnings.

 * Fix '-Werror=format-truncation' warning by increase the buffer size.
 * Fix '-Werror=cast-function-type' warning by disable it for Python c
   extension, reason:
   
https://stackoverflow.com/questions/10264080/python-c-extension-why-are-methods-that-use-keyword-arguments-cast-to-pycfunct

diff --git a/c_binding/libsg.c b/c_binding/libsg.c
index 75ee39d..4689369 100644
--- a/c_binding/libsg.c
+++ b/c_binding/libsg.c
@@ -367,8 +367,9 @@ static int _sg_io_open(char *err_msg, const char 
*disk_path, int *fd,
  * The 'sense_key' is the output pointer.
  * Return 0 if sense_key is _T10_SPC_SENSE_KEY_NO_SENSE or
  * _T10_SPC_SENSE_KEY_RECOVERED_ERROR, return -1 otherwise.
+ * sense_err_msg should be char[_LSM_ERR_MSG_LEN / 2]
  */
-static int _check_sense_data(char *err_msg, uint8_t *sense_data,
+static int _check_sense_data(char *sense_err_msg, uint8_t *sense_data,
  uint8_t *sense_key);
 
 static int _extract_ata_sense_data(char *err_msg, uint8_t *sense_data,
@@ -485,14 +486,14 @@ int _sg_io_vpd(char *err_msg, int fd, uint8_t page_code, 
uint8_t *data)
 int rc_vpd_00 = 0;
 char strerr_buff[_LSM_ERR_MSG_LEN];
 uint8_t sense_key = _T10_SPC_SENSE_KEY_NO_SENSE;
-char sense_err_msg[_LSM_ERR_MSG_LEN];
+char sense_err_msg[_LSM_ERR_MSG_LEN / 2];
 ssize_t data_len = 0;
 
 assert(err_msg != NULL);
 assert(fd >= 0);
 assert(data != NULL);
 
-memset(sense_err_msg, 0, _LSM_ERR_MSG_LEN);
+memset(sense_err_msg, 0, sizeof(sense_err_msg));
 
 switch(page_code) {
 case _SG_T10_SPC_VPD_ATA_INFO:
@@ -812,7 +813,7 @@ static int _sg_io_open(char *err_msg, const char 
*disk_path, int *fd, int oflag)
 return rc;
 }
 
-static int _check_sense_data(char *err_msg, uint8_t *sense_data,
+static int _check_sense_data(char *sense_err_msg, uint8_t *sense_data,
  uint8_t *sense_key)
 {
 int rc = -1;
@@ -856,8 +857,9 @@ static int _check_sense_data(char *err_msg, uint8_t 
*sense_data,
 rc = 0;
 goto out;
 default:
-_lsm_err_msg_set(err_msg, "Got unknown sense data response code %02x",
- sense_hdr->response_code);
+snprintf(sense_err_msg, _LSM_ERR_MSG_LEN / 2,
+ "Got unknown sense data response code %02x",
+ sense_hdr->response_code);
 goto out;
 }
 /* TODO(Gris Ge): Handle ADDITIONAL SENSE CODE field and ADDITIONAL SENSE
@@ -879,11 +881,12 @@ static int _check_sense_data(char *err_msg, uint8_t 
*sense_data,
 /* As sense_key is 4 bytes and we covered 

commit libstoragemgmt for openSUSE:Factory

2018-01-10 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2018-01-10 23:29:17

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


Package is "libstoragemgmt"

Wed Jan 10 23:29:17 2018 rev:13 rq:558315 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2017-06-13 16:08:29.971344004 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2018-01-10 23:29:21.336389556 +0100
@@ -1,0 +2,37 @@
+Tue Dec 19 05:43:41 UTC 2017 - nw...@suse.com
+
+- bsc#1073088, change requirements to python3 for SLE15. 
+
+---
+Thu Oct 26 08:57:13 UTC 2017 - mplus...@suse.com
+
+- Update to version 1.6.0:
+  * New error number for deleting volume/fs with child dependency:
++ C: LSM_ERR_HAS_CHILD_DEPENDENCY
++ Python: lsm.ErrorNumber.HAS_CHILD_DEPENDENCY
+  * Fix incorrect SCSI VPD query for 0x89 and 0xb1.
+  * Fix regression on using libstoragemgmt with pywbem 0.7.0.
+  * Updates on manpage and help message of lsmcli.
+- Changes for version 1.5.0:
+  * New plugin -- LibstorageMgmt NFS server plugin(nfs://).
+  * New plugin -- LibstorageMgmt Local Pseudo plugin(local://).
+  * New plugin -- LibstorageMgmt Microsemi storage plugin(arcconf://).
+  * Removed support of lmiwbem due to missing self-signed CA verification and 
inactive upstream of lmiwbem.
+  * Support SES actions on kernel bsg module(old code was using sg kernel 
module).
+  * Add manpages for every C API using kernel-doc.
+  * New URI parameter ca_cert_file for ONTAP, SMI-S, targetd plugin.
+  * Bug fixes:
++ Fix the ONTAP SSL connection.
++ Sim plugin: Fix sqlite3 transaction of fs_child_dependency_rm().
++ MegaRAID: Handle when both perccli and storcli are installed.
++ MegaRAID plugin: Support pool status for rebuild and check.
++ Fixed C++ code compile warnings.
+  * Library adds:
++ Query health status of local disk:
++ lsm_local_disk_health_status_get()/lsm.LocalDisk.health_status_get()
+- Drop no longer needed patches:
+  * 0001-Fix-gcc-warning-on-non-x86-platform.patch
+  * 0001-Simc-plugin-Fix-gcc-warning-on-fallthrough-switch.patch
+  * 0002-C-library-Bug-fix-for-incorrect-use-of-sizeof.patch
+
+---

Old:

  0001-Fix-gcc-warning-on-non-x86-platform.patch
  0001-Simc-plugin-Fix-gcc-warning-on-fallthrough-switch.patch
  0002-C-library-Bug-fix-for-incorrect-use-of-sizeof.patch
  libstoragemgmt-1.4.0.tar.gz

New:

  libstoragemgmt-1.6.0.tar.gz



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.PQ3sRU/_old  2018-01-10 23:29:22.516334174 +0100
+++ /var/tmp/diff_new_pack.PQ3sRU/_new  2018-01-10 23:29:22.520333986 +0100
@@ -18,29 +18,39 @@
 
 %define libname %{name}1
 %bcond_with test
+
+%if 0%{?suse_version} >= 1500 || %{with python3}
+%define python3 1
+%define python_sitelib %{python3_sitelib}
+%else
+%define python3 0
+%endif
+
 Name:   libstoragemgmt
-Version:1.4.0
+Version:1.6.0
 Release:0
 Summary:Storage array management library
-License:LGPL-2.1+
+License:LGPL-2.1+ and GPL-2.0+
 Group:  System/Libraries
 Url:https://github.com/libstorage/libstoragemgmt
 Source0:
https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM 0001-Fix-gcc-warning-on-non-x86-platform.patch -- Fix 
build in ppc64le/s390x related to getopt_long
-Patch0: 0001-Fix-gcc-warning-on-non-x86-platform.patch
-# PATCH-FIX-UPSTREAM 0002-C-library-Bug-fix-for-incorrect-use-of-sizeof.patch
-Patch1: 0002-C-library-Bug-fix-for-incorrect-use-of-sizeof.patch
-# PATCH-FIX-UPSTREAM 
0001-Simc-plugin-Fix-gcc-warning-on-fallthrough-switch.patch
-Patch2: 0001-Simc-plugin-Fix-gcc-warning-on-fallthrough-switch.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libconfig-devel
 BuildRequires:  pkgconfig
-BuildRequires:  python-argparse
+%if 0%{python3}
+BuildRequires:  python3-devel
+BuildRequires:  python3-pyudev
+BuildRequires:  python3-pywbem
+BuildRequires:  python3-six
+Requires:   python3-six
+%else
 BuildRequires:  python-devel
 BuildRequires:  python-pyudev
 BuildRequires:  python-pywbem
 BuildRequires:  python-six
+Requires:   python-six
+%endif
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(libxml-2.0)
@@ -48,11 +58,14 @@
 BuildRequires:  pkgconfig(sqlite3)
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  

commit libstoragemgmt for openSUSE:Factory

2017-06-13 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2017-06-13 16:08:28

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


Package is "libstoragemgmt"

Tue Jun 13 16:08:28 2017 rev:12 rq:500390 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2017-05-27 13:09:24.831435691 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2017-06-13 16:08:29.971344004 +0200
@@ -1,0 +2,6 @@
+Thu Jun  1 06:22:27 UTC 2017 - nw...@suse.com
+
+- To unify the package in SLE and Leap.
+- bsc#931426, bsc#980651 and bsc#988547 also fixed in this package
+
+---



Other differences:
--



commit libstoragemgmt for openSUSE:Factory

2017-05-27 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2017-05-27 13:07:53

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


Package is "libstoragemgmt"

Sat May 27 13:07:53 2017 rev:11 rq:495829 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2017-04-28 10:53:19.134822014 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2017-05-27 13:09:24.831435691 +0200
@@ -1,0 +2,12 @@
+Thu May 18 09:43:43 UTC 2017 - mli...@suse.cz
+
+- Add 0001-Simc-plugin-Fix-gcc-warning-on-fallthrough-switch.patch to
+  fix build with GCC 7.
+
+---
+Tue May 16 10:30:33 UTC 2017 - mplus...@suse.com
+
+- Sync patches with fedora:
+  * 0002-C-library-Bug-fix-for-incorrect-use-of-sizeof.patch
+
+---

New:

  0001-Simc-plugin-Fix-gcc-warning-on-fallthrough-switch.patch
  0002-C-library-Bug-fix-for-incorrect-use-of-sizeof.patch



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.25ie3Y/_old  2017-05-27 13:09:25.451348045 +0200
+++ /var/tmp/diff_new_pack.25ie3Y/_new  2017-05-27 13:09:25.451348045 +0200
@@ -28,6 +28,10 @@
 Source0:
https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM 0001-Fix-gcc-warning-on-non-x86-platform.patch -- Fix 
build in ppc64le/s390x related to getopt_long
 Patch0: 0001-Fix-gcc-warning-on-non-x86-platform.patch
+# PATCH-FIX-UPSTREAM 0002-C-library-Bug-fix-for-incorrect-use-of-sizeof.patch
+Patch1: 0002-C-library-Bug-fix-for-incorrect-use-of-sizeof.patch
+# PATCH-FIX-UPSTREAM 
0001-Simc-plugin-Fix-gcc-warning-on-fallthrough-switch.patch
+Patch2: 0001-Simc-plugin-Fix-gcc-warning-on-fallthrough-switch.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libconfig-devel
@@ -194,7 +198,9 @@
 
 %prep
 %setup -q
-%patch0 -p1
+%patch0
+%patch1
+%patch2 -p1
 
 %build
 %configure \

++ 0001-Fix-gcc-warning-on-non-x86-platform.patch ++
--- /var/tmp/diff_new_pack.25ie3Y/_old  2017-05-27 13:09:25.471345217 +0200
+++ /var/tmp/diff_new_pack.25ie3Y/_new  2017-05-27 13:09:25.471345217 +0200
@@ -27,11 +27,11 @@
  tools/udev/scan-scsi-target.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/tools/udev/scan-scsi-target.c b/tools/udev/scan-scsi-target.c
-index bb83c65..00126b9 100644
 a/tools/udev/scan-scsi-target.c
-+++ b/tools/udev/scan-scsi-target.c
-@@ -54,7 +54,7 @@ static void __attribute__ ((__noreturn__)) invalid(char 
**argv, char *devpath)
+Index: tools/udev/scan-scsi-target.c
+===
+--- tools/udev/scan-scsi-target.c.orig
 tools/udev/scan-scsi-target.c
+@@ -54,7 +54,7 @@ static void __attribute__ ((__noreturn__
  
  int main(int argc, char **argv)
  {

++ 0001-Simc-plugin-Fix-gcc-warning-on-fallthrough-switch.patch ++
>From fa8e9e94c6d06ac135d4363293b00b1a42ebf5c4 Mon Sep 17 00:00:00 2001
From: Gris Ge 
Date: Thu, 23 Feb 2017 22:06:26 +0800
Subject: [PATCH] Simc plugin: Fix gcc warning on fallthrough switch.

Issue:

GCC(gcc-7.0.1-0.9.fc26.x86_64) is warning on fallthrough switch.

Fix:
Use if and else if check instead.

Misc:
Don't want to mess with GCC and CLANG on this trivial issue by
using GCC extention:`__attribute__((fallthrough))`.

Signed-off-by: Gris Ge 
---
 plugin/simc/ops_v1_2.c | 38 ++
 1 file changed, 18 insertions(+), 20 deletions(-)

diff --git a/plugin/simc/ops_v1_2.c b/plugin/simc/ops_v1_2.c
index 3703161..3bdc2ba 100644
--- a/plugin/simc/ops_v1_2.c
+++ b/plugin/simc/ops_v1_2.c
@@ -63,36 +63,34 @@ int volume_raid_info(lsm_plugin_ptr c, lsm_volume *volume,
 _good(_str_to_int(err_msg, lsm_hash_string_get(sim_p, "member_type"),
   (int *) _type), rc, out);
 
-switch(member_type) {
-case LSM_POOL_MEMBER_TYPE_POOL:
+if (member_type == LSM_POOL_MEMBER_TYPE_POOL) {
 _good(_str_to_uint64(err_msg, lsm_hash_string_get(sim_p,
   "parent_pool_id"),
  _p_id), rc, out);
 _good(_db_sim_pool_of_sim_id(err_msg, db, sim_p_id, _p), rc, out);
-case LSM_POOL_MEMBER_TYPE_DISK:
-_good(_str_to_int(err_msg, lsm_hash_string_get(sim_p, "raid_type"),
-  (int *) raid_type), rc, out);
-_good(_str_to_uint32(err_msg, 

commit libstoragemgmt for openSUSE:Factory

2017-04-28 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2017-04-28 10:53:15

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


Package is "libstoragemgmt"

Fri Apr 28 10:53:15 2017 rev:10 rq:490944 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2017-02-07 11:57:00.496525741 +0100
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2017-04-28 10:53:19.134822014 +0200
@@ -1,0 +2,41 @@
+Tue Apr 25 07:27:25 UTC 2017 - alarr...@suse.com
+
+- Add 0001-Fix-gcc-warning-on-non-x86-platform.patch to fix build in
+  ppc64le/s390x.
+
+---
+Mon Apr 24 11:10:59 UTC 2017 - alarr...@suse.com
+
+- Remove dependency for python-M2Crypto which is no longer needed 
+- Add python-six dependency
+
+---
+Fri Mar 24 10:32:50 UTC 2017 - mplus...@suse.com
+
+- Update to version 1.4.0:
+  * Add Python3 support.
+  * Add support of lmiwbem.
+  * Allow plugin test to be run concurrently.
+  * Bug fixes:
++ Fix megaraid plugin for dell PERC.
++ Fix local disk rotation speed query on NVMe disk.
++ Fix lsmcli incorrect try-expect on local disk query.
++ Fix all the gcc compile warnings.
++ Fix the obsolete usage of AC_OUTPUT in configure.ac.
+  * Library adds:
++ Query serial of local disk:
+  lsm_local_disk_serial_num_get()/lsm.LocalDisk.serial_num_get()
++ Query LED status of local disk:
+  lsm_local_disk_led_status_get()/lsm.LocalDisk.led_status_get()
++ Query link speed of local disk:
+  lsm_local_disk_link_speed_get()/lsm.LocalDisk.link_speed_get()
+- Changes for version 1.3.5:
+  * Bug fixes:
++ Fix anon_uid/anon_gid handling.
++ Fix HPSA plugin on capabilities, system status, system mode.
++ Fix running lsmcli on python 2.6.
++ Fix missing vpd83 optional property in C library.
+  * Enhancements:
++ Rewrite C simulator plugin to support state saving.
+
+---

Old:

  libstoragemgmt-1.3.4.tar.gz

New:

  0001-Fix-gcc-warning-on-non-x86-platform.patch
  libstoragemgmt-1.4.0.tar.gz



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.xwzpQT/_old  2017-04-28 10:53:20.062690877 +0200
+++ /var/tmp/diff_new_pack.xwzpQT/_new  2017-04-28 10:53:20.066690311 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libstoragemgmt
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,51 +16,53 @@
 #
 
 
-%bcond_with test
-
 %define libname %{name}1
+%bcond_with test
 Name:   libstoragemgmt
-Version:1.3.4
+Version:1.4.0
 Release:0
 Summary:Storage array management library
 License:LGPL-2.1+
 Group:  System/Libraries
 Url:https://github.com/libstorage/libstoragemgmt
 Source0:
https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM 0001-Fix-gcc-warning-on-non-x86-platform.patch -- Fix 
build in ppc64le/s390x related to getopt_long
+Patch0: 0001-Fix-gcc-warning-on-non-x86-platform.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libconfig-devel
 BuildRequires:  pkgconfig
-BuildRequires:  python-M2Crypto
 BuildRequires:  python-argparse
 BuildRequires:  python-devel
 BuildRequires:  python-pyudev
 BuildRequires:  python-pywbem
-%if %{with test}
-BuildRequires:  chrpath
-BuildRequires:  libtool
-BuildRequires:  perl
-BuildRequires:  procps
-BuildRequires:  valgrind
-BuildRequires:  pkgconfig(check)
-%endif
+BuildRequires:  python-six
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(openssl)
+BuildRequires:  pkgconfig(sqlite3)
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
 Requires:   python-%{name}
 Requires:   python-%{name}-clibs
+Requires:   python-six
+%systemd_requires
+%py_requires
+%if %{with test}
+BuildRequires:  chrpath
+BuildRequires:  libtool
+BuildRequires:  perl
+BuildRequires:  procps
+BuildRequires:  valgrind
+BuildRequires:  pkgconfig(check)
+%endif
 %if 0%{?suse_version} <= 1320
 # For SLE12 and openSUSE 13.2
 BuildRequires:  libyajl-devel
 %else
 BuildRequires:  pkgconfig(yajl)
 %endif

commit libstoragemgmt for openSUSE:Factory

2017-02-07 Thread root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2017-02-07 11:56:59

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


Package is "libstoragemgmt"

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2016-08-10 19:54:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2017-02-07 11:57:00.496525741 +0100
@@ -1,0 +2,8 @@
+Sun Nov 27 21:06:22 UTC 2016 - jeng...@inai.de
+
+- Adjust rpm group categories to match what is used in other
+  packages.
+- Avoid suppressing error outputs in scriptlets. If it happens,
+  we want to know about it.
+
+---



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.ofrkW3/_old  2017-02-07 11:57:00.884470743 +0100
+++ /var/tmp/diff_new_pack.ofrkW3/_new  2017-02-07 11:57:00.884470743 +0100
@@ -24,7 +24,7 @@
 Release:0
 Summary:Storage array management library
 License:LGPL-2.1+
-Group:  System Environment/Libraries
+Group:  System/Libraries
 Url:https://github.com/libstorage/libstoragemgmt
 Source0:
https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  fdupes
@@ -71,7 +71,7 @@
 
 %package-n %{libname}
 Summary:Storage array management library
-Group:  System Environment/Libraries
+Group:  System/Libraries
 
 %description-n %{libname}
 The libStorageMgmt library will provide a vendor agnostic open source storage
@@ -82,7 +82,7 @@
 
 %packagedevel
 Summary:Development files for %{name}
-Group:  Development/Libraries
+Group:  Development/Libraries/C and C++
 Requires:   %{libname} = %{version}
 
 %descriptiondevel
@@ -91,7 +91,7 @@
 
 %package-n python-%{name}
 Summary:Python client libraries and plug-in support for %{name}
-Group:  System Environment/Libraries
+Group:  System/Libraries
 Requires:   %{name} = %{version}
 Requires:   python-%{name}-clibs
 Requires:   python-argparse
@@ -104,7 +104,7 @@
 
 %package-n python-%{name}-clibs
 Summary:Python C extension for %{name}
-Group:  System Environment/Libraries
+Group:  System/Libraries
 Requires:   %{name} = %{version}
 %py_requires
 
@@ -113,7 +113,7 @@
 
 %packagesmis-plugin
 Summary:Files for SMI-S generic array support for %{name}
-Group:  System Environment/Libraries
+Group:  System/Libraries
 Requires(post): %{name} = %{version}
 Requires(postun): %{name} = %{version}
 Requires:   python-pywbem
@@ -126,7 +126,7 @@
 
 %packagenetapp-plugin
 Summary:Files for NetApp array support for %{name}
-Group:  System Environment/Libraries
+Group:  System/Libraries
 Requires(post): %{name} = %{version}
 Requires(postun): %{name} = %{version}
 Requires:   python-M2Crypto
@@ -139,7 +139,7 @@
 
 %packagetargetd-plugin
 Summary:Files for targetd array support for %{name}
-Group:  System Environment/Libraries
+Group:  System/Libraries
 Requires(post): %{name} = %{version}
 Requires(postun): %{name} = %{version}
 BuildArch:  noarch
@@ -151,7 +151,7 @@
 
 %packagenstor-plugin
 Summary:Files for NexentaStor array support for %{name}
-Group:  System Environment/Libraries
+Group:  System/Libraries
 Requires(post): %{name} = %{version}
 Requires(postun): %{name} = %{version}
 BuildArch:  noarch
@@ -163,7 +163,7 @@
 
 %packageudev
 Summary:Udev files for %{name}
-Group:  System Environment/Base
+Group:  System/Base
 
 %descriptionudev
 The %{name}-udev package contains udev rules and helper utilities for
@@ -171,7 +171,7 @@
 
 %packagemegaraid-plugin
 Summary:Files for LSI MegaRAID support for %{name}
-Group:  System Environment/Libraries
+Group:  System/Libraries
 Requires(post): %{name} = %{version}
 Requires(postun): %{name} = %{version}
 BuildArch:  noarch
@@ -182,7 +182,7 @@
 
 %packagehpsa-plugin
 Summary:Files for HP SmartArray support for %{name}
-Group:  System Environment/Libraries
+Group:  System/Libraries
 Requires(post): %{name} = %{version}
 Requires(postun): %{name} = %{version}
 BuildArch:  noarch
@@ -255,9 +255,9 @@
 %post
 %service_add_post %{name}.service
 # Create tmp socket file on package new install.
-if [ $1 -eq 1 ]; then
+if [ $1 -eq 1 -a -x 

commit libstoragemgmt for openSUSE:Factory

2016-08-10 Thread h_root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2016-08-10 19:54:13

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


Package is "libstoragemgmt"

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2016-07-24 19:43:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2016-08-10 19:54:15.0 +0200
@@ -1,0 +2,13 @@
+Tue Aug  9 08:18:33 UTC 2016 - mplus...@suse.com
+
+- Update to version 1.3.4:
+  * hpsa: Update cacheless variable
+
+---
+Mon Aug  1 01:54:55 UTC 2016 - f...@redhat.com
+
+- Update to version 1.3.3:
+  * Bug fix release, check this link for detail:
+https://github.com/libstorage/libstoragemgmt/releases/tag/1.3.3
+
+---

Old:

  libstoragemgmt-1.3.2.tar.gz

New:

  libstoragemgmt-1.3.4.tar.gz



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.Pf7fuk/_old  2016-08-10 19:54:16.0 +0200
+++ /var/tmp/diff_new_pack.Pf7fuk/_new  2016-08-10 19:54:16.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libstoragemgmt
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 
 %define libname %{name}1
 Name:   libstoragemgmt
-Version:1.3.2
+Version:1.3.4
 Release:0
 Summary:Storage array management library
 License:LGPL-2.1+

++ libstoragemgmt-1.3.2.tar.gz -> libstoragemgmt-1.3.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstoragemgmt-1.3.2/NEWS 
new/libstoragemgmt-1.3.4/NEWS
--- old/libstoragemgmt-1.3.2/NEWS   2016-05-18 20:45:32.0 +0200
+++ new/libstoragemgmt-1.3.4/NEWS   2016-08-02 20:36:56.0 +0200
@@ -1,5 +1,20 @@
 News for libStorageMgmt
 
+1.3.4: Aug 2 2016:
+- Bug fixes:
+* https://github.com/libstorage/libstoragemgmt/pull/177
+
+1.3.3: Jul 29 2016:
+- Bug fixes:
+* https://bugzilla.redhat.com/show_bug.cgi?id=1346901
+* https://bugzilla.redhat.com/show_bug.cgi?id=1346898
+* https://bugzilla.redhat.com/show_bug.cgi?id=1360177
+* https://github.com/libstorage/libstoragemgmt/issues/167
+* Seg. fault on qemu simulated disk
+* Fix make check on EL6 (python 2.6)
+* Misc. code improvements & corrections
+* Fix regression introduced by coverity scan correction
+
 1.3.2: May 18 2016:
 - Bug fixes:
 * https://github.com/libstorage/libstoragemgmt/pull/152
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libstoragemgmt-1.3.2/c_binding/include/libstoragemgmt/libstoragemgmt_version.h
 
new/libstoragemgmt-1.3.4/c_binding/include/libstoragemgmt/libstoragemgmt_version.h
--- 
old/libstoragemgmt-1.3.2/c_binding/include/libstoragemgmt/libstoragemgmt_version.h
  2016-05-18 21:22:11.0 +0200
+++ 
new/libstoragemgmt-1.3.4/c_binding/include/libstoragemgmt/libstoragemgmt_version.h
  2016-08-02 20:40:21.0 +0200
@@ -21,7 +21,7 @@
 
 #define LSM_MAJOR  1
 #define LSM_MINOR  3
-#define LSM_MICRO  2
+#define LSM_MICRO  4
 
 #define LSM_VERSION ((LSM_MAJOR * 1) + (LSM_MINOR * 100) + LSM_MICRO)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstoragemgmt-1.3.2/c_binding/libses.c 
new/libstoragemgmt-1.3.4/c_binding/libses.c
--- old/libstoragemgmt-1.3.2/c_binding/libses.c 2016-05-09 20:01:26.0 
+0200
+++ new/libstoragemgmt-1.3.4/c_binding/libses.c 2016-07-29 18:04:39.0 
+0200
@@ -294,9 +294,10 @@
 lsm_string_list *sg_name_list = NULL;
 const char *sg_name = NULL;
 char *sysfs_sg_type_path = NULL;
-char sg_dev_type[_LINUX_SG_DEV_TYPE_SES_LEN];
+char sg_dev_type[_LINUX_SG_DEV_TYPE_SES_LEN + 1];
 ssize_t sg_dev_type_size = 0;
 char strerr_buff[_LSM_ERR_MSG_LEN];
+int tmp_rc = 0;
 
 assert(err_msg != NULL);
 assert(sg_paths != NULL);
@@ -342,9 +343,10 @@
 _alloc_null_check(err_msg, sysfs_sg_type_path, rc, out);
 sprintf(sysfs_sg_type_path, "%s/%s/device/type",
 _SYSFS_SG_ROOT_PATH, sg_name);
-if (_read_file(sysfs_sg_type_path, (uint8_t *) sg_dev_type,
-   

commit libstoragemgmt for openSUSE:Factory

2016-07-24 Thread h_root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2016-07-24 19:43:05

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


Package is "libstoragemgmt"

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2016-05-23 16:36:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2016-07-24 19:43:06.0 +0200
@@ -1,0 +2,5 @@
+Tue Jul 19 05:55:35 UTC 2016 - nw...@suse.com
+
+- bsc#988547, add require of python-libstoragemgmt-clibs. 
+
+---



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.Gnjl5H/_old  2016-07-24 19:43:07.0 +0200
+++ /var/tmp/diff_new_pack.Gnjl5H/_new  2016-07-24 19:43:07.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libstoragemgmt
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -51,6 +51,7 @@
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
 Requires:   python-%{name}
+Requires:   python-%{name}-clibs
 %if 0%{?suse_version} <= 1320
 # For SLE12 and openSUSE 13.2
 BuildRequires:  libyajl-devel
@@ -92,6 +93,7 @@
 Summary:Python client libraries and plug-in support for %{name}
 Group:  System Environment/Libraries
 Requires:   %{name} = %{version}
+Requires:   python-%{name}-clibs
 Requires:   python-argparse
 BuildArch:  noarch
 %py_requires




commit libstoragemgmt for openSUSE:Factory

2016-05-23 Thread h_root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2016-05-23 16:36:29

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


Package is "libstoragemgmt"

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2016-02-17 12:14:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2016-05-23 16:36:30.0 +0200
@@ -1,0 +2,35 @@
+Thu May 19 03:08:21 UTC 2016 - f...@redhat.com
+- Update to version 1.3.2 (boo#980653):
+  * Fix local disk VPD83 searching in fakeroot(change root) when
+'/dev' is not mounted.
+  * New configure option to skip memory leak check test.
+  * Fix regression introduced by 1.3.1 when run as non-root user.
+  * New configure option '--without-test' to skip all test cases and
+their build requirements.
+
+---
+Fri May 13 13:59:32 UTC 2016 - f...@redhat.com
+
+- Upgrade to version 1.3.1 (boo#980041):
+  * Fix local disk querying in fakeroot(change root) when '/dev' 
+is not mounted.
+
+---
+Fri May 13 13:52:43 UTC 2016 - f...@redhat.com
+
+- Upgrade to version 1.3.0:
+  * Change the raid card cache split (%read, %write)
+  * Retrieve/update cache information of both the card and 
+physical disks (enable/disable caching etc.)
+  * Turn on/off identify and fault LEDs
+  * Retrieve information on batteries
+  * Retrieve a physical disk RPM, link type and location string for 
+a disk
+  * Retrieve the vpd 0x83 for directly attached disk(s)
+  * Given a vpd 0x83 return list of local disk paths
+  * Given a disk path return the vpd 0x83 value
+  * Retrieve list of local disks
+- Removed package:
+  * libstoragemgmt-rest -- droped by upstream.
+
+---

Old:

  libstoragemgmt-1.2.3.tar.gz

New:

  libstoragemgmt-1.3.2.tar.gz



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.cx5oUV/_old  2016-05-23 16:36:31.0 +0200
+++ /var/tmp/diff_new_pack.cx5oUV/_new  2016-05-23 16:36:31.0 +0200
@@ -16,11 +16,11 @@
 #
 
 
-%bcond_without test
+%bcond_with test
 
 %define libname %{name}1
 Name:   libstoragemgmt
-Version:1.2.3
+Version:1.3.2
 Release:0
 Summary:Storage array management library
 License:LGPL-2.1+
@@ -30,16 +30,22 @@
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libconfig-devel
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  python-M2Crypto
 BuildRequires:  python-argparse
 BuildRequires:  python-devel
+BuildRequires:  python-pyudev
 BuildRequires:  python-pywbem
-BuildRequires:  pkgconfig(bash-completion) >= 2.0
+%if %{with test}
+BuildRequires:  chrpath
+BuildRequires:  libtool
+BuildRequires:  perl
+BuildRequires:  procps
+BuildRequires:  valgrind
 BuildRequires:  pkgconfig(check)
+%endif
 BuildRequires:  pkgconfig(glib-2.0)
-BuildRequires:  pkgconfig(json-c)
-BuildRequires:  pkgconfig(libmicrohttpd)
+BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(systemd)
@@ -91,9 +97,18 @@
 %py_requires
 
 %description-n python-%{name}
-The %{name}-python package contains python client libraries as
+The python-%{name} package contains python client libraries as
 well as python framework support and open source plug-ins written in python.
 
+%package-n python-%{name}-clibs
+Summary:Python C extension for %{name}
+Group:  System Environment/Libraries
+Requires:   %{name} = %{version}
+%py_requires
+
+%description-n python-%{name}-clibs
+The python-%{name}-clibs package contains python C extentions for %{name}.
+
 %packagesmis-plugin
 Summary:Files for SMI-S generic array support for %{name}
 Group:  System Environment/Libraries
@@ -144,16 +159,6 @@
 The %{name}-nstor-plugin package contains plug-in for NexentaStor
 array support.
 
-%packagerest
-Summary:REST API daemon for %{name}
-Group:  System Environment/Daemons
-Requires:   %{name} = %{version}
-%systemd_requires
-
-%descriptionrest
-The experimental %{name}-rest package contains the http daemon for %{name}
-rest API.
-
 %packageudev
 Summary:Udev files for %{name}
 Group:  System Environment/Base
@@ -189,7 +194,11 @@
 
 %build
 %configure \
---disable-static
+--disable-static \
+%if ! %{with test}
+--without-test
+%endif
+
 make %{?_smp_mflags} 

commit libstoragemgmt for openSUSE:Factory

2016-02-17 Thread h_root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2016-02-17 10:25:11

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


Package is "libstoragemgmt"

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2015-06-24 21:05:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2016-02-17 12:14:55.0 +0100
@@ -1,0 +2,6 @@
+Sat Feb  6 11:20:21 UTC 2016 - mplus...@suse.com
+
+- Make building more verbose
+- Small spec file cleanups
+
+---



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.3LinMV/_old  2016-02-17 12:14:56.0 +0100
+++ /var/tmp/diff_new_pack.3LinMV/_new  2016-02-17 12:14:56.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libstoragemgmt
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -190,8 +190,7 @@
 %build
 %configure \
 --disable-static
-
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
 
 %install
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
@@ -353,14 +352,14 @@
 
 %files
 %defattr(-,root,root,-)
-%{_mandir}/man1/lsmcli.1*
-%{_mandir}/man1/lsmd.1*
+%{_mandir}/man1/lsmcli.1%{ext_man}
+%{_mandir}/man1/lsmd.1%{ext_man}
 %{_mandir}/man5/lsmd.conf.5*
 %{_bindir}/lsmcli
 %{_datadir}/bash-completion/completions/lsmcli
 %{_bindir}/lsmd
 %{_bindir}/simc_lsmplugin
-%{_mandir}/man1/simc_lsmplugin.1*
+%{_mandir}/man1/simc_lsmplugin.1%{ext_man}
 %{_unitdir}/libstoragemgmt.service
 %{_tmpfilesdir}/%{name}.conf
 %dir %{_sysconfdir}/lsm
@@ -378,12 +377,12 @@
 %files -n %{libname}
 %defattr(-,root,root,-)
 %doc README COPYING.LIB
-%{_libdir}/*.so.*
+%{_libdir}/libstoragemgmt.so.*
 
 %files devel
 %defattr(-,root,root,-)
 %{_includedir}/*
-%{_libdir}/*.so
+%{_libdir}/libstoragemgmt.so
 %{_libdir}/pkgconfig/libstoragemgmt.pc
 
 %files -n python-%{name}
@@ -399,35 +398,35 @@
 %{python_sitelib}/lsm/lsmcli
 %{_bindir}/sim_lsmplugin
 %config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/sim.conf
-%{_mandir}/man1/sim_lsmplugin.1*
+%{_mandir}/man1/sim_lsmplugin.1%{ext_man}
 
 %files smis-plugin
 %defattr(-,root,root,-)
 %dir %{python_sitelib}/lsm/plugin/smispy
 %{python_sitelib}/lsm/plugin/smispy
 %{_bindir}/smispy_lsmplugin
-%{_mandir}/man1/smispy_lsmplugin.1*
+%{_mandir}/man1/smispy_lsmplugin.1%{ext_man}
 
 %files netapp-plugin
 %defattr(-,root,root,-)
 %dir %{python_sitelib}/lsm/plugin/ontap
 %{python_sitelib}/lsm/plugin/ontap
 %{_bindir}/ontap_lsmplugin
-%{_mandir}/man1/ontap_lsmplugin.1*
+%{_mandir}/man1/ontap_lsmplugin.1%{ext_man}
 
 %files targetd-plugin
 %defattr(-,root,root,-)
 %dir %{python_sitelib}/lsm/plugin/targetd
 %{python_sitelib}/lsm/plugin/targetd
 %{_bindir}/targetd_lsmplugin
-%{_mandir}/man1/targetd_lsmplugin.1*
+%{_mandir}/man1/targetd_lsmplugin.1%{ext_man}
 
 %files nstor-plugin
 %defattr(-,root,root,-)
 %dir %{python_sitelib}/lsm/plugin/nstor
 %{python_sitelib}/lsm/plugin/nstor
 %{_bindir}/nstor_lsmplugin
-%{_mandir}/man1/nstor_lsmplugin.1*
+%{_mandir}/man1/nstor_lsmplugin.1%{ext_man}
 
 %files megaraid-plugin
 %defattr(-,root,root,-)
@@ -437,7 +436,7 @@
 %{python_sitelib}/lsm/plugin/megaraid/utils.*
 %{_bindir}/megaraid_lsmplugin
 %config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/megaraid.conf
-%{_mandir}/man1/megaraid_lsmplugin.1*
+%{_mandir}/man1/megaraid_lsmplugin.1%{ext_man}
 
 %files hpsa-plugin
 %defattr(-,root,root,-)
@@ -447,7 +446,7 @@
 %{python_sitelib}/lsm/plugin/hpsa/utils.*
 %{_bindir}/hpsa_lsmplugin
 %config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/hpsa.conf
-%{_mandir}/man1/hpsa_lsmplugin.1*
+%{_mandir}/man1/hpsa_lsmplugin.1%{ext_man}
 
 %files rest
 %defattr(-,root,root,-)




commit libstoragemgmt for openSUSE:Factory

2015-06-24 Thread h_root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2015-06-24 21:05:36

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


Package is libstoragemgmt

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2015-06-23 11:56:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2015-06-24 21:05:37.0 +0200
@@ -1,0 +2,13 @@
+Wed Jun 24 08:05:23 UTC 2015 - f...@redhat.com
+
+- Upgrade to version 1.2.3:
+* Bug fixes:
+* lsmcli bash completion: Fix syntax error.
+* lsmcli bash completion: Fix volume-delete.
+* lsmcli bash completion: Add missing completions.
+* Fix: selinux dac_override
+* Manpage: Update hpsa and megaraid plugin manpages.
+* HP Smart Array Plugin: Fix pool querying on P410i.
+* MegaRAID Plugin: Fix bug when no volume configured.
+
+---

Old:

  libstoragemgmt-1.2.1.tar.gz

New:

  libstoragemgmt-1.2.3.tar.gz



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.SPXowV/_old  2015-06-24 21:05:38.0 +0200
+++ /var/tmp/diff_new_pack.SPXowV/_new  2015-06-24 21:05:38.0 +0200
@@ -20,7 +20,7 @@
 
 %define libname %{name}1
 Name:   libstoragemgmt
-Version:1.2.1
+Version:1.2.3
 Release:0
 Summary:Storage array management library
 License:LGPL-2.1+

++ libstoragemgmt-1.2.1.tar.gz - libstoragemgmt-1.2.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstoragemgmt-1.2.1/NEWS 
new/libstoragemgmt-1.2.3/NEWS
--- old/libstoragemgmt-1.2.1/NEWS   2015-06-17 05:47:12.0 +0200
+++ new/libstoragemgmt-1.2.3/NEWS   2015-06-24 09:24:10.0 +0200
@@ -1,5 +1,18 @@
 News for libStorageMgmt
 
+1.2.3: Jun 24 2015:
+- Bug fix:
+* lsmcli bash completion: Fix syntax error.
+* lsmcli bash completion: Fix volume-delete.
+* lsmcli bash completion: Add missing completions.
+
+1.2.2: Jun 23 2015:
+- Bug fixes:
+* Fix: selinux dac_override
+* Manpage: Update hpsa and megaraid plugin manpages.
+* HP Smart Array Plugin: Fix pool querying on P410i.
+* MegaRAID Plugin: Fix bug when no volume configured.
+
 1.2.1: Jun 17 2015:
 - Bug fix:
 * Fix 'make distcheck' error on bash-completion.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libstoragemgmt-1.2.1/c_binding/include/libstoragemgmt/libstoragemgmt_version.h
 
new/libstoragemgmt-1.2.3/c_binding/include/libstoragemgmt/libstoragemgmt_version.h
--- 
old/libstoragemgmt-1.2.1/c_binding/include/libstoragemgmt/libstoragemgmt_version.h
  2015-06-17 05:48:50.0 +0200
+++ 
new/libstoragemgmt-1.2.3/c_binding/include/libstoragemgmt/libstoragemgmt_version.h
  2015-06-24 09:24:25.0 +0200
@@ -21,7 +21,7 @@
 
 #define LSM_MAJOR  1
 #define LSM_MINOR  2
-#define LSM_MICRO  1
+#define LSM_MICRO  3
 
 #define LSM_VERSION ((LSM_MAJOR * 1) + (LSM_MINOR * 100) + LSM_MICRO)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstoragemgmt-1.2.1/configure 
new/libstoragemgmt-1.2.3/configure
--- old/libstoragemgmt-1.2.1/configure  2015-06-17 05:48:47.0 +0200
+++ new/libstoragemgmt-1.2.3/configure  2015-06-24 09:24:22.0 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libstoragemgmt 1.2.1.
+# Generated by GNU Autoconf 2.69 for libstoragemgmt 1.2.3.
 #
 # Report bugs to libstoragemgmt-de...@lists.fedorahosted.org.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='libstoragemgmt'
 PACKAGE_TARNAME='libstoragemgmt'
-PACKAGE_VERSION='1.2.1'
-PACKAGE_STRING='libstoragemgmt 1.2.1'
+PACKAGE_VERSION='1.2.3'
+PACKAGE_STRING='libstoragemgmt 1.2.3'
 PACKAGE_BUGREPORT='libstoragemgmt-de...@lists.fedorahosted.org'
 PACKAGE_URL='https://github.com/libstorage/libstoragemgmt/'
 
@@ -1396,7 +1396,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat _ACEOF
-\`configure' configures libstoragemgmt 1.2.1 to adapt to many kinds of systems.
+\`configure' configures libstoragemgmt 1.2.3 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1466,7 +1466,7 @@
 
 if test -n $ac_init_help; then
   case $ac_init_help in
- short | 

commit libstoragemgmt for openSUSE:Factory

2015-06-23 Thread h_root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2015-06-23 11:56:35

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


Package is libstoragemgmt

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2015-05-15 07:44:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2015-06-23 11:56:45.0 +0200
@@ -1,0 +2,36 @@
+Thu Jun 18 08:36:57 UTC 2015 - mplus...@suse.com
+
+- Cleanup changelog formatting
+- Update dependencies
+
+---
+Wed Jun 17 07:09:55 UTC 2015 - f...@redhat.com
+- Upgrade to version 1.2.1.
+- New sub-pacakges:
+* libstoragemgmt-megaraid-plugin
+New plugin in 1.2.0 release.
+* libstoragemgmt-hpsa-plugin
+New plugin in 1.2.0 release.
+* libstoragemgmt-udev
+The udev file has nothing to do with the libraray.
+It just scan the SCSI target when got 
+REPORTED_LUNS_DATA_HAS_CHANGED in udev.
+- New rpmbuild switch: '--without test'
+Use to skip 'make check' test to save debug time.
+- Fix incorrect post scripts for plugin packages.
+User case: 
+  The libstoragemgmt daemon need to be restarted on new plugin 
+  install or plugin uninstall, so that the daemon could create 
+  new or stop existing plugin connection. 
+But old macros:
+* The %service_del_postun only try-restart daemon on upgrade 
+  which is not required here. 
+* The %service_del_postun only 'daemon-reload' on uninstall 
+  which is not required here. 
+* The %service_add_post does not restart daemon.
+So we have to use hardcoded systemd commands.
+- Add bash-completion script for lsmcli.
+- Use systemd-tmpfiles to create socket file in /run folder.
+- Add %ghost ownership for socket file and folder in /run folder.
+
+---

Old:

  libstoragemgmt-1.1.0.tar.gz

New:

  libstoragemgmt-1.2.1.tar.gz



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.SUg9gr/_old  2015-06-23 11:56:46.0 +0200
+++ /var/tmp/diff_new_pack.SUg9gr/_new  2015-06-23 11:56:46.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libstoragemgmt
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,26 @@
 #
 
 
+%bcond_without test
+
 %define libname %{name}1
 Name:   libstoragemgmt
-Version:1.1.0
+Version:1.2.1
 Release:0
 Summary:Storage array management library
 License:LGPL-2.1+
 Group:  System Environment/Libraries
-Url:http://sourceforge.net/projects/libstoragemgmt/
-Source0:
http://sourceforge.net/projects/libstoragemgmt/files/%{name}-%{version}.tar.gz
+Url:https://github.com/libstorage/libstoragemgmt
+Source0:
https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
+BuildRequires:  libconfig-devel
 BuildRequires:  pkg-config
 BuildRequires:  python-M2Crypto
-BuildRequires:  python-PyYAML
 BuildRequires:  python-argparse
 BuildRequires:  python-devel
 BuildRequires:  python-pywbem
+BuildRequires:  pkgconfig(bash-completion) = 2.0
 BuildRequires:  pkgconfig(check)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(json-c)
@@ -41,8 +44,9 @@
 BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
-%if 0%{?suse_version} = 1315
-# For SLE12
+Requires:   python-%{name}
+%if 0%{?suse_version} = 1320
+# For SLE12 and openSUSE 13.2
 BuildRequires:  libyajl-devel
 %else
 BuildRequires:  pkgconfig(yajl)
@@ -144,10 +148,41 @@
 Summary:REST API daemon for %{name}
 Group:  System Environment/Daemons
 Requires:   %{name} = %{version}
+%systemd_requires
 
 %descriptionrest
-the %{name}-rest package contains the http daemon for %{name}
-rest api.
+The experimental %{name}-rest package contains the http daemon for %{name}
+rest API.
+
+%packageudev
+Summary:Udev files for %{name}
+Group:  System Environment/Base
+
+%descriptionudev
+The %{name}-udev package contains udev rules and helper utilities for
+uevents generated by the kernel.
+
+%packagemegaraid-plugin
+Summary:Files for LSI MegaRAID 

commit libstoragemgmt for openSUSE:Factory

2015-05-14 Thread h_root
Hello community,

here is the log from the commit of package libstoragemgmt for openSUSE:Factory 
checked in at 2015-05-15 07:44:21

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


Package is libstoragemgmt

Changes:

--- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes
2015-04-27 22:08:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes   
2015-05-15 07:44:50.0 +0200
@@ -1,0 +2,6 @@
+Thu May 14 06:04:42 UTC 2015 - nw...@suse.com
+
+- Add conditions for libyajl and macro tmpfiles_create to
+  support build against SLE12.
+
+---
@@ -30 +36 @@
-- Initial package version 1.1.0
+- Initial package version 1.1.0 for Fate#314409.



Other differences:
--
++ libstoragemgmt.spec ++
--- /var/tmp/diff_new_pack.rIAMoy/_old  2015-05-15 07:44:51.0 +0200
+++ /var/tmp/diff_new_pack.rIAMoy/_new  2015-05-15 07:44:51.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libstoragemgmt
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -41,7 +41,12 @@
 BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
+%if 0%{?suse_version} = 1315
+# For SLE12
+BuildRequires:  libyajl-devel
+%else
 BuildRequires:  pkgconfig(yajl)
+%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %systemd_requires
 %py_requires
@@ -199,7 +204,12 @@
 %post
 %service_add_post %{name}.service
 %udev_rules_update
+%if 0%{?suse_version} = 1315
+# For SLE12
+systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf /dev/null 21 || :
+%else
 %tmpfiles_create %{_tmpfilesdir}/%{name}.conf
+%endif
 
 %preun
 %service_del_preun %{name}.service