libdlm_lt: fix pc file

This commit is contained in:
zouzhimin 2024-05-13 17:30:49 +08:00
parent 3b94631788
commit d8774863e5
2 changed files with 30 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: dlm
Version: 4.2.0
Release: 8
Release: 9
License: GPLv2 and GPLv2+ and LGPLv2+
Group: System Environment/Kernel
Summary: dlm control daemon and tool
@ -20,6 +20,7 @@ Patch0004: Revert-treewide-add-fcf-protection-full-to-CFLAGS.patch
Patch0005: build-dlm_controld-disable-annobin-plugin.patch
Patch0006: dlm_tool-fix-missing-fclose-calls.patch
Patch0007: dlm_controld-be-sure-we-stop-lockspaces-before-shutdown.patch
Patch0008: libdlm_lt-fix-pc-file.patch
Requires: %{name}-lib = %{version}-%{release}
Requires: corosync >= 3.1.0
@ -103,6 +104,9 @@ install -Dm 0644 init/dlm.sysconfig %{buildroot}/etc/sysconfig/dlm
%{_libdir}/pkgconfig/*.pc
%changelog
* Mon May 13 2024 zouzhimin <zouzhimin@kylinos.cn> - 4.2.0-9
- libdlm_lt: fix pc file
* Mon May 06 2024 zouzhimin <zouzhimin@kylinos.cn> - 4.2.0-8
- dlm_controld: be sure we stop lockspaces before shutdown and add yaml file

View File

@ -0,0 +1,25 @@
From f1b2adb5b76c2ba80ddfb84a9929ef7bbb9768ef Mon Sep 17 00:00:00 2001
From: David Teigland <teigland@redhat.com>
Date: Fri, 17 Feb 2023 10:07:12 -0600
Subject: [PATCH] libdlm_lt: fix pc file
---
libdlm/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libdlm/Makefile b/libdlm/Makefile
index 5069ccf1..918fb46e 100644
--- a/libdlm/Makefile
+++ b/libdlm/Makefile
@@ -108,7 +108,7 @@ $(LIB_PC): $(LIB_PCIN)
cat $(LIB_PCIN) | sed -e 's#@PREFIX@#$(PREFIX)#g;s#@LIBDIR@#$(LIBDIR)#g' > $@
$(LLT_PC): $(LLT_PCIN)
- cat $(LIB_PCIN) | sed -e 's#@PREFIX@#$(PREFIX)#g;s#@LIBDIR@#$(LIBDIR)#g' > $@
+ cat $(LLT_PCIN) | sed -e 's#@PREFIX@#$(PREFIX)#g;s#@LIBDIR@#$(LIBDIR)#g' > $@
clean:
rm -f *.o *.so *.so.* *.a *.pc
--
2.25.1