[med-svn] [lambda-align] 05/06: Remove extra license files in d/rules rather than in a patch since this is more easy to maintain

Andreas Tille tille at debian.org
Sun Dec 18 08:28:41 UTC 2016


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

tille pushed a commit to branch master
in repository lambda-align.

commit e52ee0632de967d3158f67bfcb60d7880e821456
Author: Andreas Tille <tille at debian.org>
Date:   Sun Dec 18 09:17:13 2016 +0100

    Remove extra license files in d/rules rather than in a patch since this is more easy to maintain
---
 debian/changelog                                         |  1 +
 .../patches/do-not-install-separate-license-files.patch  | 16 ----------------
 debian/patches/series                                    |  1 -
 debian/rules                                             |  4 ++++
 4 files changed, 5 insertions(+), 17 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b29af0b..47bf09d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ lambda-align (1.9.1-1) UNRELEASED; urgency=medium
   * New upstream version
   * d/watch: no recompression since no change in upstream tarball is needed
   * debhelper 10
+  * Remove extra license files in d/rules rather than in a patch
 
  -- Andreas Tille <tille at debian.org>  Sun, 18 Dec 2016 09:05:46 +0100
 
diff --git a/debian/patches/do-not-install-separate-license-files.patch b/debian/patches/do-not-install-separate-license-files.patch
deleted file mode 100644
index 31d0b17..0000000
--- a/debian/patches/do-not-install-separate-license-files.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Description: do not install separate license files 
-Author: Sascha Steinbiss <satta at debian.org>
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -221,10 +221,7 @@
-          DESTINATION bin)
- 
- # Install non-binary files for the package to share/lambda
--install (FILES ../LICENSE.rst
--               ../LICENSE-BSD.rst
--               ../LICENSE-GPL3.rst
--               ../README.rst
-+install (FILES ../README.rst
-          DESTINATION "share/doc/lambda")
- 
- # ----------------------------------------------------------------------------
diff --git a/debian/patches/series b/debian/patches/series
index f0f57ae..c1c531d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,4 @@
 cmake-seqan-modules.patch
-do-not-install-separate-license-files.patch
 fix-documentation.patch
 force-link-rt-pthread.patch
 cast-min-initializer.patch
diff --git a/debian/rules b/debian/rules
index 1d314de..b0c34d2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,10 @@ override_dh_auto_clean:
 	rm -f *.1
 	dh_auto_clean --
 
+override_dh_install:
+	dh_install
+	find debian -name "LICENSE*.rst" -delete
+
 override_dh_installman:
 	./build/bin/lambda --export-help man \
 	  | sed -r 's/(number of threads.*) Default:.*/\1/g' \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/lambda-align.git



More information about the debian-med-commit mailing list