[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. debian/1.14.3-200-gb232f8a
Clint Adams
schizo at debian.org
Tue Aug 23 13:05:31 UTC 2011
The following commit has been merged in the upstream branch:
commit 7bc861de111ec8862b6ddbf8b7190e3293a4c7bc
Author: Clint Adams <schizo at debian.org>
Date: Tue Dec 21 17:20:37 2004 +0000
1.2.2
add version check to prebuild
git-archimport-id: fakeroot at packages.debian.org--fakeroot/fakeroot--main--0.0--patch-41
diff --git a/configure.ac b/configure.ac
index f589f62..1c4e0e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([fakeroot],[1.1],[schizo at debian.org],[fakeroot])
+AC_INIT([fakeroot],[1.2.2],[schizo at debian.org],[fakeroot])
AC_PREREQ(2.59)
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
diff --git a/debian/changelog b/debian/changelog
index 3cec682..93c6f1f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+fakeroot (1.2.2) unstable; urgency=low
+
+ * Add version check to the prebuild target; abort
+ if the changelog doesn't match configure.ac.
+ closes: #286648.
+
+ -- Clint Adams <schizo at debian.org> Tue, 21 Dec 2004 12:16:30 -0500
+
fakeroot (1.2.1) unstable; urgency=low
* debian/rules: Do configure --host on cross build.
diff --git a/debian/rules b/debian/rules
index a5e83b7..3acf9e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -175,6 +175,10 @@ binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary checkroot prebuild
prebuild:
+ if [ $(sed -n '/^AC_INIT(\[fakeroot\],\[\([^,]*\)\],.*$/ { s//\1/;p }' configure.ac) != $(dpkg-parsechangelog | sed -n '/^Version: \(.*\)$/ {s//\1/;p}') ]; \
+ then exit 1; \
+ fi
+
autoreconf -fi
cd fake && autoreconf -fi
@@ -185,4 +189,3 @@ endef
checkroot:
$(checkdir)
test root = "`whoami`"
-
--
fakeroot
More information about the Fakeroot-commits
mailing list