File project.diff of Package apk-tools
--- _service.orig
+++ _service
@@ -1,16 +1,16 @@
<services>
- <service mode="manual" name="tar_scm">
+ <service name="tar_scm" mode="manual">
<param name="url">https://git.alpinelinux.org/apk-tools</param>
<param name="scm">git</param>
- <param name="revision">v2.14.4</param>
+ <param name="revision">v2.14.10</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionformat">@PARENT_TAG@</param>
</service>
- <service mode="manual" name="recompress">
+ <service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
- <service mode="manual" name="set_version"/>
+ <service name="set_version" mode="manual"/>
</services>
--- _servicedata.orig
+++ _servicedata
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://git.alpinelinux.org/apk-tools</param>
- <param name="changesrevision">de114558a5d8fa15350b1b3d440712fab6bae817</param></service></servicedata>
\ No newline at end of file
+ <param name="changesrevision">9d074efdc12bc41b5d24190595a5269a770e852a</param></service></servicedata>
\ No newline at end of file
--- apk-tools.changes.orig
+++ apk-tools.changes
@@ -1,4 +1,123 @@
-------------------------------------------------------------------
+Wed Jun 18 12:15:09 UTC 2025 - Martin Hauke <mardnh@gmx.de>
+
+- Update to version 2.14.10:
+ * apk-tools-2.14.10
+ * libfetch: allow obsolete date format in http timestamps
+ * libfetch/http: reuse fetch_netrc_auth for http(s)
+ * apk-tools-2.14.9
+ * apk, db: rework dbopts cache_max_age default handling
+ * db: remove leftover fprintf
+ * apk-tools-2.14.8
+ * info: fix -W with symlinks
+ * update: make --update-cache and and 'update' behave the same
+ * db: handle not found names in __apk_db_foreach_sorted_package
+ * solver: fix name resolving order of pure virtual names
+ * db: fix non-repository reverese dependency indexing
+ * apk-tools-2.14.7
+ * solver: rework solver name ordering to fix install_if handling
+ * build: use the VERSION directly as the soname
+ * solver: make dependencies only packages selectable
+ * doc: fix pre/post commit hook documentation
+ * db: fix apk_cache_download to work with APK_SIGN_VERIFY_IDENTITY
+ * apk-tools-2.14.6
+ * io: backport APK_ISTREAM_TEE_OPTIONAL from master
+ * io: fix apk_istream_tee to handle error in from
+ * hash: remove bad cast of delete_item to enumerator callback
+ * Improve make test and run CI tests on x86 also
+ * commit: use %llu and unsigned long long in printf instead of off_t
+ * apk-tools-2.14.5
+ * fetch: validate downloaded package against repository
+ * add: error when added constrain is broken
+ * lua: expose more package fields
+ * blob: stop parsing '=' as 0 when decoding digits
+ * lua: use lua_Integer when appropriate
+ * lua: fix memory leak from setting blobs
+ * lua: safe cast from size_t to long
+ * add: check version of virtual packages
+ * use 2-argument static_assert form for older compilers
+ * del: Don't show kept packages when --quiet is set
+ * io: ignore fifos when reading xattr
+ * io: use O_NONBLOCK when reading xattrs
+ * db: preserve sha256_160 flag with a warning
+ * db, solver: move name priority calculation to solver
+ * test: fix provides repository format
+ * commit: remove unused struct print_state member
+ * db: fix a minor memory leak in triggers reset
+ * solver: fix conflicts to prevent install_if trigger
+ * commit: simulate installed packages
+ * test: add provides test case from #10973
+ * commit: simulate installed bytes
+ * dot, list: optimize --installed to not load repositories
+ * del, solver: introduce and use solver hint to remove package
+ * fetch: fix selecting concrete package in non-recursive mode
+ * dot: don't error on missing conflict provider
+ * db: remove unused field data_csum in struct install_ctx
+ * doc: fix description of apk cache --upgrade
+ * doc: apk(8): speak of world constraints
+ * db: honor 'verify' mode in apk_cache_download()
+- Temporarily force usage of gcc13 on leap16- and TW-systems to
+ workaround build failures.
+
+-------------------------------------------------------------------
+Wed Jun 18 11:44:57 UTC 2025 - Martin Hauke <mardnh@gmx.de>
+
+- Update to version 2.14.10
+ * libfetch: allow obsolete date format in http timestamps.
+ * libfetch/http: reuse fetch_netrc_auth for http(s).
+- Update to version 2.14.9
+ * apk, db: rework dbopts cache_max_age default handling
+ * db: remove leftover fprintf
+- Update to version 2.14.8
+ * info: fix -W with symlinks
+ * update: make --update-cache and and 'update' behave the same
+ * db: handle not found names in __apk_db_foreach_sorted_package
+ * solver: fix name resolving order of pure virtual names
+ * db: fix non-repository reverese dependency indexing
+- Update to version 2.14.7
+ * solver: rework solver name ordering to fix install_if handling
+ * build: use the VERSION directly as the soname
+ * solver: make dependencies only packages selectable
+ * db: fix apk_cache_download to work with APK_SIGN_VERIFY_IDENTITY
+- Update to version 2.14.6
+ * io: backport APK_ISTREAM_TEE_OPTIONAL from master
+ * io: fix apk_istream_tee to handle error in from
+ * hash: remove bad cast of delete_item to enumerator callback
+ * Improve make test and run CI tests on x86 also
+ * commit: use %llu and unsigned long long in printf instead of
+ off_t
+- Update to version 2.14.5
+ * fetch: validate downloaded package against repository
+ * add: error when added constrain is broken
+ * lua: expose more package fields
+ * blob: stop parsing '=' as 0 when decoding digits
+ * lua: use lua_Integer when appropriate
+ * lua: fix memory leak from setting blobs
+ * lua: safe cast from size_t to long
+ * add: check version of virtual packages
+ * use 2-argument static_assert form for older compilers
+ * del: Don't show kept packages when --quiet is set
+ * io: ignore fifos when reading xattr
+ * io: use O_NONBLOCK when reading xattrs
+ * db: preserve sha256_160 flag with a warning
+ * db, solver: move name priority calculation to solver
+ * test: fix provides repository format
+ * commit: remove unused struct print_state member
+ * db: fix a minor memory leak in triggers reset
+ * solver: fix conflicts to prevent install_if trigger
+ * commit: simulate installed packages
+ * test: add provides test case from #10973
+ * commit: simulate installed bytes
+ * dot, list: optimize --installed to not load repositories
+ * del, solver: introduce and use solver hint to remove package
+ * fetch: fix selecting concrete package in non-recursive mode
+ * dot: don't error on missing conflict provider
+ * db: remove unused field data_csum in struct install_ctx
+ * doc: fix description of apk cache --upgrade
+ * doc: apk(8): speak of world constraints
+ * db: honor 'verify' mode in apk_cache_download()
+
+-------------------------------------------------------------------
Sat Jun 22 09:12:45 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- Build lua module
--- apk-tools.spec.orig
+++ apk-tools.spec
@@ -1,8 +1,8 @@
#
# spec file for package apk-tools
#
-# Copyright (c) 2024 SUSE LLC
-# Copyright (c) 2024, Martin Hauke <mardnh@gmx.de>
+# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2024-2025, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,19 +18,23 @@
%define sover 2
-%define soname 2_14_0
+%define soname 2_14_10
%define libname libapk%{soname}
Name: apk-tools
-Version: 2.14.4
+Version: 2.14.10
Release: 0
Summary: Alpine package manager
License: GPL-2.0-or-later
Group: System/Packages
URL: https://git.alpinelinux.org/apk-tools/
Source: %{name}-%{version}.tar.xz
+%if %{suse_version} >= 1600
+BuildRequires: gcc13
+%else
+BuildRequires: gcc
+%endif
BuildRequires: lua53-devel
BuildRequires: lua53-zlib
-BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: scdoc
BuildRequires: pkgconfig(libcrypto)
@@ -72,7 +76,7 @@ This package contains headers and librar
that use libapk.
%prep
-%setup -q
+%autosetup
%build
%make_build