summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2019-07-24 09:24:48 +0100
committerJens Axboe <axboe@kernel.dk>2019-07-24 09:11:44 -0600
commit63c832a4feb19c945d9e1f0c83cb75f2044f291a (patch)
tree9ad54e12ff15986a7f5209ee969555bd009e85cd
parent3af7ea17bcced2ae5a1c117a057092291d07a3d2 (diff)
spec: invoke ./configure with arguments
Commit fd26c1a2f0eb ("configure: move directory options to ./configure") moved --prefix=PREFIX and other directory options to ./configure. Invoke ./configure with these options instead of passing them to the makefile. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--liburing.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/liburing.spec b/liburing.spec
index 61afac8..189a16a 100644
--- a/liburing.spec
+++ b/liburing.spec
@@ -25,12 +25,13 @@ for the Linux-native io_uring.
%setup
%build
+./configure --prefix=/usr --libdir=/%{_libdir} --mandir=/usr/share/man
make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr libdir=/%{_libdir} mandir=/usr/share/man
+make install DESTDIR=$RPM_BUILD_ROOT
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT