SPECS: iproute2.spec - ugly check that will prevent us from breaking again

arekm arekm at pld-linux.org
Thu Jan 22 10:27:32 CET 2009


Author: arekm                        Date: Thu Jan 22 09:27:32 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- ugly check that will prevent us from breaking again

---- Files affected:
SPECS:
   iproute2.spec (1.178 -> 1.179) 

---- Diffs:

================================================================
Index: SPECS/iproute2.spec
diff -u SPECS/iproute2.spec:1.178 SPECS/iproute2.spec:1.179
--- SPECS/iproute2.spec:1.178	Thu Jan 22 08:35:38 2009
+++ SPECS/iproute2.spec	Thu Jan 22 10:27:26 2009
@@ -128,6 +128,9 @@
 
 %{?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}}
@@ -172,6 +175,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.179  2009/01/22 09:27:26  arekm
+- ugly check that will prevent us from breaking again
+
 Revision 1.178  2009/01/22 07:35:38  arekm
 - rel 2; unbreak 'ip link add link eth0 name test type vlan help' by adding -Wl,-export-dynamic to LDFLAGS.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/iproute2.spec?r1=1.178&r2=1.179&f=u



More information about the pld-cvs-commit mailing list