From: Vincent Bernat Date: Wed, 20 May 2015 20:28:35 +0000 (+0200) Subject: redhat: provide a simpler buildroot X-Git-Tag: 0.7.15~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5592bec999abd412ed9187f570cc84ee9dc1f61c;p=thirdparty%2Flldpd.git redhat: provide a simpler buildroot It seems that %() may not be expanded as expected. --- diff --git a/redhat/lldpd.spec b/redhat/lldpd.spec index 405cc763..04ef6ced 100644 --- a/redhat/lldpd.spec +++ b/redhat/lldpd.spec @@ -63,7 +63,7 @@ Requires(preun): initscripts Requires(postun): initscripts %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description This implementation provides LLDP sending and reception, supports VLAN