[med-svn] [pycorrfit] 10/12: d/rules: remove duplicated LICENSE file

Alex Mestiashvili malex-guest at moszumanska.debian.org
Mon Jun 1 13:02:54 UTC 2015


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

malex-guest pushed a commit to branch master
in repository pycorrfit.

commit fcc6b7a05d332cffc12315f491d01c81ae1b7263
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Mon Jun 1 14:18:38 2015 +0200

    d/rules: remove duplicated LICENSE file
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 20b0f64..0a42d25 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ TEXDOC=PyCorrFit_doc.tex
 BIBDOC=PyCorrFit_doc.aux
 DOCDIR=doc
 PDF=PyCorrFit_doc.pdf
-pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
+pkg := $(shell dpkg-parsechangelog --show-field=Source)
 
 %:
 	dh $@ --with python2 --buildsystem=pybuild
@@ -26,6 +26,7 @@ override_dh_auto_build:
 	dh_auto_build
 
 override_dh_install:
+	rm --verbose $(CURDIR)/debian/$(pkg)/usr/lib/python2.7/dist-packages/pycorrfit/readfiles/read_pt3_scripts/LICENSE
 	dh_install
 	mv debian/pycorrfit.xpm \
 		debian/$(pkg)/usr/share/pixmaps

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



More information about the debian-med-commit mailing list