From 670a6fb43454b9db00f60e38f83a63dab6ad89c4f303a9c917e83811644ccb10 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 10 Jun 2024 11:43:42 +0000 Subject: [PATCH 1/4] - Update to release 6 OBS-URL: https://build.opensuse.org/package/show/hardware/libzbc?expand=0&rev=45 --- libzbc.changes | 10 ++++++++++ libzbc.spec | 6 +++--- v5.14.0.tar.gz | 3 --- v6.0.0.tar.gz | 3 +++ 4 files changed, 16 insertions(+), 6 deletions(-) delete mode 100644 v5.14.0.tar.gz create mode 100644 v6.0.0.tar.gz diff --git a/libzbc.changes b/libzbc.changes index 372862c..f0e5d08 100644 --- a/libzbc.changes +++ b/libzbc.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Jun 10 11:18:11 UTC 2024 - Jan Engelhardt + +- Update to release 6 + * Dropped support for draft standards 4.x. + * Compliance to the final ZBC/ZAC standards is improved and now + includes support for such ZAC-2/ZBC-2 features as support for + DH-SMR (XMR) devices and support for zone counts > 1 in zone + operations. + ------------------------------------------------------------------- Thu May 16 06:04:20 UTC 2024 - Jan Engelhardt diff --git a/libzbc.spec b/libzbc.spec index 5fe19c9..3e572a2 100644 --- a/libzbc.spec +++ b/libzbc.spec @@ -17,8 +17,8 @@ Name: libzbc -%define lname libzbc5 -Version: 5.14.0 +%define lname libzbc6 +Version: 6.0.0 Release: 0 Summary: Library for manipulating ZBC and ZAC disks License: BSD-2-Clause AND LGPL-3.0-or-later @@ -103,7 +103,7 @@ find "%buildroot/%_libdir" -type f -name "*.la" -delete %_bindir/gz* %files -n %lname -%_libdir/libzbc.so.5* +%_libdir/libzbc.so.* %license COPYING.BSD %files devel diff --git a/v5.14.0.tar.gz b/v5.14.0.tar.gz deleted file mode 100644 index 705523b..0000000 --- a/v5.14.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa7d370df0ce428bd259d976395fd3912809327c7985e58466926154cdf6a981 -size 142520 diff --git a/v6.0.0.tar.gz b/v6.0.0.tar.gz new file mode 100644 index 0000000..c1cf7a1 --- /dev/null +++ b/v6.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:725f9e0af9e34a2e104196b93a87c15ce088e610e57ec551880c6692d4b034fe +size 231037 From 9753f7581b5ed916386284d9410d5c25c04abef2ba515b6d056632109a5db3ed Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 10 Jun 2024 13:08:42 +0000 Subject: [PATCH 2/4] OBS-URL: https://build.opensuse.org/package/show/hardware/libzbc?expand=0&rev=46 --- libzbc.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libzbc.spec b/libzbc.spec index 3e572a2..23493a4 100644 --- a/libzbc.spec +++ b/libzbc.spec @@ -101,6 +101,9 @@ find "%buildroot/%_libdir" -type f -name "*.la" -delete %files gui %_bindir/gz* +%_datadir/applications/ +%_datadir/pixmaps/* +%_datadir/polkit-1/ %files -n %lname %_libdir/libzbc.so.* From 8dc91d56a60cac837c3d88dfd9f4527c8b8ef018bc76e1c9cfa6d309cb32dc76 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 20 Jun 2024 11:18:40 +0000 Subject: [PATCH 3/4] throw out polkit, nothing /bin/su couldn't fix OBS-URL: https://build.opensuse.org/package/show/hardware/libzbc?expand=0&rev=47 --- libzbc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libzbc.spec b/libzbc.spec index 23493a4..e6288e2 100644 --- a/libzbc.spec +++ b/libzbc.spec @@ -88,6 +88,7 @@ autoreconf -fi %install %make_install find "%buildroot/%_libdir" -type f -name "*.la" -delete +rm -Rf "%buildroot/%_datadir/polkit-1" %check %make_build check @@ -103,7 +104,6 @@ find "%buildroot/%_libdir" -type f -name "*.la" -delete %_bindir/gz* %_datadir/applications/ %_datadir/pixmaps/* -%_datadir/polkit-1/ %files -n %lname %_libdir/libzbc.so.* From bc437fa27785ecda11a06a5c7c4882c36624360b4ccf995526944c1501a2333e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 20 Jun 2024 11:23:11 +0000 Subject: [PATCH 4/4] run fdupes OBS-URL: https://build.opensuse.org/package/show/hardware/libzbc?expand=0&rev=48 --- libzbc.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libzbc.spec b/libzbc.spec index e6288e2..f74b110 100644 --- a/libzbc.spec +++ b/libzbc.spec @@ -27,6 +27,7 @@ URL: https://github.com/westerndigitalcorporation/libzbc Source: https://github.com/westerndigitalcorporation/libzbc/archive/v%version.tar.gz BuildRequires: autoconf-archive +BuildRequires: fdupes BuildRequires: libtool >= 2 BuildRequires: pkg-config BuildRequires: pkgconfig(gtk+-3.0) @@ -89,6 +90,7 @@ autoreconf -fi %make_install find "%buildroot/%_libdir" -type f -name "*.la" -delete rm -Rf "%buildroot/%_datadir/polkit-1" +%fdupes %buildroot/%_prefix %check %make_build check