[med-svn] [castxml] 06/07: Add patch 0002 to remove license file from install.

Gert Wollny gert-guest at moszumanska.debian.org
Thu Apr 14 11:42:31 UTC 2016


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

gert-guest pushed a commit to branch master
in repository castxml.

commit 479d9623d7240be238326841467c9c08caf9012f
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Apr 14 11:00:10 2016 +0000

    Add patch 0002 to remove license file from install.
    
    This license file is superfluos, see lintian: extra-license-file
---
 debian/changelog                                    |  2 ++
 debian/patches/0002-dont-install-license-file.patch | 10 ++++++++++
 debian/patches/series                               |  1 +
 3 files changed, 13 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f994c0e..5c71042 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ castxml (0.1+git20160412-1) UNRELEASED; urgency=medium
   * New upstream version 
   * d/p/5c.. remove patch since it is now part of the upstream code. 
   * d/control: Update standards version to 3.9.7
+  * d/p/0002..: Add patch to not install the license file.
+     Silences lintian: extra-license-file  
 
  -- Gert Wollny <gw.fossdev at gmail.com>  Thu, 14 Apr 2016 10:44:18 +0000
 
diff --git a/debian/patches/0002-dont-install-license-file.patch b/debian/patches/0002-dont-install-license-file.patch
new file mode 100644
index 0000000..c1c6411
--- /dev/null
+++ b/debian/patches/0002-dont-install-license-file.patch
@@ -0,0 +1,10 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -118,7 +118,6 @@
+ install(DIRECTORY share/castxml/ DESTINATION "${CastXML_INSTALL_DATA_DIR}")
+ 
+ install(FILES
+-  "LICENSE"
+   "NOTICE"
+   DESTINATION "${CastXML_INSTALL_DOC_DIR}"
+   )
diff --git a/debian/patches/series b/debian/patches/series
index d71a514..3ffb461 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-fix-version-test-to-allow-text-before-clang.patch
+0002-dont-install-license-file.patch

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



More information about the debian-med-commit mailing list