[med-svn] r19322 - trunk/packages/genometools/trunk/debian

Sascha Steinbiss sascha-guest at moszumanska.debian.org
Wed Jun 10 11:06:05 UTC 2015


Author: sascha-guest
Date: 2015-06-10 11:06:04 +0000 (Wed, 10 Jun 2015)
New Revision: 19322

Modified:
   trunk/packages/genometools/trunk/debian/rules
Log:
make decision whether to use faketime arch independent


Modified: trunk/packages/genometools/trunk/debian/rules
===================================================================
--- trunk/packages/genometools/trunk/debian/rules	2015-06-10 10:36:05 UTC (rev 19321)
+++ trunk/packages/genometools/trunk/debian/rules	2015-06-10 11:06:04 UTC (rev 19322)
@@ -5,14 +5,14 @@
 export DESTDIR=$(CURDIR)/debian/tmp
 export DH_ALWAYS_EXCLUDE=.gitignore
 
-BITS:=$(shell dpkg-architecture | grep DEB_BUILD_ARCH_BITS= | cut -f 2 -d'=')
-ARCH:=$(shell dpkg-architecture | grep DEB_BUILD_ARCH= | cut -f 2 -d'=')
+BITS:=$(shell dpkg-architecture | grep DEB_BUILD_ARCH_BITS | cut -f 2 -d'=')
 ifeq ($(BITS),64)
   64BIT:=yes
 else
   64BIT:=no
 endif
-ifneq ($(ARCH),hurd-i386)
+# check whether faketime can be used
+ifeq ($(shell faketime 'last friday' date > /dev/null 2> /dev/null; echo $$?),0)
   FAKETIME:=faketime "`dpkg-parsechangelog -S date`" 
 endif
 




More information about the debian-med-commit mailing list