Parametrize debian/changelog
* configure.ac (CHANGELOGTIME): Rename to RPM_CHANGELOGTIME. (DEB_CHANGELOGTIME): New variable. (AC_CONFIG_FILES): Add debian/changelog. * strace.spec.in: Rename CHANGELOGTIME to RPM_CHANGELOGTIME. * debian/changelog: Rename to ... * debian/changelog.in: ... this file. Add parametrized entry. * debian/.gitignore: New file.
This commit is contained in:
parent
83ed8fb33c
commit
669efd8678
@ -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
|
||||
|
1
debian/.gitignore
vendored
Normal file
1
debian/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/changelog
|
6
debian/changelog → debian/changelog.in
vendored
6
debian/changelog → debian/changelog.in
vendored
@ -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
|
@ -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 <ldv@altlinux.org> - 4.12-1
|
||||
|
Loading…
Reference in New Issue
Block a user