[flexpart] 02/02: Set LC_ALL=C when sorting objs for compilation, to aid reproducibility

Alastair McKinstry mckinstry at moszumanska.debian.org
Thu Jul 7 10:51:06 UTC 2016


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to tag debian/9.02-13
in repository flexpart.

commit 1c6bfc4ac6f5508fa8518a9bac44b7b43c4e59c3
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Thu Jul 7 10:18:33 2016 +0100

    Set LC_ALL=C when sorting objs for compilation, to aid reproducibility
---
 debian/changelog             | 5 +++--
 debian/patches/fortran.patch | 6 +++---
 debian/rules                 | 3 +++
 3 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4455b20..c411bd3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,13 +1,14 @@
-flexpart (9.02-13) UNRELEASED; urgency=medium
+flexpart (9.02-13) unstable; urgency=medium
 
   * Standards-Version: 3.9.8. No changes required
+  * Set LC_ALL=C when sorting objs for compilation, to aid reproducibility
 
  -- Alastair McKinstry <mckinstry at debian.org>  Thu, 07 Jul 2016 10:14:36 +0100
 
 flexpart (9.02-12) unstable; urgency=medium
 
   * Remove -ljasper as unnecessary. libjasper is being removed from Debian
-	as obsolete and  unsupported
+    as obsolete and  unsupported
   * Move to Standards-Version: 3.9.7
 
  -- Alastair McKinstry <mckinstry at debian.org>  Mon, 29 Feb 2016 15:37:20 +0000
diff --git a/debian/patches/fortran.patch b/debian/patches/fortran.patch
index f8e39a1..ec451f8 100644
--- a/debian/patches/fortran.patch
+++ b/debian/patches/fortran.patch
@@ -1,6 +1,6 @@
 Author: Alastair McKinstry <mckinstry at debian.org>
 Description: Makefile changes needed for Debian
-Last-Updated: 2016-02-29
+Last-Updated: 2016-07-07
 Forwarded: not-needed
 
 Index: flexpart-9.02/makefile.gfs_gfortran
@@ -33,7 +33,7 @@ Index: flexpart-9.02/makefile.gfs_gfortran
  
  $(MAIN): $(MODOBJS) $(OBJECTS)
 -	$(FC) *.o -o $(MAIN) $(LDFLAGS)
-+	$(FC) *.o -o $(MAIN) $(LFLAGS)
++	$(FC) `LC_ALL=C ls *.o` -o $(MAIN) $(LFLAGS)
  
  $(OBJECTS): $(MODOBJS)
  
@@ -76,7 +76,7 @@ Index: flexpart-9.02/makefile.ecmwf_gfortran
  
  $(MAIN): $(MODOBJS) $(OBJECTS)
 -	$(FC) *.o -o $(MAIN) $(LDFLAGS)
-+	$(FC) *.o -o $(MAIN) $(LFLAGS)
++	$(FC) `LC_ALL=C ls *.o` -o $(MAIN) $(LFLAGS)
  
  $(OBJECTS): $(MODOBJS)
  
diff --git a/debian/rules b/debian/rules
index 6820db4..ac6591e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,9 @@ ifeq ($(CPU), ppc64el)
   export FCFLAGS= -mcmodel=large
 endif
 
+LC_ALL=C
+export LC_ALL
+
 # magic debhelper rule
 %:
 	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/flexpart.git



More information about the debian-science-commits mailing list