commit libzbc for openSUSE:Factory

2020-08-03 Thread root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2020-08-03 14:12:06

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


Package is "libzbc"

Mon Aug  3 14:12:06 2020 rev:17 rq:823629 version:5.9.0

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2020-03-19 
19:48:39.424127233 +0100
+++ /work/SRC/openSUSE:Factory/.libzbc.new.3592/libzbc.changes  2020-08-03 
14:12:11.856307248 +0200
@@ -1,0 +2,8 @@
+Thu Jul 30 15:53:24 UTC 2020 - Jan Engelhardt 
+
+- Update to release 5.9.0
+  * Compilation warning fixes
+- Drop 0001-build-avoid-double-definition-of-zbc_log_drv-etc.patch
+  (merged)
+
+---

Old:

  0001-build-avoid-double-definition-of-zbc_log_drv-etc.patch
  v5.8.5.tar.gz

New:

  v5.9.0.tar.gz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.A8QXEj/_old  2020-08-03 14:12:12.736308131 +0200
+++ /var/tmp/diff_new_pack.A8QXEj/_new  2020-08-03 14:12:12.740308135 +0200
@@ -17,8 +17,8 @@
 
 
 Name:   libzbc
-%define lname   libzbc-5_8_5
-Version:5.8.5
+%define lname   libzbc-5_9_0
+Version:5.9.0
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
 License:BSD-2-Clause AND LGPL-3.0-or-later
@@ -26,7 +26,6 @@
 URL:https://github.com/hgst/libzbc
 
 Source: https://github.com/hgst/libzbc/archive/v%version.tar.gz
-Patch1: 0001-build-avoid-double-definition-of-zbc_log_drv-etc.patch
 BuildRequires:  autoconf-archive
 BuildRequires:  libtool >= 2
 BuildRequires:  pkg-config

++ v5.8.5.tar.gz -> v5.9.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzbc-5.8.5/.gitignore new/libzbc-5.9.0/.gitignore
--- old/libzbc-5.8.5/.gitignore 2020-03-09 06:44:41.0 +0100
+++ new/libzbc-5.9.0/.gitignore 2020-07-30 04:59:13.0 +0200
@@ -64,6 +64,15 @@
 .depfile
 .depend
 
+# rpm build temporary files
+rpmbuild/BUILD
+rpmbuild/RPMS
+rpmbuild/SOURCES
+rpmbuild/SPECS
+rpmbuild/SRPMS
+*.tar.gz
+*.rpm
+
 # Windows-specific files
 Thumbs.db
 desktop.ini
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzbc-5.8.5/Makefile.am new/libzbc-5.9.0/Makefile.am
--- old/libzbc-5.8.5/Makefile.am2020-03-09 06:44:41.0 +0100
+++ new/libzbc-5.9.0/Makefile.am2020-07-30 04:59:13.0 +0200
@@ -12,12 +12,13 @@
exports
 
 AM_CPPFLAGS = \
-   -O2 \
+   $(CFLAGS) \
-Wall -Wextra -Wno-unused-parameter \
-I$(top_builddir)/include \
-I$(top_srcdir)/include
 
 pkgconfdir = $(libdir)/pkgconfig
+rpmdir = $(abs_top_builddir)/rpmbuild
 
 pkgconf_DATA = libzbc.pc
 pkginclude_HEADERS =
@@ -60,3 +61,28 @@
 include test/programs/write_zone/Makemodule.am
 endif
 
+rpm: dist
+   @mkdir -p $(rpmdir)/BUILD
+   @mkdir -p $(rpmdir)/RPMS
+   @mkdir -p $(rpmdir)/SOURCES
+   @mkdir -p $(rpmdir)/SPECS
+   @mkdir -p $(rpmdir)/SRPMS
+   @mv libzbc-$(PACKAGE_VERSION).tar.gz $(rpmdir)/SOURCES
+   @echo "Version:$(PACKAGE_VERSION)" > $(rpmdir)/SPECS/libzbc.spec
+   @cat $(rpmdir)/libzbc.spec.in >> $(rpmdir)/SPECS/libzbc.spec
+   @rpmbuild -bs -v \
+   --target="$(build_cpu)" \
+   -D "_topdir $(rpmdir)" \
+   --nodebuginfo "$(rpmdir)/SPECS/libzbc.spec"
+   @mv -f $(rpmdir)/SRPMS/*.rpm $(abs_top_builddir)
+   @rpmbuild -bb -v \
+   --target="$(build_cpu)" \
+   -D "_topdir $(rpmdir)" \
+   --nodebuginfo "$(rpmdir)/SPECS/libzbc.spec"
+   @mv -f $(rpmdir)/RPMS/$(build_cpu)/*.rpm $(abs_top_builddir)
+   @rm -rf $(rpmdir)/SRPMS
+   @rm -rf $(rpmdir)/SPECS
+   @rm -rf $(rpmdir)/SOURCES
+   @rm -rf $(rpmdir)/RPMS
+   @rm -rf $(rpmdir)/BUILDROOT
+   @rm -rf $(rpmdir)/BUILD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzbc-5.8.5/README.md new/libzbc-5.9.0/README.md
--- old/libzbc-5.8.5/README.md  2020-03-09 06:44:41.0 +0100
+++ new/libzbc-5.9.0/README.md  2020-07-30 04:59:13.0 +0200
@@ -1,9 +1,5 @@
-SPDX-License-Identifier: BSD-2-Clause
-SPDX-License-Identifier: LGPL-3.0-or-later
-
-SPDX-FileCopyrightText: 2009-2014, HGST, Inc.
-SPDX-FileCopyrightText: 2016, Western Digital.
-SPDX-FileCopyrightText: 2020 Western Digital Corporation or its affiliates.
+Copyright (C) 2016, Western Digital.
+Copyright (C) 2020 Western Digital Corporation or its affiliates.
 
 
 # libzbc
@@ -25,7 +21,7 @@
 ### Library version
 
 *libzbc* current major 

commit libzbc for openSUSE:Factory

2020-03-19 Thread root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2020-03-19 19:44:59

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


Package is "libzbc"

Thu Mar 19 19:44:59 2020 rev:16 rq:785464 version:5.8.5

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2020-03-11 
18:47:31.907457708 +0100
+++ /work/SRC/openSUSE:Factory/.libzbc.new.3160/libzbc.changes  2020-03-19 
19:48:39.424127233 +0100
@@ -1,0 +2,6 @@
+Mon Mar 16 07:20:10 UTC 2020 - Jan Engelhardt 
+
+- Add 0001-build-avoid-double-definition-of-zbc_log_drv-etc.patch
+  [boo#1166503]
+
+---

New:

  0001-build-avoid-double-definition-of-zbc_log_drv-etc.patch



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.wWE7jq/_old  2020-03-19 19:48:39.876127494 +0100
+++ /var/tmp/diff_new_pack.wWE7jq/_new  2020-03-19 19:48:39.880127496 +0100
@@ -26,6 +26,7 @@
 URL:https://github.com/hgst/libzbc
 
 Source: https://github.com/hgst/libzbc/archive/v%version.tar.gz
+Patch1: 0001-build-avoid-double-definition-of-zbc_log_drv-etc.patch
 BuildRequires:  autoconf-archive
 BuildRequires:  libtool >= 2
 BuildRequires:  pkg-config
@@ -84,7 +85,7 @@
 mkdir obj
 pushd obj/
 %define _configure ../configure
-%configure --disable-static --includedir="%_includedir/%name"
+%configure --disable-static --includedir="%_includedir/%name" 
CFLAGS="%optflags -fno-common"
 make %{?_smp_mflags}
 popd
 

++ 0001-build-avoid-double-definition-of-zbc_log_drv-etc.patch ++
>From abf34849c0b4e43900535a3a5d68753ab1107b65 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt 
Date: Mon, 16 Mar 2020 08:01:44 +0100
Subject: [PATCH] build: avoid double definition of zbc_log_drv etc.
Upstream: https://github.com/hgst/libzbc/pull/37

When -fno-common is in use, what compiler writers are trying to make
a standard, libzbc fails to build.

$ make V=1
Making all in .
make[1]: Entering directory '~/libzbc'
/bin/sh ./libtool  --tag=CC   --mode=link gcc  -fPIC -fno-common -O2 -g 
-pthread -Wl,--version-script,./exports -release '5.8.5'  -o libzbc.la -rpath 
/usr/lib lib/libzbc_la-zbc.lo lib/libzbc_la-zbc_block.lo 
lib/libzbc_la-zbc_sg.lo lib/libzbc_la-zbc_scsi.lo lib/libzbc_la-zbc_ata.lo 
lib/libzbc_la-zbc_fake.lo
libtool: link: gcc -shared  -fPIC -DPIC  lib/.libs/libzbc_la-zbc.o 
lib/.libs/libzbc_la-zbc_block.o lib/.libs/libzbc_la-zbc_sg.o 
lib/.libs/libzbc_la-zbc_scsi.o lib/.libs/libzbc_la-zbc_ata.o 
lib/.libs/libzbc_la-zbc_fake.o-O2 -g -pthread -Wl,--version-script 
-Wl,./exports   -pthread -Wl,-soname -Wl,libzbc-5.8.5.so -o 
.libs/libzbc-5.8.5.so
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: 
lib/.libs/libzbc_la-zbc_block.o:~/libzbc/lib/zbc.h:269: multiple definition of 
`zbc_log_level'; lib/.libs/libzbc_la-zbc.o:~/libzbc/lib/zbc.h:269: first 
defined here
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: 
lib/.libs/libzbc_la-zbc_block.o:~/libzbc/lib/zbc.h:195: multiple definition of 
`zbc_fake_drv'; lib/.libs/libzbc_la-zbc.o:~/libzbc/lib/zbc.h:195: first defined 
here

References: https://bugzilla.suse.com/show_bug.cgi?id=1160244
---
 lib/zbc.h | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/zbc.h b/lib/zbc.h
index 7dec298..73d76db 100644
--- a/lib/zbc.h
+++ b/lib/zbc.h
@@ -177,22 +177,22 @@ static inline void zbc_set_errno(enum zbc_sk sk, enum 
zbc_asc_ascq asc_ascq)
 /**
  * Block device driver (requires kernel support).
  */
-struct zbc_drv zbc_block_drv;
+extern struct zbc_drv zbc_block_drv;
 
 /**
  * ZAC (ATA) device driver (uses SG_IO).
  */
-struct zbc_drv zbc_ata_drv;
+extern struct zbc_drv zbc_ata_drv;
 
 /**
  * ZBC (SCSI) device driver (uses SG_IO).
  */
-struct zbc_drv zbc_scsi_drv;
+extern struct zbc_drv zbc_scsi_drv;
 
 /**
  * ZBC emulation driver (file or block device).
  */
-struct zbc_drv zbc_fake_drv;
+extern struct zbc_drv zbc_fake_drv;
 
 #define container_of(ptr, type, member) \
 ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member)))
@@ -266,7 +266,7 @@ enum {
 /**
  * Library log level.
  */
-int zbc_log_level;
+extern int zbc_log_level;
 
 #define zbc_print(stream,format,args...)   \
do {\
-- 
2.25.1




commit libzbc for openSUSE:Factory

2020-03-11 Thread root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2020-03-11 18:44:13

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


Package is "libzbc"

Wed Mar 11 18:44:13 2020 rev:15 rq:782983 version:5.8.5

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2020-02-03 
11:14:29.281880405 +0100
+++ /work/SRC/openSUSE:Factory/.libzbc.new.3160/libzbc.changes  2020-03-11 
18:47:31.907457708 +0100
@@ -1,0 +2,10 @@
+Mon Mar  9 12:49:33 UTC 2020 - Jan Engelhardt 
+
+- Update to release 5.8.5
+  * Fix potential IO error for large IO requests with a buffer
+not page aligned.
+  * Modifications to the block backens driver to support the new
+ioctl() commands introduced in kernel 5.5 (zone open, close
+and finish ioctls).
+
+---

Old:

  v5.8.4.tar.gz

New:

  v5.8.5.tar.gz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.w5lFEO/_old  2020-03-11 18:47:35.343459816 +0100
+++ /var/tmp/diff_new_pack.w5lFEO/_new  2020-03-11 18:47:35.383459841 +0100
@@ -17,8 +17,8 @@
 
 
 Name:   libzbc
-%define lname   libzbc-5_8_4
-Version:5.8.4
+%define lname   libzbc-5_8_5
+Version:5.8.5
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
 License:BSD-2-Clause AND LGPL-3.0-or-later
@@ -26,6 +26,7 @@
 URL:https://github.com/hgst/libzbc
 
 Source: https://github.com/hgst/libzbc/archive/v%version.tar.gz
+BuildRequires:  autoconf-archive
 BuildRequires:  libtool >= 2
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(gtk+-3.0)
@@ -99,14 +100,14 @@
 
 %files tools
 %_bindir/zbc_*
-%doc COPYING.LESSER
+%license COPYING.LESSER
 
 %files gui
 %_bindir/gz*
 
 %files -n %lname
 %_libdir/libzbc-*.so
-%doc COPYING
+%license COPYING.BSD
 
 %files devel
 %_includedir/%name/

++ v5.8.4.tar.gz -> v5.8.5.tar.gz ++
 5639 lines of diff (skipped)




commit libzbc for openSUSE:Factory

2020-02-03 Thread root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2020-02-03 11:14:16

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


Package is "libzbc"

Mon Feb  3 11:14:16 2020 rev:14 rq:769226 version:5.8.4

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2019-12-12 
23:20:47.542199326 +0100
+++ /work/SRC/openSUSE:Factory/.libzbc.new.26092/libzbc.changes 2020-02-03 
11:14:29.281880405 +0100
@@ -1,0 +2,14 @@
+Sat Jan 25 08:32:56 UTC 2020 - Jan Engelhardt 
+
+- Update to release 5.8.4
+  * zbc_device_is_zoned() does not use a device real path as
+given by zbc_realpath(), causing problems with symbolic
+links.
+  * Better handling of sense data reporting feature on ATA
+drives: some drives do not accept setting this feature
+causing zbc_open(). to fail. Fix this by testing first if the
+feature is already enabled instead of blindly setting it.
+  * Fix zbc_write_zone tool not writing any data to a zone due to
+a loop control error.
+
+---

Old:

  v5.8.3.tar.gz

New:

  v5.8.4.tar.gz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.u9RI8m/_old  2020-02-03 11:14:29.985880760 +0100
+++ /var/tmp/diff_new_pack.u9RI8m/_new  2020-02-03 11:14:29.989880763 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libzbc
 #
-# Copyright (c) 2019 SUSE LLC
+# 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
@@ -17,8 +17,8 @@
 
 
 Name:   libzbc
-%define lname   libzbc-5_8_3
-Version:5.8.3
+%define lname   libzbc-5_8_4
+Version:5.8.4
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
 License:BSD-2-Clause AND LGPL-3.0-or-later

++ v5.8.3.tar.gz -> v5.8.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzbc-5.8.3/.gitignore new/libzbc-5.8.4/.gitignore
--- old/libzbc-5.8.3/.gitignore 2019-12-12 17:46:42.0 +0100
+++ new/libzbc-5.8.4/.gitignore 2020-01-25 01:33:14.0 +0100
@@ -37,7 +37,9 @@
 zbc_set_zones
 zbc_set_write_ptr
 gzbc
+!tools/gzbc
 gzviewer
+!tools/gzviewer
 
 test/programs/zbc_test_print_devinfo
 test/programs/zbc_test_report_zones
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzbc-5.8.3/README.md new/libzbc-5.8.4/README.md
--- old/libzbc-5.8.3/README.md  2019-12-12 17:46:42.0 +0100
+++ new/libzbc-5.8.4/README.md  2020-01-25 01:33:14.0 +0100
@@ -82,7 +82,7 @@
 ```
 
 The library file is by default installed under /usr/lib (or /usr/lib64). The
-library header files are installed in /usr/include/libzbc. The executable files
+library header file is installed in /usr/include/libzbc. The executable files
 for the example applications are installed under /usr/bin. These defaults can 
be
 changed using the configure script. Executing the following command displays 
the
 options used to control the installation paths.
@@ -91,6 +91,18 @@
 # ./configure --help
 ```
 
+## Compilation with GUI tools
+
+The *gzbc* and *gzviewer* tools implement a graphical user interface (GUI) 
using
+the GTK3 toolkit. The configure script will automatically detect the presence 
of
+GTK3 development headers and compile these tools if the header files are found.
+This behavior can be manually changed and the compilation of *gzbc* and
+*gzviewer* disabled using the `--disable-gui` configuration option.
+
+```
+# ./configure --disable-gui
+```
+
 ## Compilation for device tests
 
 The test directory contains several test programs and scripts allowing testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzbc-5.8.3/configure.ac 
new/libzbc-5.8.4/configure.ac
--- old/libzbc-5.8.3/configure.ac   2019-12-12 17:46:42.0 +0100
+++ new/libzbc-5.8.4/configure.ac   2020-01-25 01:33:14.0 +0100
@@ -1,4 +1,4 @@
-AC_INIT([libzbc], [5.8.3],
+AC_INIT([libzbc], [5.8.4],
[damien.lem...@wdc.com, dmitry.fomic...@wdc.com],
[libzbc], [https://github.com/hgst/libzbc])
 AC_CONFIG_AUX_DIR([build-aux])
@@ -37,9 +37,10 @@
AS_HELP_STRING([--disable-gui], [Disable build of GUI tools (gzbc and 
gzviewer) [default=no]]))
 AS_IF([test "x$enable_gui" != "xno"],
 [
-   # Build gzbc only if GTK3 is installed.
-   PKG_CHECK_MODULES([GTK], [gtk+-3.0], [HAVE_GTK3=1], [HAVE_GTK3=0])
-   AM_CONDITIONAL([BUILD_GUI], [test "$HAVE_GTK3" -eq 1])
+   # Build gzbc only 

commit libzbc for openSUSE:Factory

2019-12-12 Thread root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2019-12-12 23:20:15

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


Package is "libzbc"

Thu Dec 12 23:20:15 2019 rev:13 rq:756356 version:5.8.3

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2019-09-04 
09:14:36.342944290 +0200
+++ /work/SRC/openSUSE:Factory/.libzbc.new.4691/libzbc.changes  2019-12-12 
23:20:47.542199326 +0100
@@ -1,0 +2,9 @@
+Thu Dec 12 17:10:38 UTC 2019 - Jan Engelhardt 
+
+- Update to release 5.8.3
+  * This release fixes a bug in gzviewer and compilation
+warnings. It also adds the --disable-gui configuration option
+to allow manually disabling the compilation of GUI tools
+(gzbc and gzviewer).
+
+---

Old:

  v5.8.2.tar.gz

New:

  v5.8.3.tar.gz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.4UDAms/_old  2019-12-12 23:20:48.018199284 +0100
+++ /var/tmp/diff_new_pack.4UDAms/_new  2019-12-12 23:20:48.022199283 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libzbc
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,8 @@
 
 
 Name:   libzbc
-%define lname   libzbc-5_8_2
-Version:5.8.2
+%define lname   libzbc-5_8_3
+Version:5.8.3
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
 License:BSD-2-Clause AND LGPL-3.0-or-later

++ v5.8.2.tar.gz -> v5.8.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzbc-5.8.2/configure.ac 
new/libzbc-5.8.3/configure.ac
--- old/libzbc-5.8.2/configure.ac   2019-09-02 10:18:32.0 +0200
+++ new/libzbc-5.8.3/configure.ac   2019-12-12 17:46:42.0 +0100
@@ -1,4 +1,4 @@
-AC_INIT([libzbc], [5.8.2],
+AC_INIT([libzbc], [5.8.3],
[damien.lem...@wdc.com, dmitry.fomic...@wdc.com],
[libzbc], [https://github.com/hgst/libzbc])
 AC_CONFIG_AUX_DIR([build-aux])
@@ -33,9 +33,18 @@
 
 # Conditionals
 
-# Build gzbc only if GTK3 is installed.
-PKG_CHECK_MODULES([GTK], [gtk+-3.0], [HAVE_GTK3=1], [HAVE_GTK3=0])
-AM_CONDITIONAL([BUILD_GUI], [test "$HAVE_GTK3" -eq 1])
+AC_ARG_ENABLE([gui],
+   AS_HELP_STRING([--disable-gui], [Disable build of GUI tools (gzbc and 
gzviewer) [default=no]]))
+AS_IF([test "x$enable_gui" != "xno"],
+[
+   # Build gzbc only if GTK3 is installed.
+   PKG_CHECK_MODULES([GTK], [gtk+-3.0], [HAVE_GTK3=1], [HAVE_GTK3=0])
+   AM_CONDITIONAL([BUILD_GUI], [test "$HAVE_GTK3" -eq 1])
+   AM_CONDITIONAL([BUILD_GUI], [test "$HAVE_GTK3" -eq 1])
+],
+[
+   AM_CONDITIONAL([BUILD_GUI], false)
+])
 
 # Build test suite
 AC_ARG_WITH([test],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzbc-5.8.2/tools/gzviewer/gzviewer_if.c 
new/libzbc-5.8.3/tools/gzviewer/gzviewer_if.c
--- old/libzbc-5.8.2/tools/gzviewer/gzviewer_if.c   2019-09-02 
10:18:32.0 +0200
+++ new/libzbc-5.8.3/tools/gzviewer/gzviewer_if.c   2019-12-12 
17:46:42.0 +0100
@@ -23,12 +23,14 @@
 
 #include "gzviewer.h"
 
-static void gzv_set_zone_info(struct gzv_zone *zone)
+static void gzv_set_zone_tooltip(struct gzv_zone *zone)
 {
+   struct zbc_zone *zbcz = zone->zbc_zone;
char info[512];
 
-   if (!zone->zbc_zone) {
-   gtk_widget_set_tooltip_markup(zone->da, NULL);
+   if (!zbcz) {
+   gtk_widget_set_has_tooltip(GTK_WIDGET(zone->da), false);
+   gtk_widget_set_tooltip_markup(GTK_WIDGET(zone->da), NULL);
return;
}
 
@@ -38,12 +40,11 @@
 "  - Condition: %s\n"
 "  - Start sector: %llu\n"
 "  - Length: %llu 512-B sectors",
-zone->zno,
-zbc_zone_type_str(zone->zbc_zone->zbz_type),
-zbc_zone_condition_str(zone->zbc_zone->zbz_condition),
-zbc_zone_start(zone->zbc_zone),
-zbc_zone_length(zone->zbc_zone));
-   gtk_widget_set_tooltip_markup(zone->da, info);
+zone->zno, zbc_zone_type_str(zbcz->zbz_type),
+zbc_zone_condition_str(zbcz->zbz_condition),
+zbc_zone_start(zbcz), zbc_zone_length(zbcz));
+   gtk_widget_set_tooltip_markup(GTK_WIDGET(zone->da), info);
+   gtk_widget_set_has_tooltip(GTK_WIDGET(zone->da), true);
 }
 
 static void gzv_if_update(void)
@@ -55,25 

commit libzbc for openSUSE:Factory

2019-09-04 Thread root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2019-09-04 09:13:35

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


Package is "libzbc"

Wed Sep  4 09:13:35 2019 rev:12 rq:727903 version:5.8.2

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2019-07-11 
13:08:27.434995795 +0200
+++ /work/SRC/openSUSE:Factory/.libzbc.new.7948/libzbc.changes  2019-09-04 
09:14:36.342944290 +0200
@@ -1,0 +2,11 @@
+Mon Sep  2 08:10:22 UTC 2019 - Jan Engelhardt 
+
+- Update to new release 5.8.2
+  * Fix SG IO header dxfer_len field to avoid failures of
+vectored IOs with more than a single vector.
+  * Change error code returned by zbc_preadv() and zbc_pwritev()
+from -EINVAL to -EIO in the case of an an unaligned IO
+request. This change matches the kernel returned error value.
+  * New gzviewer tool to graphically display a device zone state.
+
+---

Old:

  v5.8.0.tar.gz

New:

  v5.8.2.tar.gz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.lXCt3H/_old  2019-09-04 09:14:38.438943999 +0200
+++ /var/tmp/diff_new_pack.lXCt3H/_new  2019-09-04 09:14:38.438943999 +0200
@@ -17,8 +17,8 @@
 
 
 Name:   libzbc
-%define lname   libzbc-5_8_0
-Version:5.8.0
+%define lname   libzbc-5_8_2
+Version:5.8.2
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
 License:BSD-2-Clause AND LGPL-3.0-or-later
@@ -26,7 +26,6 @@
 URL:https://github.com/hgst/libzbc
 
 Source: https://github.com/hgst/libzbc/archive/v%version.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtool >= 2
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(gtk+-3.0)
@@ -77,7 +76,7 @@
 Block Command (ZBC), Zoned-device ATA command set (ZAC) disks.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 autoreconf -fi
@@ -99,21 +98,17 @@
 %postun -n %lname -p /sbin/ldconfig
 
 %files tools
-%defattr(-,root,root)
 %_bindir/zbc_*
 %doc COPYING.LESSER
 
 %files gui
-%defattr(-,root,root)
-%_bindir/gzbc
+%_bindir/gz*
 
 %files -n %lname
-%defattr(-,root,root)
 %_libdir/libzbc-*.so
 %doc COPYING
 
 %files devel
-%defattr(-,root,root)
 %_includedir/%name/
 %_libdir/libzbc.so
 %_libdir/pkgconfig/libzbc.pc

++ v5.8.0.tar.gz -> v5.8.2.tar.gz ++
 5898 lines of diff (skipped)




commit libzbc for openSUSE:Factory

2019-07-11 Thread root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2019-07-11 13:08:25

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


Package is "libzbc"

Thu Jul 11 13:08:25 2019 rev:11 rq:712347 version:5.8.0

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2018-10-22 
11:25:11.623045258 +0200
+++ /work/SRC/openSUSE:Factory/.libzbc.new.4615/libzbc.changes  2019-07-11 
13:08:27.434995795 +0200
@@ -1,0 +2,10 @@
+Fri Jun 28 07:10:57 UTC 2019 - Jan Engelhardt 
+
+- Update to new upstream release 5.8.0
+  * This new release adds the new functions zbc_preadv() and
+zbc_pwritev() to support vectored read and write. The
+zbc_read_zone and zbc_write_zone tools are also updated to
+allow using these new functions with the new -vio option.
+Various bug fixes are also included.
+
+---

Old:

  v5.7.1.tar.gz

New:

  v5.8.0.tar.gz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.zKYsFX/_old  2019-07-11 13:08:28.078995529 +0200
+++ /var/tmp/diff_new_pack.zKYsFX/_new  2019-07-11 13:08:28.082995527 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libzbc
 #
-# 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
@@ -17,13 +17,13 @@
 
 
 Name:   libzbc
-%define lname   libzbc-5_7_1
-Version:5.7.1
+%define lname   libzbc-5_8_0
+Version:5.8.0
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
 License:BSD-2-Clause AND LGPL-3.0-or-later
 Group:  Hardware/Other
-Url:http://github.com/hgst/libzbc
+URL:https://github.com/hgst/libzbc
 
 Source: https://github.com/hgst/libzbc/archive/v%version.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ v5.7.1.tar.gz -> v5.8.0.tar.gz ++
 4141 lines of diff (skipped)




commit libzbc for openSUSE:Factory

2018-10-22 Thread root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2018-10-22 11:25:09

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


Package is "libzbc"

Mon Oct 22 11:25:09 2018 rev:10 rq:643316 version:5.7.1

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2018-03-22 
12:08:20.930723428 +0100
+++ /work/SRC/openSUSE:Factory/.libzbc.new/libzbc.changes   2018-10-22 
11:25:11.623045258 +0200
@@ -1,0 +2,9 @@
+Sat Oct 20 07:41:24 UTC 2018 - Jan Engelhardt 
+
+- Update to new upstream release 5.7.1
+  * Improved handling of non-SCSI zoned block devices.
+  * Change the behavior of zbc_open() to return an error when
+trying to open a regular block device that was not
+initialized for the emulation mode using the zbc_set_zones.
+
+---

Old:

  v5.5.0.tar.gz

New:

  v5.7.1.tar.gz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.gAdkJm/_old  2018-10-22 11:25:12.299044591 +0200
+++ /var/tmp/diff_new_pack.gAdkJm/_new  2018-10-22 11:25:12.299044591 +0200
@@ -12,13 +12,13 @@
 # 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:   libzbc
-%define lname   libzbc-5_5_0
-Version:5.5.0
+%define lname   libzbc-5_7_1
+Version:5.7.1
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
 License:BSD-2-Clause AND LGPL-3.0-or-later

++ v5.5.0.tar.gz -> v5.7.1.tar.gz ++
 4973 lines of diff (skipped)




commit libzbc for openSUSE:Factory

2018-03-22 Thread root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2018-03-22 12:02:23

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


Package is "libzbc"

Thu Mar 22 12:02:23 2018 rev:9 rq:588345 version:5.5.0

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2017-08-10 
14:13:21.601835463 +0200
+++ /work/SRC/openSUSE:Factory/.libzbc.new/libzbc.changes   2018-03-22 
12:08:20.930723428 +0100
@@ -1,0 +2,17 @@
+Sun Mar 18 21:47:12 UTC 2018 - jeng...@inai.de
+
+- Update to new upstream release 5.5.0
+  * Fixed various problems with the fake backend driver
+(emulation mode), in particular when using a 4K sector disk
+as backend storage.
+  * Properly set up direct I/O operation with the SG_IO interface
+(SCSI and ATA backend drivers).
+  * Properly handle the maximum and optimal number of open zones
+for drives with no limit and drives not reporting any limit.
+  * Skip open zone resource tests for drives with no limit or an
+unreported limit on the maximum/optimal number of open zones.
+  * Add a new test to verify that a drive returns the correct
+ASC/ASCQ sense error codes when writing to a full zone (HM
+drives only).
+
+---

Old:

  v5.3.1.tar.gz

New:

  v5.5.0.tar.gz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.ViTyJj/_old  2018-03-22 12:08:21.878689447 +0100
+++ /var/tmp/diff_new_pack.ViTyJj/_new  2018-03-22 12:08:21.882689303 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libzbc
 #
-# 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
@@ -17,12 +17,12 @@
 
 
 Name:   libzbc
-%define lname   libzbc-5_3_1
-Version:5.3.1
+%define lname   libzbc-5_5_0
+Version:5.5.0
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
-License:BSD-2-Clause and LGPL-3.0+
-Group:  Hardware
+License:BSD-2-Clause AND LGPL-3.0-or-later
+Group:  Hardware/Other
 Url:http://github.com/hgst/libzbc
 
 Source: https://github.com/hgst/libzbc/archive/v%version.tar.gz

++ v5.3.1.tar.gz -> v5.5.0.tar.gz ++
 4153 lines of diff (skipped)




commit libzbc for openSUSE:Factory

2017-08-10 Thread root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2017-08-10 14:05:56

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


Package is "libzbc"

Thu Aug 10 14:05:56 2017 rev:8 rq:515188 version:5.3.1

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2016-12-08 
00:31:13.0 +0100
+++ /work/SRC/openSUSE:Factory/.libzbc.new/libzbc.changes   2017-08-10 
14:13:21.601835463 +0200
@@ -1,0 +2,20 @@
+Tue Aug  8 11:18:07 UTC 2017 - jeng...@inai.de
+
+- Update to new upstream release 5.3.1
+  * A rewrite of libzbc introducing significant changes to the
+API. Support for draft standards 4.x is dropped. Compliance
+to the final ZBC/ZAC standards is improved.
+  * All functions now operate using 512B sector units, regardless
+of the device actual logical block size. This is in line with
+Linux block device management and can simplify application
+implementation by unifying the addressing unit used when
+devices with different logical block sizes (512B or 4096B)
+are being used. Applications must however still comply with
+write request alignment to the device physical block size,
+which may be different from the 512B sector size unit used.
+  * Improved read and write functions (zbc_pread and zbc_pwrite)
+to not limit the request size to the device maximum request
+data transfer size (calls are internally split into multiple
+requests).
+
+---

Old:

  v4.3.3.tar.gz

New:

  v5.3.1.tar.gz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.Wo3yWm/_old  2017-08-10 14:13:22.177754372 +0200
+++ /var/tmp/diff_new_pack.Wo3yWm/_new  2017-08-10 14:13:22.197751556 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libzbc
 #
-# 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
@@ -17,8 +17,8 @@
 
 
 Name:   libzbc
-%define lname   libzbc-4_3_3
-Version:4.3.3
+%define lname   libzbc-5_3_1
+Version:5.3.1
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
 License:BSD-2-Clause and LGPL-3.0+

++ v4.3.3.tar.gz -> v5.3.1.tar.gz ++
 136967 lines of diff (skipped)




commit libzbc for openSUSE:Factory

2016-12-07 Thread h_root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2016-12-08 00:31:12

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


Package is "libzbc"

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2016-10-10 
16:21:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.libzbc.new/libzbc.changes   2016-12-08 
00:31:13.0 +0100
@@ -1,0 +2,7 @@
+Tue Nov 29 10:31:02 UTC 2016 - jeng...@inai.de
+
+- Update to new upstream release 4.3.3
+  * block backend driver: support latest "official" kernel
+interface queued up for kernel 4.10 release.
+
+---

Old:

  v4.3.0.tar.gz

New:

  v4.3.3.tar.gz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.N3MIOt/_old  2016-12-08 00:31:14.0 +0100
+++ /var/tmp/diff_new_pack.N3MIOt/_new  2016-12-08 00:31:14.0 +0100
@@ -17,8 +17,8 @@
 
 
 Name:   libzbc
-%define lname   libzbc-4_3_0
-Version:4.3.0
+%define lname   libzbc-4_3_3
+Version:4.3.3
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
 License:BSD-2-Clause and LGPL-3.0+

++ v4.3.0.tar.gz -> v4.3.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzbc-4.3.0/.gitignore new/libzbc-4.3.3/.gitignore
--- old/libzbc-4.3.0/.gitignore 2016-08-18 04:04:10.0 +0200
+++ new/libzbc-4.3.3/.gitignore 2016-11-15 07:55:55.0 +0100
@@ -26,6 +26,7 @@
 *.hex
 
 zbc_info
+zbc_inquiry
 zbc_report_zones
 zbc_reset_write_ptr
 zbc_close_zone
@@ -98,3 +99,8 @@
 tools/lkvs/m4/ltversion.m4
 tools/lkvs/m4/lt~obsolete.m4
 
+tools/lkvs/src/examples/lkvsfileput
+tools/lkvs/src/examples/lkvsget
+tools/lkvs/src/examples/lkvsmultiget
+tools/lkvs/src/examples/lkvsmultiput
+tools/lkvs/src/examples/lkvsput
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzbc-4.3.0/configure.ac 
new/libzbc-4.3.3/configure.ac
--- old/libzbc-4.3.0/configure.ac   2016-08-18 04:04:10.0 +0200
+++ new/libzbc-4.3.3/configure.ac   2016-11-15 07:55:55.0 +0100
@@ -1,5 +1,5 @@
 
-AC_INIT([libzbc], [4.3.0], [damien.lem...@hgst.com, adam.manzana...@hgst.com])
+AC_INIT([libzbc], [4.3.3], [damien.lem...@wdc.com, adam.manzana...@wdc.com])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_HEADER([include/config.h])
@@ -24,6 +24,12 @@
 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 CC="$PTHREAD_CC"
 
+# Checks for header files.
+AC_CHECK_HEADER(scsi/scsi.h, [], [AC_MSG_ERROR([Couldn't find scsi/scsi.h])])
+AC_CHECK_HEADER(scsi/sg.h, [], [AC_MSG_ERROR([Couldn't find scsi/sg.h])])
+AC_CHECK_HEADER(libgen.h, [], [AC_MSG_ERROR([Couldn't find libgen.h])])
+AC_CHECK_HEADERS([linux/fs.h linux/blkzoned.h])
+
 # Conditionals
 
 # Build gzbc only if GTK3 is installed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzbc-4.3.0/lib/zbc.h new/libzbc-4.3.3/lib/zbc.h
--- old/libzbc-4.3.0/lib/zbc.h  2016-08-18 04:04:10.0 +0200
+++ new/libzbc-4.3.3/lib/zbc.h  2016-11-15 07:55:55.0 +0100
@@ -18,7 +18,8 @@
 
 /* Including files */
 
-#include 
+#include "config.h"
+#include "libzbc/zbc.h"
 #include "zbc_log.h"
 
 #include 
@@ -199,22 +200,26 @@
 extern int
 zbc_scsi_get_zbd_chars(zbc_device_t *dev);
 
-extern int
-zbc_scsi_report_zones(zbc_device_t *dev,
-  uint64_t start_lba,
-  enum zbc_reporting_options ro,
- uint64_t *max_lba,
-  zbc_zone_t *zones,
-  unsigned int *nr_zones);
-
+/**
+ * SCSI backend driver open zone method.
+ * Used in block device backend too.
+ */
 extern int
 zbc_scsi_open_zone(zbc_device_t *dev,
uint64_t start_lba);
 
+/**
+ * SCSI backend driver close zone method.
+ * Used in block device backend too.
+ */
 extern int
 zbc_scsi_close_zone(zbc_device_t *dev,
 uint64_t start_lba);
 
+/**
+ * SCSI backend driver finish zone method.
+ * Used in block device backend too.
+ */
 extern int
 zbc_scsi_finish_zone(zbc_device_t *dev,
  uint64_t start_lba);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzbc-4.3.0/lib/zbc_block.c 
new/libzbc-4.3.3/lib/zbc_block.c
--- old/libzbc-4.3.0/lib/zbc_block.c2016-08-18 04:04:10.0 +0200
+++ new/libzbc-4.3.3/lib/zbc_block.c2016-11-15 07:55:55.0 +0100
@@ -24,23 +24,41 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 
 #include "zbc.h"
 #include "zbc_sg.h"
 

commit libzbc for openSUSE:Factory

2016-10-10 Thread h_root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2016-10-10 16:21:45

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


Package is "libzbc"

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2016-07-14 
09:48:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.libzbc.new/libzbc.changes   2016-10-10 
16:21:46.0 +0200
@@ -1,0 +2,22 @@
+Thu Sep 29 12:59:55 UTC 2016 - jeng...@inai.de
+
+- Update to new upstream release 4.3.0
+* Properly handle detection of zoned block devices using sysfs
+* Fixed handling of list view so that an operation on a zone does
+  not reset the current selection and view whenever possible.
+* Improved handling of the list view using a filter model.
+* Added support for direct I/Os (O_DIRECT). Note: this does not
+  work with SG node device files.
+* Added maximum read/write command size in the device info
+  structure.
+* Initialize maximum device read/write I/O size for each backend
+  driver.
+* Check read/write command size against the maximum allowed for
+  the device.
+* Fixed get capacity: the code is now common for ATA and SCSI.
+  This fixes problems in SCSI backend when RC_BASIS is 0 (report
+  zones was being executed without the max logical sectors being
+  set), and also adds RC_BASIS handling for ATA drives (this was
+  missing entirely).
+
+---

Old:

  v4.1.1.tar.gz

New:

  v4.3.0.tar.gz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.boOG1J/_old  2016-10-10 16:21:48.0 +0200
+++ /var/tmp/diff_new_pack.boOG1J/_new  2016-10-10 16:21:48.0 +0200
@@ -17,8 +17,8 @@
 
 
 Name:   libzbc
-%define lname   libzbc-4_1_1
-Version:4.1.1
+%define lname   libzbc-4_3_0
+Version:4.3.0
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
 License:BSD-2-Clause and LGPL-3.0+

++ v4.1.1.tar.gz -> v4.3.0.tar.gz ++
 1736 lines of diff (skipped)




commit libzbc for openSUSE:Factory

2016-07-14 Thread h_root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2016-07-14 09:48:40

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


Package is "libzbc"

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2016-02-26 
00:35:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.libzbc.new/libzbc.changes   2016-07-14 
09:48:40.0 +0200
@@ -1,0 +2,12 @@
+Fri Jul  1 08:22:20 UTC 2016 - jeng...@inai.de
+
+- Update to new upstream release 4.1.1
+* This release implements support for ZBC and ZAC revision 4 and
+  above draft standards.
+* Fixed the fake backend driver to pass all tests even if the
+  device specified is very small (i.e. it has only a few sequential
+  zones).
+* Display SG_IO ioctl error message only when the log level is set
+  to debug/verbose.
+
+---

Old:

  _service
  libzbc-2.0.0.g32.tar.xz

New:

  v4.1.1.tar.gz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.OqkiME/_old  2016-07-14 09:48:41.0 +0200
+++ /var/tmp/diff_new_pack.OqkiME/_new  2016-07-14 09:48:41.0 +0200
@@ -17,20 +17,18 @@
 
 
 Name:   libzbc
-%define lname   libzbc4
-Version:2.0.0.g32
+%define lname   libzbc-4_1_1
+Version:4.1.1
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
 License:BSD-2-Clause and LGPL-3.0+
 Group:  Hardware
 Url:http://github.com/hgst/libzbc
 
-#Git-Clone:git://github.com/hgst/libzbc
-Source: %name-%version.tar.xz
+Source: https://github.com/hgst/libzbc/archive/v%version.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtool >= 2
 BuildRequires:  pkg-config
-BuildRequires:  xz
 BuildRequires:  pkgconfig(gtk+-3.0)
 
 %description
@@ -79,7 +77,7 @@
 Block Command (ZBC), Zoned-device ATA command set (ZAC) disks.
 
 %prep
-%setup -qn %name
+%setup -q
 
 %build
 autoreconf -fi
@@ -111,7 +109,7 @@
 
 %files -n %lname
 %defattr(-,root,root)
-%_libdir/libzbc.so.4*
+%_libdir/libzbc-*.so
 %doc COPYING
 
 %files devel




commit libzbc for openSUSE:Factory

2016-02-25 Thread h_root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2016-02-25 22:03:32

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


Package is "libzbc"

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2015-11-13 
23:36:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.libzbc.new/libzbc.changes   2016-02-26 
00:35:57.0 +0100
@@ -1,0 +2,8 @@
+Sat Feb 13 17:47:24 UTC 2016 - jeng...@inai.de
+
+- Update to new git snapshot 2.0.0.g32
+* Support for ZBC and ZAC r04
+* Added block device backend driver for use with kernels providing
+  SMR support and exposing host-managed disks as block devices.
+
+---

Old:

  libzbc-2.0.0~git113.tar.xz

New:

  libzbc-2.0.0.g32.tar.xz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.nFRosi/_old  2016-02-26 00:35:58.0 +0100
+++ /var/tmp/diff_new_pack.nFRosi/_new  2016-02-26 00:35:58.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libzbc
 #
-# 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
@@ -17,8 +17,8 @@
 
 
 Name:   libzbc
-%define lname   libzbc2
-Version:2.0.0~git113
+%define lname   libzbc4
+Version:2.0.0.g32
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
 License:BSD-2-Clause and LGPL-3.0+
@@ -26,7 +26,6 @@
 Url:http://github.com/hgst/libzbc
 
 #Git-Clone:git://github.com/hgst/libzbc
-#Snapshot: 548f6455340b304c0e7060681444d11efa16f3d8
 Source: %name-%version.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtool >= 2
@@ -92,9 +91,8 @@
 popd
 
 %install
-b="%buildroot";
 %make_install -C obj
-find "$b/%_libdir" -type f -name "*.la" -delete;
+find "%buildroot/%_libdir" -type f -name "*.la" -delete
 
 %check
 make -C obj check %{?_smp_mflags}
@@ -113,7 +111,7 @@
 
 %files -n %lname
 %defattr(-,root,root)
-%_libdir/libzbc.so.2*
+%_libdir/libzbc.so.4*
 %doc COPYING
 
 %files devel

++ _service ++
--- /var/tmp/diff_new_pack.nFRosi/_old  2016-02-26 00:35:58.0 +0100
+++ /var/tmp/diff_new_pack.nFRosi/_new  2016-02-26 00:35:58.0 +0100
@@ -1,8 +1,8 @@
 

git://github.com/hgst/libzbc
-   548f6455340b304c0e7060681444d11efa16f3d8
+   2882d881e9f2278ad53daf340e298d6b91bc3aec
git
-   2.0.0~git@REVISION@
+   2.0.0.g@TAG_OFFSET@

 

++ libzbc-2.0.0~git113.tar.xz -> libzbc-2.0.0.g32.tar.xz ++
 4346 lines of diff (skipped)




commit libzbc for openSUSE:Factory

2015-11-13 Thread h_root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2015-11-13 23:36:11

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


Package is "libzbc"

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2015-06-16 
14:05:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.libzbc.new/libzbc.changes   2015-11-13 
23:36:12.0 +0100
@@ -1,0 +2,12 @@
+Thu Nov 12 19:13:31 UTC 2015 - jeng...@inai.de
+
+- Update to new git snapshot 2.0.0~git113
+* Added sense key and sense code string, DATA PROTECT and ZONE IS READ ONLY.
+* Added filling sense key/sense code when reads spanning other types of zone.
+* Supported storing ASC/ASCQ data on ata.
+* Supported URSWRZ flag on SCSi.
+* Added flags in zbc_device_info structure and stored URSWRZ flag in it.
+* Added forced ata read/write flag to read/write using pass through command.
+* Supported ZBC sense key, ASC/ASCQ handling.
+
+---

Old:

  libzbc-2.0.0~git65.tar.xz

New:

  _service
  libzbc-2.0.0~git113.tar.xz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.caM6Bz/_old  2015-11-13 23:36:13.0 +0100
+++ /var/tmp/diff_new_pack.caM6Bz/_new  2015-11-13 23:36:13.0 +0100
@@ -18,7 +18,7 @@
 
 Name:   libzbc
 %define lname   libzbc2
-Version:2.0.0~git65
+Version:2.0.0~git113
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
 License:BSD-2-Clause and LGPL-3.0+

++ _service ++


git://github.com/hgst/libzbc
548f6455340b304c0e7060681444d11efa16f3d8
git
2.0.0~git@REVISION@


++ libzbc-2.0.0~git65.tar.xz -> libzbc-2.0.0~git113.tar.xz ++
 114771 lines of diff (skipped)




commit libzbc for openSUSE:Factory

2015-06-16 Thread h_root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2015-06-16 14:05:37

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


Package is libzbc

Changes:

--- /work/SRC/openSUSE:Factory/libzbc/libzbc.changes2015-03-25 
10:00:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.libzbc.new/libzbc.changes   2015-06-16 
14:05:58.0 +0200
@@ -1,0 +2,7 @@
+Mon Jun  8 23:11:56 UTC 2015 - jeng...@inai.de
+
+- Update to new git snapshot 2.0.0~git65
+* supports the ZBC standard draft Rev 02
+  and Rev 01 of the ZAC standard draft
+
+---

Old:

  libzbc-1.1.0~git68.tar.xz

New:

  libzbc-2.0.0~git65.tar.xz



Other differences:
--
++ libzbc.spec ++
--- /var/tmp/diff_new_pack.TyUeYO/_old  2015-06-16 14:05:59.0 +0200
+++ /var/tmp/diff_new_pack.TyUeYO/_new  2015-06-16 14:05:59.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libzbc
 #
-# Copyright (c) 2014 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
@@ -17,8 +17,8 @@
 
 
 Name:   libzbc
-%define lname   libzbc1
-Version:1.1.0~git68
+%define lname   libzbc2
+Version:2.0.0~git65
 Release:0
 Summary:Library for manipulating ZBC and ZAC disks
 License:BSD-2-Clause and LGPL-3.0+
@@ -26,13 +26,13 @@
 Url:http://github.com/hgst/libzbc
 
 #Git-Clone:git://github.com/hgst/libzbc
-#Snapshot: 116f604a2a0c5f15bed9c7b2e3bb8188da93f643
+#Snapshot: 548f6455340b304c0e7060681444d11efa16f3d8
 Source: %name-%version.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtool = 2
 BuildRequires:  pkg-config
-BuildRequires:  pkgconfig(gtk+-3.0)
 BuildRequires:  xz
+BuildRequires:  pkgconfig(gtk+-3.0)
 
 %description
 libzbc is a simple library providing functions for manipulating Zoned
@@ -113,7 +113,7 @@
 
 %files -n %lname
 %defattr(-,root,root)
-%_libdir/libzbc.so.1*
+%_libdir/libzbc.so.2*
 %doc COPYING
 
 %files devel

++ libzbc-1.1.0~git68.tar.xz - libzbc-2.0.0~git65.tar.xz ++
 8097 lines of diff (skipped)




commit libzbc for openSUSE:Factory

2015-03-25 Thread h_root
Hello community,

here is the log from the commit of package libzbc for openSUSE:Factory checked 
in at 2015-03-25 10:00:25

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


Package is libzbc

Changes:

New Changes file:

--- /dev/null   2015-03-12 01:14:30.992027505 +0100
+++ /work/SRC/openSUSE:Factory/.libzbc.new/libzbc.changes   2015-03-25 
10:00:26.0 +0100
@@ -0,0 +1,4 @@
+---
+Mon Mar 16 21:44:08 UTC 2015 - jeng...@inai.de
+
+- Initial package (version 1.1.0~git68) for build.opensuse.org

New:

  libzbc-1.1.0~git68.tar.xz
  libzbc.changes
  libzbc.spec



Other differences:
--
++ libzbc.spec ++
#
# spec file for package libzbc
#
# Copyright (c) 2014 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# 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/
#


Name:   libzbc
%define lname   libzbc1
Version:1.1.0~git68
Release:0
Summary:Library for manipulating ZBC and ZAC disks
License:BSD-2-Clause and LGPL-3.0+
Group:  Hardware
Url:http://github.com/hgst/libzbc

#Git-Clone: git://github.com/hgst/libzbc
#Snapshot:  116f604a2a0c5f15bed9c7b2e3bb8188da93f643
Source: %name-%version.tar.xz
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libtool = 2
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  xz

%description
libzbc is a simple library providing functions for manipulating Zoned
Block Command (ZBC) and Zoned-device ATA command set (ZAC) disks.
libzbc also has an mode for emulating the behavior of a zoned disk
using a regular file or raw block device.

%package -n %lname
Summary:Library for manipulating ZBC and ZAC disks
Group:  System/Libraries

%description -n %lname
libzbc is a simple library providing functions for manipulating Zoned
Block Command (ZBC) and Zoned-device ATA command set (ZAC) disks.
libzbc also has an mode for emulating the behavior of a zoned disk
using a regular file or raw block device.

%package devel
Summary:Development files for libzbc, a ZBC/ZAC disk manipulation 
library
Group:  Development/Libraries/C and C++
Requires:   %lname = %version

%description devel
libzbc is a simple library providing functions for manipulating Zoned
Block Command (ZBC), Zoned-device ATA command set (ZAC) disks.

This subpackage contains the files needed to build against libzbc.

%package gui
Summary:Graphical frontend for ZBC tools
Group:  Hardware/Other

%description gui
A simple graphical interface showing zone information of a zoned device.
It also displays the write status (write pointer position) of zones
graphically using color coding (red for written space and green for
unwritten space). 

%package tools
Summary:Command line utilities for ZBC/ZAC disk manipulation
Group:  Hardware/Other

%description tools
libzbc is a simple library providing functions for manipulating Zoned
Block Command (ZBC), Zoned-device ATA command set (ZAC) disks.

%prep
%setup -qn %name

%build
autoreconf -fi
mkdir obj
pushd obj/
%define _configure ../configure
%configure --disable-static --includedir=%_includedir/%name
make %{?_smp_mflags}
popd

%install
b=%buildroot;
%make_install -C obj
find $b/%_libdir -type f -name *.la -delete;

%check
make -C obj check %{?_smp_mflags}

%post   -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig

%files tools
%defattr(-,root,root)
%_bindir/zbc_*
%doc COPYING.LESSER

%files gui
%defattr(-,root,root)
%_bindir/gzbc

%files -n %lname
%defattr(-,root,root)
%_libdir/libzbc.so.1*
%doc COPYING

%files devel
%defattr(-,root,root)
%_includedir/%name/
%_libdir/libzbc.so
%_libdir/pkgconfig/libzbc.pc

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