Compare commits

...

2 Commits

Author SHA1 Message Date
1d86b9cfbf
Add missing patch
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-11-22 17:28:58 +02:00
133dd94d22
Fix *.pc file libdir variable
Fix: lib -> lib64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-11-22 16:40:50 +02:00
2 changed files with 20 additions and 1 deletions

View 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

View File

@ -1,11 +1,13 @@
Name: libasyncns
Version: 0.8
Release: 23%{?dist}
Release: 23.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
* Tue Nov 22 2022 David Abdurachmanov <davidlt@rivosinc.com> - 0.8-23.0.riscv64
- Fix *.pc file libdir
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild