From: Vincent Bernat Date: Fri, 12 Mar 2010 19:13:17 +0000 (+0100) Subject: Add XML support for Redhat as well. X-Git-Tag: 0.5.0~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c3bab3edcb8e979a6fb9dded575118c4a7361ba4;p=thirdparty%2Flldpd.git Add XML support for Redhat as well. --- diff --git a/redhat/lldpd.spec b/redhat/lldpd.spec index 8861759d..44a4cfa2 100644 --- a/redhat/lldpd.spec +++ b/redhat/lldpd.spec @@ -2,6 +2,7 @@ # Conditional build options, disable with "--without xxx" %bcond_without snmp +%bcond_without xml %bcond_without cdp %bcond_without edp %bcond_without sonmp @@ -16,7 +17,7 @@ Summary: implementation of IEEE 802.1ab (LLDP) Name: lldpd -Version: 0.4.0 +Version: 0.5.0 Release: 1%{?dist} License: MIT Group: System Environment/Daemons @@ -29,6 +30,10 @@ Source2: lldpd.sysconfig BuildRequires: net-snmp-devel Requires: net-snmp %endif +%if %{with xml} +BuildRequires: libxml2-devel +Requires: libxml2 +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -53,6 +58,9 @@ protocol. It also handles LLDP-MED extension. %if %{with snmp} --with-snmp \ %endif +%if %{with xml} + --with-xml \ +%endif %if %{with cdp} --enable-cdp \ %else @@ -142,6 +150,10 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) /etc/rc.d/init.d/* %changelog +* Fri Mar 12 2010 Vincent Bernat - 0.5.0-1 +- New upstream version +- Add XML support + * Tue May 19 2009 Vincent Bernat - 0.4.0-1 - Add variables - Enable SNMP support