From: Vincent Bernat Date: Sun, 28 Mar 2010 20:53:08 +0000 (+0200) Subject: Ensure that documentation is installed in the right place. X-Git-Tag: 0.5.1~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fdbe55a6c1d79db098b414dd9c562ce5d9649255;p=thirdparty%2Flldpd.git 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. --- 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}