]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- future check for bad branch.diff
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 30 Sep 2009 10:17:15 +0000 (10:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd.spec -> 1.302

lighttpd.spec

index 4e23cfad8939505cf4ac85f0a11577909a651fc8..229b9f37a8b409a2b70009a602e976ddf17c078f 100644 (file)
@@ -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}
This page took 0.046599 seconds and 4 git commands to generate.