diff --git a/backport-provide-a-pkgconfig-file-with-libkeyutils.a.patch b/backport-provide-a-pkgconfig-file-with-libkeyutils.a.patch new file mode 100644 index 0000000..4da8db4 --- /dev/null +++ b/backport-provide-a-pkgconfig-file-with-libkeyutils.a.patch @@ -0,0 +1,25 @@ +From 2faeb864575e17704be5e9a4bd697588286d800a Mon Sep 17 00:00:00 2001 +From: jiawenhao +Date: Thu, 17 Apr 2025 18:59:59 +0800 +Subject: [PATCH] provide-a-pkgconfig-file-with-libkeyutils.a + +--- + Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/Makefile b/Makefile +index 599b145..d8d4ee3 100644 +--- a/Makefile ++++ b/Makefile +@@ -201,6 +201,8 @@ ifeq ($(NO_SOLIB),0) + $(LNS) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME) + mkdir -p $(DESTDIR)$(USRLIBDIR) + $(LNS) $(LIBDIR)/$(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB) ++endif ++ifneq ($(filter 0, $(NO_ARLIB) $(NO_SOLIB)),) + sed \ + -e 's,@VERSION\@,$(VERSION),g' \ + -e 's,@prefix\@,$(PREFIX),g' \ +-- +2.27.0 + diff --git a/keyutils.spec b/keyutils.spec index c67434d..dd5740e 100644 --- a/keyutils.spec +++ b/keyutils.spec @@ -1,6 +1,6 @@ Name: keyutils Version: 1.6.3 -Release: 7 +Release: 8 Summary: Utilities of Linux Key Management License: GPLv2+ and LGPLv2+ @@ -10,6 +10,7 @@ Source0: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/s Patch9000: bugfix-fix-argv-string-out-of-bounds.patch Patch9001: backport-fix-a-formatting-on-the-keyctl.1-man-page.patch Patch9002: backport-fix-format-specifier-for-pointer-subtraction.patch +Patch9003: backport-provide-a-pkgconfig-file-with-libkeyutils.a.patch BuildRequires: gcc gcc-c++ BuildRequires: glibc-kernheaders >= 2.4-9.1.92 @@ -98,6 +99,9 @@ make \ %{_mandir}/man*/* %changelog +* Fri Apr 18 2025 jiawenhao - 1.6.3-8 +- DESC: Provide a pkgconfig file with libkeyutils.a + * Fri Apr 18 2025 jiawenhao - 1.6.3-7 - DESC: Fix format specifier for pointer subtraction