File: no-distro-work.patch

package info (click to toggle)
sqliteodbc 0.99991-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,940 kB
  • sloc: ansic: 59,139; sh: 12,780; makefile: 952; sql: 313
file content (28 lines) | stat: -rw-r--r-- 869 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Lionel Elie Mamane <lmamane@debian.org>
Date: Mon, 4 Jul 2016 11:13:17 +0200
Subject: Keep upstream build system from doing distro work

1) Don't recreate spec file: unused on Debian,
   pollutes diff with ever-changing timestamp
   that changes result of rebuilds.

2) Don't automatically generate debian/changelog,
   nor touch debian/ in any way.
---
 configure.in | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/configure.in b/configure.in
index 7cf3de6..df2b397 100644
--- a/configure.in
+++ b/configure.in
@@ -748,8 +748,4 @@ AC_SUBST(SQLITE4_A10N_O)
 #########
 # Generate the output files.
 #
-SPEC_CHANGELOG_TS=`LANG=C date -u "+%a %b %d %Y"`
-DEB_CHANGELOG_TS=`LANG=C date "+%a, %d %b %Y %X %z"`
-AC_SUBST(SPEC_CHANGELOG_TS)
-AC_SUBST(DEB_CHANGELOG_TS)
-AC_OUTPUT(Makefile sqliteodbc.spec debian/changelog)
+AC_OUTPUT(Makefile)