[med-svn] [Git][med-team/chip-seq][master] 3 commits: Fix interpreter in Perl scripts

Andreas Tille gitlab at salsa.debian.org
Wed Mar 25 17:10:23 GMT 2020



Andreas Tille pushed to branch master at Debian Med / chip-seq


Commits:
50dcc257 by Andreas Tille at 2020-03-25T17:25:08+01:00
Fix interpreter in Perl scripts

- - - - -
29ae2b88 by Andreas Tille at 2020-03-25T17:25:33+01:00
Upload to new

- - - - -
8804425f by Andreas Tille at 2020-03-25T18:09:16+01:00
Fix installdir

- - - - -


3 changed files:

- debian/changelog
- debian/patches/fix_makefile.patch
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,5 +1,5 @@
-chip-seq (1.5.5-1) UNRELEASED; urgency=medium
+chip-seq (1.5.5-1) unstable; urgency=medium
 
-  * Initial release (Closes: #<bug>)
+  * Initial release (Closes: #954942)
 
- -- Andreas Tille <tille at debian.org>  Mon, 23 Mar 2020 20:55:38 +0100
+ -- Andreas Tille <tille at debian.org>  Wed, 25 Mar 2020 17:25:12 +0100


=====================================
debian/patches/fix_makefile.patch
=====================================
@@ -19,7 +19,7 @@ Description: Fix linker flags
  #manDir = /usr/share/man/man1/
  ifeq ($(prefix),)
 -    prefix := $(DESTDIR).
-+    prefix := $(DESTDIR)
++    prefix := $(DESTDIR)/usr
  endif
  binDir = $(prefix)/bin
  datDir = $(prefix)/share/chip-seq


=====================================
debian/rules
=====================================
@@ -1,31 +1,12 @@
 #!/usr/bin/make -f
 
 # DH_VERBOSE := 1
-export LC_ALL=C.UTF-8
-
-include /usr/share/dpkg/default.mk
-# this provides:
-# DEB_SOURCE: the source package name
-# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
-# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
-# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
-# DEB_VERSION_UPSTREAM: the package's upstream version
-# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
-# SOURCE_DATE_EPOCH: the source release date as seconds since the epoch, as
-#                    specified by <https://reproducible-builds.org/specs/source-date-epoch/>
-
-# for hardening you might like to uncomment this:
-# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
 	dh $@
 
-### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
-#override_dh_auto_test:
-#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-#	do_stuff_for_testing
-#endif
-
-### If you **really** can not use uscan (even not with mode=git) use a debian/get-orig-script
-#get-orig-source:
-#	. debian/get-orig-source
+override_dh_install:
+	dh_install
+	for perlscript in `grep -lR '#!/usr/local/bin/perl' debian/*/usr` ; do \
+	    sed -i '1s+#!/usr/local/bin/perl+#!/usr/bin/perl+' $${perlscript} ; \
+	done



View it on GitLab: https://salsa.debian.org/med-team/chip-seq/-/compare/c47742f849c78495d01ec03c150af34aa100219a...8804425ff6842a3b308677d862fb2844188e6ce7

-- 
View it on GitLab: https://salsa.debian.org/med-team/chip-seq/-/compare/c47742f849c78495d01ec03c150af34aa100219a...8804425ff6842a3b308677d862fb2844188e6ce7
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200325/d80479f4/attachment-0001.html>


More information about the debian-med-commit mailing list