Fix *.pc file libdir variable
Fix: lib -> lib64 Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
741d667a3e
commit
e537f837ba
12
libasyncns-pc-fix-libdir.patch
Normal file
12
libasyncns-pc-fix-libdir.patch
Normal file
@ -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
|
@ -1,11 +1,13 @@
|
|||||||
Name: libasyncns
|
Name: libasyncns
|
||||||
Version: 0.8
|
Version: 0.8
|
||||||
Release: 26%{?dist}
|
Release: 26.0.riscv64%{?dist}
|
||||||
Summary: Asynchronous Name Service Library
|
Summary: Asynchronous Name Service Library
|
||||||
Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz
|
Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Url: http://0pointer.de/lennart/projects/libasyncns/
|
Url: http://0pointer.de/lennart/projects/libasyncns/
|
||||||
|
|
||||||
|
Patch0: libasyncns-pc-fix-libdir.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
%description
|
%description
|
||||||
@ -24,6 +26,7 @@ Development Files for libasyncns Client Development
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch -P0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
@ -45,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT/usr/share/doc/libasyncns/
|
|||||||
%{_libdir}/pkgconfig/libasyncns.pc
|
%{_libdir}/pkgconfig/libasyncns.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 14 2023 David Abdurachmanov <davidlt@rivosinc.com> - 0.8-26.0.riscv64
|
||||||
|
- Fix PC file libdir variable
|
||||||
|
|
||||||
* Wed Aug 02 2023 Lukáš Zaoral <lzaoral@redhat.com> - 0.8-26
|
* Wed Aug 02 2023 Lukáš Zaoral <lzaoral@redhat.com> - 0.8-26
|
||||||
- migrate to SPDX license format
|
- migrate to SPDX license format
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user