From 47a8d984eaf5df61e244b2b137e35da3cee2b85f Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Thu, 23 Mar 2023 09:43:56 +0200 Subject: [PATCH] Fix *.pc file libdir variable Fix: lib -> lib64 Signed-off-by: David Abdurachmanov --- libasyncns-pc-fix-libdir.patch | 12 ++++++++++++ libasyncns.spec | 9 ++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 libasyncns-pc-fix-libdir.patch diff --git a/libasyncns-pc-fix-libdir.patch b/libasyncns-pc-fix-libdir.patch new file mode 100644 index 0000000..5c187f8 --- /dev/null +++ b/libasyncns-pc-fix-libdir.patch @@ -0,0 +1,12 @@ +diff --git a/libasyncns.pc.in b/libasyncns.pc.in +index 6795161..d4ca76f 100644 +--- a/libasyncns.pc.in ++++ b/libasyncns.pc.in +@@ -1,6 +1,6 @@ + prefix=@prefix@ + exec_prefix=${prefix} +-libdir=${exec_prefix}/lib ++libdir=${exec_prefix}/lib64 + includedir=${prefix}/include + + Name: libasyncns diff --git a/libasyncns.spec b/libasyncns.spec index 8ec71de..2643e2c 100644 --- a/libasyncns.spec +++ b/libasyncns.spec @@ -1,11 +1,13 @@ Name: libasyncns Version: 0.8 -Release: 24%{?dist} +Release: 24.0.riscv64%{?dist} Summary: Asynchronous Name Service Library Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz License: LGPLv2+ Url: http://0pointer.de/lennart/projects/libasyncns/ +Patch0: libasyncns-pc-fix-libdir.patch + BuildRequires: gcc BuildRequires: make %description @@ -25,6 +27,8 @@ Development Files for libasyncns Client Development %prep %setup -q +%patch0 -p1 + %build %configure --disable-static make %{?_smp_mflags} @@ -45,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT/usr/share/doc/libasyncns/ %{_libdir}/pkgconfig/libasyncns.pc %changelog +* Thu Mar 23 2023 David Abdurachmanov - 0.8-24.0.riscv64 +- Fix PC file libdir + * Thu Jan 19 2023 Fedora Release Engineering - 0.8-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild