[mumps] 01/03: debian build creates ./lib at build time

Drew Parsons dparsons at moszumanska.debian.org
Wed Nov 29 13:40:11 UTC 2017


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

dparsons pushed a commit to branch experimental
in repository mumps.

commit 6c5c8e22bad46d50b2f870c10cc786c459ac4f13
Author: Drew Parsons <dparsons at debian.org>
Date:   Wed Nov 29 21:01:28 2017 +0800

    debian build creates ./lib at build time
    
    needed for build and present in upstream tarball,
    but not imported by gbp. bad gbp.
    
    Installing the dir at debian build time will save having to reinstate
    the lib dir back into git after every version update using
    gbp import-orig.
---
 debian/changelog | 2 ++
 debian/rules     | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 36eca79..f70f55f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ mumps (5.1.2-1exp1) UNRELEASED; urgency=medium
   * List OpenBLAS and ATLAS as alternative Build-Deps to provide BLAS
     and LAPACK.
   * Standards-Version: 4.1.1
+  * debian/rules: create ./lib at build time, needed for build and
+    present in upstream tarball, but not imported by gbp. 
 
  -- Drew Parsons <dparsons at debian.org>  Wed, 15 Nov 2017 15:00:03 +0800
 
diff --git a/debian/rules b/debian/rules
index 36fe0aa..888bfc4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,9 +8,10 @@ include /usr/share/mpi-default-dev/debian_defaults
 override_dh_auto_clean:
 	cp -f debian/Makefile.seq.inc Makefile.inc
 	dh_auto_clean
-	rm -rf Makefile.inc libmumps_seq libmumps_scotch libmumps_ptscotch
+	rm -rf lib Makefile.inc libmumps_seq libmumps_scotch libmumps_ptscotch
 
 override_dh_auto_build-arch:
+	mkdir lib
 	cp -f debian/Makefile.ptscotch.inc Makefile.inc
 	$(MAKE) MUMPS_MPI=$(ARCH_DEFAULT_MPI_IMPL) PLAT="_ptscotch" all
 	cp -a lib libmumps_ptscotch

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



More information about the debian-science-commits mailing list