diff --git a/configure.ac b/configure.ac index 1b843139..ea89de43 100644 --- a/configure.ac +++ b/configure.ac @@ -40,8 +40,10 @@ AM_INIT_AUTOMAKE([foreign nostdinc dist-xz no-dist-gzip silent-rules parallel-te AM_MAINTAINER_MODE AC_CANONICAL_HOST -CHANGELOGTIME="$(LC_TIME=C date '+%a %b %d %Y')" -AC_SUBST(CHANGELOGTIME) +RPM_CHANGELOGTIME="$(LC_TIME=C date '+%a %b %d %Y')" +AC_SUBST(RPM_CHANGELOGTIME) +DEB_CHANGELOGTIME="$(LC_TIME=C date -R)" +AC_SUBST(DEB_CHANGELOGTIME) AC_PROG_CC AC_PROG_CPP @@ -786,5 +788,6 @@ AC_CONFIG_FILES([Makefile tests/Makefile tests-m32/Makefile tests-mx32/Makefile - strace.spec]) + strace.spec + debian/changelog]) AC_OUTPUT diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 00000000..8132460c --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1 @@ +/changelog diff --git a/debian/changelog b/debian/changelog.in similarity index 99% rename from debian/changelog rename to debian/changelog.in index c168ae6b..8562e834 100644 --- a/debian/changelog +++ b/debian/changelog.in @@ -1,3 +1,9 @@ +strace (@PACKAGE_VERSION@-1) experimental; urgency=low + + * @PACKAGE_STRING@ snapshot. + + -- Strace <@PACKAGE_BUGREPORT@> @DEB_CHANGELOGTIME@ + strace (4.12-3) unstable; urgency=medium * Fix up 32/64-bit test output in strace -S test to fix i386 build diff --git a/strace.spec.in b/strace.spec.in index 18765ca2..0b4a2396 100644 --- a/strace.spec.in +++ b/strace.spec.in @@ -103,7 +103,7 @@ echo 'END OF TEST SUITE INFORMATION' %endif %changelog -* @CHANGELOGTIME@ @PACKAGE_BUGREPORT@ - @PACKAGE_VERSION@-%release +* @RPM_CHANGELOGTIME@ @PACKAGE_BUGREPORT@ - @PACKAGE_VERSION@-1 - @PACKAGE_STRING@ snapshot. * Tue May 31 2016 Dmitry V. Levin - 4.12-1