commit ac713ead413d14cd58445e2b73a724fdbd6abe1c
Author: Jakub Bogusz <[email protected]>
Date:   Fri Oct 12 19:20:08 2018 +0200

    - added ipmi bcond

 ser2net.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/ser2net.spec b/ser2net.spec
index 4bf3294..8f27076 100644
--- a/ser2net.spec
+++ b/ser2net.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without ipmi    # OpenIPMI support
+
 Summary:       Serial to network proxy
 Summary(pl.UTF-8):     Proxy między portem szeregowym a siecią
 Name:          ser2net
@@ -9,6 +13,7 @@ Source0:       
http://downloads.sourceforge.net/ser2net/%{name}-%{version}.tar.gz
 # Source0-md5: e10e7c8c97e5bade5e85ce6e89bdf1f4
 Patch0:                %{name}-libwrap.patch
 URL:           http://ser2net.sourceforge.net/
+%{?with_ipmi:BuildRequires:    OpenIPMI-devel}
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: libtool
@@ -31,6 +36,8 @@ Program udostępniający porty szeregowe przez połączenie 
TCP/IP.
 %{__autoconf}
 %{__automake}
 %configure \
+       --disable-silent-rules \
+       %{!?with_ipmi:--without-openipmi} \
        --with-tcp-wrappers
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ser2net.git/commitdiff/ac713ead413d14cd58445e2b73a724fdbd6abe1c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to