]> git.pld-linux.org Git - packages/sqlite3.git/commitdiff
- make sure version_num gets properly updated
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 1 Dec 2014 22:34:13 +0000 (23:34 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 1 Dec 2014 22:34:13 +0000 (23:34 +0100)
sqlite3.spec

index 5c74c3a65b3275c08f99b1afd0fd67105f4f265c..90f736ab203613edca68cd69103cc9f5523bb6bf 100644 (file)
@@ -179,6 +179,11 @@ Rozszerzenie sqlite3 dla Tcl.
 
 %{__sed} -i 's/mkdir doc/#mkdir doc/' Makefile.in
 
+if [ "$(cat VERSION)" != "%{version}" ]; then
+       echo "Tarball content doesn't match version %{version}." >&2
+       exit 1
+fi
+
 %build
 %{__libtoolize}
 cp -f /usr/share/automake/config.sub .
This page took 0.310261 seconds and 4 git commands to generate.