From 61639980ea12e8d6024ee00e78674133543f64ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 30 Sep 2009 10:17:15 +0000 Subject: [PATCH] - future check for bad branch.diff Changed files: lighttpd.spec -> 1.302 --- lighttpd.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lighttpd.spec b/lighttpd.spec index 4e23cfa..229b9f3 100644 --- a/lighttpd.spec +++ b/lighttpd.spec @@ -822,6 +822,12 @@ rm -f src/mod_ssi_exprparser.h # bad patching: should be removed by is emptied i sh %{SOURCE6} /etc/mime.types %build +ver=$(awk '/AC_INIT/{a=$2;gsub(/[\[\],]/, "", a); print a}' configure.ac) +if [ "$ver" != "%{version}" ]; then + : configure.ac specifies wrong version + exit 1 +fi + %{__libtoolize} %{__aclocal} %{__autoconf} -- 2.44.0