From 01c164970ac5f00ec39109595ba660483a68b284ff4854918f82c3d27bba5f64 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 22 May 2021 10:50:56 +0000 Subject: [PATCH] - Update to release 5.10 OBS-URL: https://build.opensuse.org/package/show/hardware/libzbc?expand=0&rev=35 --- libzbc.changes | 8 ++++++++ libzbc.spec | 28 +++++++++++++++------------- v5.10.0.tar.gz | 3 +++ v5.9.0.tar.gz | 3 --- 4 files changed, 26 insertions(+), 16 deletions(-) create mode 100644 v5.10.0.tar.gz delete mode 100644 v5.9.0.tar.gz diff --git a/libzbc.changes b/libzbc.changes index 646515f..4c323e7 100644 --- a/libzbc.changes +++ b/libzbc.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat May 22 10:50:43 UTC 2021 - Jan Engelhardt + +- Update to release 5.10 + * Fix the block backend driver to always issue a reset zone ioctl + * Fix the fake backend driver zbc_fake_set_write_pointer() function + * Fix the tools command line parsing and error messages + ------------------------------------------------------------------- Thu Jul 30 15:53:24 UTC 2020 - Jan Engelhardt diff --git a/libzbc.spec b/libzbc.spec index 54dcb06..6cc65eb 100644 --- a/libzbc.spec +++ b/libzbc.spec @@ -1,7 +1,7 @@ # # spec file for package libzbc # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,15 @@ Name: libzbc -%define lname libzbc-5_9_0 -Version: 5.9.0 +%define lname libzbc-5_10_0 +Version: 5.10.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: https://github.com/hgst/libzbc +URL: https://github.com/westerndigitalcorporation/libzbc -Source: https://github.com/hgst/libzbc/archive/v%version.tar.gz +Source: https://github.com/westerndigitalcorporation/libzbc/archive/v%version.tar.gz BuildRequires: autoconf-archive BuildRequires: libtool >= 2 BuildRequires: pkg-config @@ -66,7 +66,7 @@ Group: Hardware/Other 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). +unwritten space). %package tools Summary: Command line utilities for ZBC/ZAC disk manipulation @@ -81,25 +81,27 @@ Block Command (ZBC), Zoned-device ATA command set (ZAC) disks. %build autoreconf -fi -mkdir obj -pushd obj/ -%define _configure ../configure +#mkdir obj +#pushd obj/ +#define _configure ../configure +# includedir intentional, cf. bugzilla.opensuse.org/795968 %configure --disable-static --includedir="%_includedir/%name" CFLAGS="%optflags -fno-common" -make %{?_smp_mflags} -popd +%make_build +#popd %install -%make_install -C obj +%make_install find "%buildroot/%_libdir" -type f -name "*.la" -delete %check -make -C obj check %{?_smp_mflags} +%make_build check %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files tools %_bindir/zbc_* +%_mandir/man*/*z* %license COPYING.LESSER %files gui diff --git a/v5.10.0.tar.gz b/v5.10.0.tar.gz new file mode 100644 index 0000000..20255e8 --- /dev/null +++ b/v5.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2774188a1ff9f3564695dc613c52658a853dde1babc9e0b0682280c83ef85c67 +size 138217 diff --git a/v5.9.0.tar.gz b/v5.9.0.tar.gz deleted file mode 100644 index 069dbef..0000000 --- a/v5.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:35424bcd8661314e654d18ad4b176ff1dbb473ae445d6c08d606c454dd64b500 -size 131517