]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Add XML support for Redhat as well.
authorVincent Bernat <bernat@luffy.cx>
Fri, 12 Mar 2010 19:13:17 +0000 (20:13 +0100)
committerVincent Bernat <bernat@luffy.cx>
Fri, 12 Mar 2010 19:13:17 +0000 (20:13 +0100)
redhat/lldpd.spec

index 8861759d1fc715f71a8b940882128ee526bdda39..44a4cfa272a65a5f8d7e63bc2cae8807131c2acf 100644 (file)
@@ -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 <bernat@luffy.cx> - 0.5.0-1
+- New upstream version
+- Add XML support
+
 * Tue May 19 2009 Vincent Bernat <bernat@luffy.cx> - 0.4.0-1
 - Add variables
 - Enable SNMP support