[libtie-cache-perl] 02/08: Update debian configuration files to modern style.

Harlan Lieberman-Berg H.LiebermanBerg at gmail.com
Mon Nov 16 02:42:12 UTC 2015


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

hlieberman-guest pushed a commit to branch master
in repository libtie-cache-perl.

commit ba3c7a4cb4506c43d6caaa154c1471cfca06f270
Author: Harlan Lieberman-Berg <hlieberman at setec.io>
Date:   Sun Nov 15 21:17:00 2015 -0500

    Update debian configuration files to modern style.
---
 debian/changelog |  7 +++++
 debian/compat    |  2 +-
 debian/control   | 15 ++++++----
 debian/copyright | 56 ++++++++++++++++++-------------------
 debian/rules     | 84 ++------------------------------------------------------
 5 files changed, 47 insertions(+), 117 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 44ba608..66db5cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libtie-cache-perl (0.17-5) UNRELEASED; urgency=medium
+
+  * debian/control: Added: Vcs-Git field (source stanza); Vcs-Browser
+    field (source stanza).
+
+ -- Harlan Lieberman-Berg <hlieberman at setec.io>  Sun, 15 Nov 2015 21:07:42 -0500
+
 libtie-cache-perl (0.17-4) unstable; urgency=low
 
   * FTBFS with perl5.10 (Closes: #467984)
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+9
diff --git a/debian/control b/debian/control
index 6c9a750..26d8a1e 100644
--- a/debian/control
+++ b/debian/control
@@ -1,15 +1,18 @@
 Source: libtie-cache-perl
 Section: perl
 Priority: extra
-Build-Depends: debhelper (>= 5.0.42)
-Build-Depends-Indep: perl (>= 5.8.8-7)
-Maintainer: Deepak Tripathi <apenguinlinux at gmail.com>
-Standards-Version: 3.7.3
-Homepage: http://www.cpan.org/modules/by-module/Tie/ 
+Build-Depends: debhelper (>= 9),
+	       perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Harlan Lieberman-Berg <hlieberman at setec.io>
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtie-cache-perl.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libtie-cache-perl.git
+Homepage: http://www.cpan.org/modules/by-module/Tie/
 
 Package: libtie-cache-perl
 Architecture: all
-Depends: ${perl:Depends}
+Depends: ${perl:Depends}, ${misc:Depends}
 Description: perl Tie::Cache - LRU Cache in Memory
  This module implements a least recently used (LRU) cache in memory
  through a tie interface. Any time data is stored in the tied hash, that
diff --git a/debian/copyright b/debian/copyright
index 0b14aaa..05c7208 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,31 +1,31 @@
-This is the Debian prepackaged version of perl Tie::Cache - LRU Cache
-in Memory.  It was Debianised by Piotr Roszatycki <dexter at debian.org>,
-using files obtained from
-<URL:http://www.cpan.org/modules/by-module/Tie/> and is now maintained
-by Deepak Tripathi <apenguinlinux at gmail.com>
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://metacpan.org/pod/Tie::Cache
 
-Copyright and licence notice:
+Files: *
+Copyright: 1999-2012, Joshua Chamas, Chamas Enterprises, Inc.
+License: Artistic or GPL-1+
 
-      Copyright (c) 1999-2001 Joshua Chamas, Chamas Enterprises Inc.
-  
-      All rights reserved. This program is free software; you can redistribute
-      it and/or modify it under the same terms as Perl itself.
-  
-     Sponsored by development on NodeWorks http://www.nodeworks.com
-  
-  	a) the GNU General Public License as published by the Free
-  	Software Foundation; either version 1, or (at your option) any
-  	later version, or
-  
-  	b) the "Artistic License" which comes with Debian.
-  
-      You should have received a copy of the Artistic License with this
-      Kit, in the file /usr/share/common-licenses/Artistic.  If not, I'll be
-      glad to provide one.
-  
-      You should also have received a copy of the GNU General Public
-      License along with this system, in /usr/share/common-licenses/GPL; if not,
-      write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
-      Boston, MA 02110-1301, USA.
+Files: debian/*
+Copyright:
+ 2000-2001, Piotr Roszatycki <dexter at debian.org>,
+ 2002, Stephen Zander <gibreel at debian.org>,
+ 2005, Stephen Quinney <stephen at jadevine.org.uk>,
+ 2007-2008, Deepak Tripathi <apenguinlinux at gmail.com>,
+ 2015, Harlan Lieberman-Berg <hlieberman at setec.io>
+License: Artistic or GPL-1+
 
-.
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ .
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'.
+
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ On Debian systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.
diff --git a/debian/rules b/debian/rules
index 75ad4f6..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,84 +1,4 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-Wall -O2 -g"
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-	dh_clean build-stamp install-stamp
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	# Add commands to install the package into debian/$PACKAGE_NAME here
-	$(MAKE) test
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	rm -f $(TMP)/usr/share/perl5/Tie/bench.pl
-
-	# As this is a architecture independent package, we are not
-	# supposed to install stuff to /usr/lib. MakeMaker creates
-	# the dirs, we delete them from the deb:
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
-	touch install-stamp
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-#	dh_installcron
-#	dh_installmenu
-	dh_installexamples
-	dh_installdocs README
-	dh_installchangelogs CHANGES
-	dh_perl
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-source diff:                                                                  
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtie-cache-perl.git



More information about the Pkg-perl-cvs-commits mailing list