Hello community,

here is the log from the commit of package nvme-cli for openSUSE:Factory 
checked in at 2019-05-15 12:24:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nvme-cli (Old)
 and      /work/SRC/openSUSE:Factory/.nvme-cli.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nvme-cli"

Wed May 15 12:24:42 2019 rev:33 rq:702761 version:1.8.1+git41.2c43c51

Changes:
--------
--- /work/SRC/openSUSE:Factory/nvme-cli/nvme-cli.changes        2019-05-06 
13:18:25.924123970 +0200
+++ /work/SRC/openSUSE:Factory/.nvme-cli.new.5148/nvme-cli.changes      
2019-05-15 12:24:44.398055377 +0200
@@ -1,0 +2,103 @@
+Thu May  9 15:19:44 UTC 2019 - Simon Schricker <[email protected]>
+
+- Update to version 1.8.1+git41.2c43c51:
+  * nvme-print: remove Virtual Management support from ONCS
+  * nvme-print: update self-test log to include 'aborted due to
+    sanitize'
+  * move to DocBook 5
+  * nvme-cli: add missing endianness conversions for telemetry log
+    page
+  * property: Fit print size for a property
+  * Add Disable IO flag to wdc_dump_dui_data function
+  * Reorder primary commands
+  * nvme-cli: add identify secondary controller list
+  * sanitize/get-telemetry-log: Print nvme status in case ret > 0
+  * print: Introduce show_nvme_status to print nvme status
+  * ioctl: Fix wrong return case of get_property
+  * ioctl: Fix double-free in a loop of get_property
+  * improved Documentation
+  * fix compilation with GCC-8
+  * fix CFLAGS parameter
+  * nvme-cli: fix compilation with uint64_t cast
+  * nvme-cli: minor cleanup for submit_io()
+  * nvme-cli: align all the macros
+  * wdc: Change device capability checking
+  * wdc: Add additional device for vs-internal-log
+  * wdc: Add device unit info log extraction
+  * wdc: Add get drive status command
+  * wdc: Add clear assert dump status command
+  * wdc: Add drive resize command
+  * wdc: Update device capabilities for clear pcie corr
+  * wdc: Update file parameter checking
+  * wdc: Add command to extract NAND statistics
+  * wdc: Add data area extraction for DUI command
+  * wdc: Additional device capabilities check
+  * nvme-cli: fix fc trtype string
+  * NVMe-CLI WDC Plugin - add support for additional SN840 device ID.
+  * WDC plugin Change vs-internal-log Command to Save Partial E6 Log Data.
+  * WDC Plugins vs-internal-log command unsupported on SN340.
+  * Fix print format specifiers
+  * Fix format block size usage
+  * Add reporting of Virtual Management support to id-ctrl
+  * Fix possible NULL pointer dereferences
+  * Fix possible memory leak on get-internal-log
+  * Print timestamp as a date and time string
+  * nvme-cli: add netapp ontapdevices command
+  * Add FreeBSD installation instructions
+  * Adding a helper to format command
+  * fabrics: Return negative errno when asprintf() fails
+  * fabrics: Return negative errno to check remove_ctrl() is failed
+  * nvme: Support raw_binary and json format for show-regs
+  * ioctl: Free memory if get_property for fabrics failed
+  * nvme: Use ARRAY_SIZE() macro in common.h
+  * nvme: Unify min(), max() macro as a common one
+  * nvme: Simplify description for virt-mgmt
+  * nvme: Simplify virt-mgmt options to lowercase
+  * nvme-print: Fix evaluation of ctratt on pretty print
+  * nvme: print I/O error to stderr
+- Drop obsolete patches:
+  - 0001-wdc-Change-device-capability-checking.patch
+  - 0002-wdc-Add-additional-device-for-vs-internal-log.patch
+  - 0003-generate-new-documentation.patch
+  - 0004-Fix-compilation-with-GCC-8.patch
+  - 0005-Fix-CFLAGS-parameter.patch
+  - 0006-nvme-cli-fix-compilation-with-uint64_t-cast.patch
+  - 0007-Regen-docs.patch
+  - 0008-nvme-cli-minor-cleanup-for-submit_io.patch
+  - 0009-Regen-documentation.patch
+  - 0010-nvme-cli-fix-fc-trtype-string.patch
+  - 0011-nvme-cli-add-netapp-ontapdevices-command.patch
+  - 0012-nvme-cli-add-netapp-ontapdevices-man-page.patch
+  - 0013-nvme-cli-Revert-stop-on-failure-with-connect-all.patch
+  - 0014-nvme-cli-Increase-size-of-ONTAP-namespace-path-varia.patch
+  - 0015-DOC-Move-to-DocBook-5-when-using-asciidoctor.patch
+  - 0104-nvme-cli-Fix-documentation-syntax-and-typo.patch
+- Rename downstream patch:
+  + 0001-nvme_fc-auto-connect-scripts.patch
+  + 0002-71-nvme-iopolicy-netapp.rules-add-default-rules-for-.patch
+  + 0003-Add-nvmefc-connect.target.patch
+  + 0004-Change-service-to-type-simple.patch
+  + 0005-nvme-cli-Check-for-sysfs-interface-before-NVMe-disco.patch
+  - 0100-nvme_fc-auto-connect-scripts.patch
+  - 0101-71-nvme-iopolicy-netapp.rules-add-default-rules-for-.patch
+  - 0102-Add-nvmefc-connect.target.patch
+  - 0103-Change-service-to-type-simple.patch
+  - 0105-nvme-cli-Check-for-sysfs-interface-before-NVMe-disco.patch
+
+-------------------------------------------------------------------
+Wed May  8 16:04:34 UTC 2019 - Dominique Leuenberger <[email protected]>
+
+- No longer convert via obsolete DocBook 4.5 format, but rather via
+  DocBook 5.x. This due to asciidoctor 2.x no longer supporting
+  DocBook 4.x
+  + 0015-DOC-Move-to-DocBook-5-when-using-asciidoctor.patch
+
+-------------------------------------------------------------------
+Mon May  6 12:34:32 UTC 2019 - Simon Schricker <[email protected]>
+
+- Increase size of ONTAP namespace path variable
+  + 0014-nvme-cli-Increase-size-of-ONTAP-namespace-path-varia.patch
+- Fix failing service on devices without fc-hardware (bsc#1133594)
+  + 0105-nvme-cli-Check-for-sysfs-interface-before-NVMe-disco.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-wdc-Change-device-capability-checking.patch
  0002-wdc-Add-additional-device-for-vs-internal-log.patch
  0003-generate-new-documentation.patch
  0004-Fix-compilation-with-GCC-8.patch
  0005-Fix-CFLAGS-parameter.patch
  0006-nvme-cli-fix-compilation-with-uint64_t-cast.patch
  0007-Regen-docs.patch
  0008-nvme-cli-minor-cleanup-for-submit_io.patch
  0009-Regen-documentation.patch
  0010-nvme-cli-fix-fc-trtype-string.patch
  0011-nvme-cli-add-netapp-ontapdevices-command.patch
  0012-nvme-cli-add-netapp-ontapdevices-man-page.patch
  0013-nvme-cli-Revert-stop-on-failure-with-connect-all.patch
  0100-nvme_fc-auto-connect-scripts.patch
  0101-71-nvme-iopolicy-netapp.rules-add-default-rules-for-.patch
  0102-Add-nvmefc-connect.target.patch
  0103-Change-service-to-type-simple.patch
  0104-nvme-cli-Fix-documentation-syntax-and-typo.patch
  nvme-cli-1.7.tar.gz

New:
----
  0001-nvme_fc-auto-connect-scripts.patch
  0002-71-nvme-iopolicy-netapp.rules-add-default-rules-for-.patch
  0003-Add-nvmefc-connect.target.patch
  0004-Change-service-to-type-simple.patch
  0005-nvme-cli-Check-for-sysfs-interface-before-NVMe-disco.patch
  nvme-cli-1.8.1+git41.2c43c51.tar.xz

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

Other differences:
------------------
++++++ nvme-cli.spec ++++++
--- /var/tmp/diff_new_pack.RwPf1m/_old  2019-05-15 12:24:45.174053632 +0200
+++ /var/tmp/diff_new_pack.RwPf1m/_new  2019-05-15 12:24:45.178053622 +0200
@@ -12,37 +12,25 @@
 # 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/
 #
 
 
 Name:           nvme-cli
-Version:        1.7
+Version:        1.8.1+git41.2c43c51
 Release:        0
 Summary:        NVM Express user space tools
 License:        GPL-2.0-only
 Group:          Hardware/Other
 URL:            https://github.com/linux-nvme/nvme-cli
-Source:         %{name}-%{version}.tar.gz
+Source:         %{name}-%{version}.tar.xz
 Source2:        nvme-cli-rpmlintrc
-Patch1:         0001-wdc-Change-device-capability-checking.patch
-Patch2:         0002-wdc-Add-additional-device-for-vs-internal-log.patch
-Patch3:         0003-generate-new-documentation.patch
-Patch4:         0004-Fix-compilation-with-GCC-8.patch
-Patch5:         0005-Fix-CFLAGS-parameter.patch
-Patch6:         0006-nvme-cli-fix-compilation-with-uint64_t-cast.patch
-Patch7:         0007-Regen-docs.patch
-Patch8:         0008-nvme-cli-minor-cleanup-for-submit_io.patch
-Patch9:         0009-Regen-documentation.patch
-Patch10:        0010-nvme-cli-fix-fc-trtype-string.patch
-Patch11:        0011-nvme-cli-add-netapp-ontapdevices-command.patch
-Patch12:        0012-nvme-cli-add-netapp-ontapdevices-man-page.patch
-Patch13:        0013-nvme-cli-Revert-stop-on-failure-with-connect-all.patch
-Patch100:       0100-nvme_fc-auto-connect-scripts.patch
-Patch101:       0101-71-nvme-iopolicy-netapp.rules-add-default-rules-for-.patch
-Patch102:       0102-Add-nvmefc-connect.target.patch
-Patch103:       0103-Change-service-to-type-simple.patch
-Patch104:       0104-nvme-cli-Fix-documentation-syntax-and-typo.patch
+# downstream patches:
+Patch1:         0001-nvme_fc-auto-connect-scripts.patch
+Patch2:         0002-71-nvme-iopolicy-netapp.rules-add-default-rules-for-.patch
+Patch3:         0003-Add-nvmefc-connect.target.patch
+Patch4:         0004-Change-service-to-type-simple.patch
+Patch5:         0005-nvme-cli-Check-for-sysfs-interface-before-NVMe-disco.patch
 BuildRequires:  libuuid-devel
 BuildRequires:  pkgconfig
 BuildRequires:  xmlto
@@ -61,19 +49,6 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-%patch100 -p1
-%patch101 -p1
-%patch102 -p1
-%patch103 -p1
-%patch104 -p1
 
 %build
 echo %{version} > version
@@ -110,7 +85,9 @@
 %service_del_postun %services
 
 %posttrans
-/usr/bin/echo add 2>/dev/null >/sys/class/fc/fc_udev_device/nvme_discovery || 
true
+if [ -f /sys/class/fc/fc_udev_device/nvme_discovery ]; then
+       %{_bindir}/echo add > /sys/class/fc/fc_udev_device/nvme_discovery
+fi
 
 %files
 %license LICENSE

++++++ 0100-nvme_fc-auto-connect-scripts.patch -> 
0001-nvme_fc-auto-connect-scripts.patch ++++++

++++++ 0101-71-nvme-iopolicy-netapp.rules-add-default-rules-for-.patch -> 
0002-71-nvme-iopolicy-netapp.rules-add-default-rules-for-.patch ++++++

++++++ 0102-Add-nvmefc-connect.target.patch -> 
0003-Add-nvmefc-connect.target.patch ++++++

++++++ 0103-Change-service-to-type-simple.patch -> 
0004-Change-service-to-type-simple.patch ++++++

++++++ 0005-nvme-cli-Check-for-sysfs-interface-before-NVMe-disco.patch ++++++
>From 1176e581e44f54c617395e2f778ea8ac9808a1a3 Mon Sep 17 00:00:00 2001
From: Simon Schricker <[email protected]>
Date: Mon, 6 May 2019 11:43:23 +0200
Subject: [PATCH] nvme-cli: Check for sysfs interface before NVMe discovery

This prevents an unnecessary error message in the case that the nvme-fc
kernel module is not loaded and the
/sys/class/fc/fc_udev_device/nvme_discovery handle is not available.
---
 nvme-fc-autoconnect/nvmefc-boot-connections.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nvme-fc-autoconnect/nvmefc-boot-connections.service 
b/nvme-fc-autoconnect/nvmefc-boot-connections.service
index aa35c15..ffa7087 100644
--- a/nvme-fc-autoconnect/nvmefc-boot-connections.service
+++ b/nvme-fc-autoconnect/nvmefc-boot-connections.service
@@ -1,5 +1,6 @@
 [Unit]
 Description=Auto-connect to subsystems on FC-NVME devices during boot
+ConditionPathExists=/sys/class/fc/fc_udev_device/nvme_discovery
 
 [Service]
 Type=oneshot
-- 
2.16.4

++++++ _service ++++++
--- /var/tmp/diff_new_pack.RwPf1m/_old  2019-05-15 12:24:45.238053487 +0200
+++ /var/tmp/diff_new_pack.RwPf1m/_new  2019-05-15 12:24:45.238053487 +0200
@@ -1,18 +1,17 @@
 <services>
-  <service name="tar_scm" mode="disabled">
+  <service mode="disabled" name="obs_scm">
     <param name="scm">git</param>
     <param name="url">https://github.com/linux-nvme/nvme-cli.git</param>
-    <param name="filename">nvme-cli</param>
-    <param name="version">1.7</param>
-    <param name="revision">v1.7</param>
-    <param name="exclude">.git</param>
+    <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param>
+    <param name="versionrewrite-pattern">v(.*)</param>
+    <param name="versionrewrite-replacement">\1</param>
+    <param name="revision">master</param>
     <param name="changesgenerate">enable</param>
   </service>
-  <service name="recompress" mode="disabled">
+  <service mode="disabled" name="tar"/>
+  <service mode="disabled" name="recompress">
     <param name="file">*.tar</param>
-    <param name="compression">gz</param>    
-  </service>
-  <service name="set_version" mode="disabled">
-    <param name="basename">nvme-cli</param>
+    <param name="compression">xz</param>
   </service>
+  <service mode="disabled" name="set_version"/>
 </services>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.RwPf1m/_old  2019-05-15 12:24:45.258053443 +0200
+++ /var/tmp/diff_new_pack.RwPf1m/_new  2019-05-15 12:24:45.258053443 +0200
@@ -1,4 +1,4 @@
 <servicedata>
-<service name="tar_scm">
-            <param 
name="url">https://github.com/linux-nvme/nvme-cli.git</param>
-          <param 
name="changesrevision">4704680580b24cd7ea399e9ac679839d0414c1c9</param></service></servicedata>
\ No newline at end of file
+<service name="obs_scm">
+          <param name="url">https://github.com/linux-nvme/nvme-cli.git</param>
+          <param 
name="changesrevision">75800fff4a17f6d97ef884772b88a2dfbd84251a</param></service></servicedata>


Reply via email to