]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
redhat: provide a simpler buildroot
authorVincent Bernat <vincent@bernat.im>
Wed, 20 May 2015 20:28:35 +0000 (22:28 +0200)
committerVincent Bernat <vincent@bernat.im>
Wed, 20 May 2015 20:28:35 +0000 (22:28 +0200)
It seems that %() may not be expanded as expected.

redhat/lldpd.spec

index 405cc7632c2378807f58c2c88bd38300e4e513bd..04ef6ced5113054a73a05bcc5957018f8fae682d 100644 (file)
@@ -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