From fdbe55a6c1d79db098b414dd9c562ce5d9649255 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 28 Mar 2010 22:53:08 +0200 Subject: [PATCH] Ensure that documentation is installed in the right place. On SuSE derivatives, the documentation is not in /usr/share/doc/lldpd but in /usr/share/doc/packages/lldpd. --- redhat/lldpd.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/redhat/lldpd.spec b/redhat/lldpd.spec index b9744965..6dba94ab 100644 --- a/redhat/lldpd.spec +++ b/redhat/lldpd.spec @@ -99,7 +99,8 @@ protocol. It also handles LLDP-MED extension. --with-privsep-user=%lldpd_user \ --with-privsep-group=%lldpd_group \ --with-privsep-chroot=%lldpd_chroot \ - --prefix=/usr --localstatedir=%lldpd_chroot --sysconfdir=/etc --libdir=%{_libdir} + --prefix=/usr --localstatedir=%lldpd_chroot --sysconfdir=/etc --libdir=%{_libdir} \ + --docdir=%{_docdir}/lldpd [ -f /usr/include/net-snmp/agent/struct.h ] || touch src/struct.h make %{?_smp_mflags} -- 2.39.5