SHA256
1
0
forked from pool/libzbc

- Update to release 5.10

OBS-URL: https://build.opensuse.org/package/show/hardware/libzbc?expand=0&rev=35
This commit is contained in:
Jan Engelhardt 2021-05-22 10:50:56 +00:00 committed by Git OBS Bridge
parent 6b11c09783
commit 01c164970a
4 changed files with 26 additions and 16 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat May 22 10:50:43 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- 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 <jengelh@inai.de> Thu Jul 30 15:53:24 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libzbc # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,15 +17,15 @@
Name: libzbc Name: libzbc
%define lname libzbc-5_9_0 %define lname libzbc-5_10_0
Version: 5.9.0 Version: 5.10.0
Release: 0 Release: 0
Summary: Library for manipulating ZBC and ZAC disks Summary: Library for manipulating ZBC and ZAC disks
License: BSD-2-Clause AND LGPL-3.0-or-later License: BSD-2-Clause AND LGPL-3.0-or-later
Group: Hardware/Other 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: autoconf-archive
BuildRequires: libtool >= 2 BuildRequires: libtool >= 2
BuildRequires: pkg-config BuildRequires: pkg-config
@ -66,7 +66,7 @@ Group: Hardware/Other
A simple graphical interface showing zone information of a zoned device. A simple graphical interface showing zone information of a zoned device.
It also displays the write status (write pointer position) of zones It also displays the write status (write pointer position) of zones
graphically using color coding (red for written space and green for graphically using color coding (red for written space and green for
unwritten space). unwritten space).
%package tools %package tools
Summary: Command line utilities for ZBC/ZAC disk manipulation Summary: Command line utilities for ZBC/ZAC disk manipulation
@ -81,25 +81,27 @@ Block Command (ZBC), Zoned-device ATA command set (ZAC) disks.
%build %build
autoreconf -fi autoreconf -fi
mkdir obj #mkdir obj
pushd obj/ #pushd obj/
%define _configure ../configure #define _configure ../configure
# includedir intentional, cf. bugzilla.opensuse.org/795968
%configure --disable-static --includedir="%_includedir/%name" CFLAGS="%optflags -fno-common" %configure --disable-static --includedir="%_includedir/%name" CFLAGS="%optflags -fno-common"
make %{?_smp_mflags} %make_build
popd #popd
%install %install
%make_install -C obj %make_install
find "%buildroot/%_libdir" -type f -name "*.la" -delete find "%buildroot/%_libdir" -type f -name "*.la" -delete
%check %check
make -C obj check %{?_smp_mflags} %make_build check
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files tools %files tools
%_bindir/zbc_* %_bindir/zbc_*
%_mandir/man*/*z*
%license COPYING.LESSER %license COPYING.LESSER
%files gui %files gui

3
v5.10.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2774188a1ff9f3564695dc613c52658a853dde1babc9e0b0682280c83ef85c67
size 138217

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35424bcd8661314e654d18ad4b176ff1dbb473ae445d6c08d606c454dd64b500
size 131517