diff mbox series

[liburing,2/2] spec: add ./configure --libdevdir= for development package files

Message ID 20200319132658.8552-3-stefanha@redhat.com (mailing list archive)
State New, archived
Headers show
Series spec: RPM spec file changes for liburing-0.5 | expand

Commit Message

Stefan Hajnoczi March 19, 2020, 1:26 p.m. UTC
The development package files (--libdevdir=) have been separated from
the library runtime package files (--libdir=).  Make sure to set
--libdevdir= so x86_64 Fedora RPMs are built for /usr/lib64 instead of
/usr/lib.

Cc: Stefan Metzmacher <metze@samba.org>
Fixes: 3e63af4f252e1dfc2cb736863d8db4a3821f48e4
       ("Fix liburing.so symlink source if libdir != libdevdir")
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 liburing.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/liburing.spec b/liburing.spec
index 987946d..1665c7c 100644
--- a/liburing.spec
+++ b/liburing.spec
@@ -26,7 +26,7 @@  for the Linux-native io_uring.
 
 %build
 %set_build_flags
-./configure --prefix=%{_prefix} --libdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir}
+./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir}
 
 %make_build