[PATCH liburing 2/4] spec: invoke ./configure with arguments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 liburing.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
-- 
2.21.0




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux