]> git.pld-linux.org Git - packages/iproute2.git/commitdiff
- ugly check that will prevent us from breaking again
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 22 Jan 2009 09:27:26 +0000 (09:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    iproute2.spec -> 1.179

iproute2.spec

index 869effd64c882e4fd7ecd1257707a78ae1c88560..5ce7732b000962072277fd87da62670057d05331 100644 (file)
@@ -127,6 +127,9 @@ a przestrzenią użytkownika.
 
 %{?with_doc:%{__make} -C doc}
 
+# make sure we don't produce broken ip binary
+./ip/ip link add type vlan help 2>&1 | grep -q "VLANID :=" || exit 1
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir},%{_mandir}/man8,%{_libdir},%{_includedir},%{?with_tc:%{_libdir}/tc}}
This page took 0.416358 seconds and 4 git commands to generate.