Author: plessy Date: 2011-08-25 03:41:59 +0000 (Thu, 25 Aug 2011) New Revision: 7539
Modified: trunk/packages/libtfbs-perl/trunk/debian/changelog trunk/packages/libtfbs-perl/trunk/debian/rules Log: New upstream snapshot and modified get-orig-source target to pack it. No new licence statement nor copyright holder. Modified: trunk/packages/libtfbs-perl/trunk/debian/changelog =================================================================== --- trunk/packages/libtfbs-perl/trunk/debian/changelog 2011-08-24 16:47:14 UTC (rev 7538) +++ trunk/packages/libtfbs-perl/trunk/debian/changelog 2011-08-25 03:41:59 UTC (rev 7539) @@ -1,3 +1,11 @@ +libtfbs-perl (0.5.svn.20100421-1) UNRELEASED; urgency=low + + * New upstream SVN snapshot fixing issue related to new naming conventions. + * Arranged the get-orig-source target of debian/rules to pick the date + of the last upstream commit. + + -- Charles Plessy <[email protected]> Thu, 25 Aug 2011 12:28:57 +0900 + libtfbs-perl (0.5.svn.20091128-1) unstable; urgency=low * New upstream SVN snapshot, adding JASPAR5 support. Modified: trunk/packages/libtfbs-perl/trunk/debian/rules =================================================================== --- trunk/packages/libtfbs-perl/trunk/debian/rules 2011-08-24 16:47:14 UTC (rev 7538) +++ trunk/packages/libtfbs-perl/trunk/debian/rules 2011-08-25 03:41:59 UTC (rev 7539) @@ -70,11 +70,17 @@ binary-arch: build install dh binary-arch +TMP_DIR := $(shell mktemp --tmpdir --directory libtfbs-perl-build.XXXXXXXXXX) +LAST_REV := $(shell LC_ALL=C svn info http://www.ii.uib.no/svn/lenhard/TFBS/ | grep Date | perl -pe 's/.*(\d\d\d\d)-(\d\d)-(\d\d).*/\1\2\3/') +UPSTREAM_VERSION := 0.5.svn.$(LAST_REV) +REPACK_DIR := $(PACKAGE)-$(UPSTREAM_VERSION).orig +TAR := $(PACKAGE)_$(UPSTREAM_VERSION).orig.tar.gz + get-orig-source: - v=0.5.svn.`date +"%Y%m%d"|tr -d '\n'` ; \ - n=libtfbs-perl ; \ - svn co http://www.ii.uib.no/svn/lenhard/TFBS/ ../$$n-$$v ; \ - cd ..; tar --exclude=.svn -czvf $${n}_$${v}.orig.tar.gz $$n-$$v + svn export -r'{$(LAST_REV)}' http://www.ii.uib.no/svn/lenhard/TFBS/ $(TMP_DIR)/$(REPACK_DIR) + cd $(TMP_DIR); tar -czvf $(TAR) $(REPACK_DIR) + mv $(TMP_DIR)/$(TAR) $(CURDIR)/.. + rm --recursive $(TMP_DIR) binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
