[Pkg-ofed-commits] [libfabric] 117/123: Re-wire the specfile configopts.

Ana Beatriz Guerrero López ana at moszumanska.debian.org
Sat Oct 22 12:28:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

ana pushed a commit to annotated tag v1.1.1
in repository libfabric.

commit 357999e9fdb6c01c3c6ab156a057fdb57d2c60b8
Author: pmmccorm <patrick.m.mccormick at intel.com>
Date:   Thu Oct 1 09:22:54 2015 -0700

    Re-wire the specfile configopts.
    
    To make an RPM with a specific configure line do:
    $ rpmbuild --define 'configopts --enable-psm --disable-sockets ...' -ba libfabric.spec
    
    The default behavior is unchanged: run plain configure and build based
    on libraries detected on the system. This also fixes this warning which
    happens when doing any RPM build:
    
    configure: WARNING: you should use --build, --host, --target
    configure: WARNING: invalid host type: %{configopts}
    
    Signed-off-by: pmmccorm <patrick.m.mccormick at intel.com>
---
 libfabric.spec.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libfabric.spec.in b/libfabric.spec.in
index b2fe6bf..6b56c83 100644
--- a/libfabric.spec.in
+++ b/libfabric.spec.in
@@ -1,3 +1,5 @@
+%{!?configopts: %global configopts %{nil}}
+
 Name: libfabric
 Version: @VERSION@
 Release: 1%{?dist}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/libfabric.git



More information about the Pkg-ofed-commits mailing list