[libtime-period-perl] 02/06: Import Debian changes 1.20-5

gregor herrmann gregoa at debian.org
Fri Aug 4 16:29:41 UTC 2017


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

gregoa pushed a commit to branch master
in repository libtime-period-perl.

commit ce4b68fdaaf84b98788f76281a80c37c64eb8dc5
Author: Roderick Schertler <roderick at argon.org>
Date:   Thu Jul 15 10:55:56 1999 -0400

    Import Debian changes 1.20-5
    
    libtime-period-perl (1.20-5) unstable; urgency=low
    
      * Simple updates for 3.0.0 standards.
      * Simple updates for new Perl policy.
---
 debian/changelog |  9 ++++++++-
 debian/control   |  4 ++--
 debian/copyright |  8 ++++----
 debian/rules     | 53 +++++++++++++++++++++++++++++++++++++----------------
 4 files changed, 51 insertions(+), 23 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 74ababf..25a3eb7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libtime-period-perl (1.20-5) unstable; urgency=low
+
+  * Simple updates for 3.0.0 standards.
+  * Simple updates for new Perl policy.
+
+ -- Roderick Schertler <roderick at argon.org>  Thu, 15 Jul 1999 10:55:56 -0400
+
 libtime-period-perl (1.20-4) unstable; urgency=low
 
   * Stop running dh_du.
@@ -27,4 +34,4 @@ libtime-period-perl (1.20-1) unstable; urgency=low
 
  -- Roderick Schertler <roderick at argon.org>  Sun, 18 Jan 1998 16:05:56 -0500
 
-$Id: changelog,v 1.5 1998/03/10 18:48:52 roderick Exp $
+$Id: changelog,v 1.6 1999/07/15 14:56:52 roderick Exp $
diff --git a/debian/control b/debian/control
index 91fe9c9..fe5682c 100644
--- a/debian/control
+++ b/debian/control
@@ -2,11 +2,11 @@ Source: libtime-period-perl
 Section: interpreters
 Priority: optional
 Maintainer: Roderick Schertler <roderick at argon.org>
-Standards-Version: 2.4.0.0
+Standards-Version: 3.0.0
 
 Package: libtime-period-perl
 Architecture: all
-Depends: perl (>= 5.001)
+Depends: ${perl:Depends}
 Description: Perl library for testing if a time() is in a specific period
  This Perl library provides a function which tells whether a specific
  time falls within a specified time period.  Its syntax for specifying
diff --git a/debian/copyright b/debian/copyright
index f0a9db5..8e6f5f7 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-$Id: copyright,v 1.4 1998/03/10 18:48:52 roderick Exp $
+$Id: copyright,v 1.5 1999/07/15 14:56:52 roderick Exp $
 
 This is a Debian prepackaged version of the Time::Period Perl module.  It
 was put together by Roderick Schertler <roderick at argon.org> with sources
@@ -31,6 +31,6 @@ are:
     along with this program; if not, write to the Free Software Foundation,
     Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
 
-On Debian systems, the complete text of the GNU General Public License
-can be found in `/usr/doc/copyright/GPL', and the complete text of the
-Artistic License can be found in `/usr/doc/copyright/Artistic'.
+On Debian systems, the complete text of the GNU General Public License can
+be found in `/usr/share/common-licenses/GPL', and the complete text of the
+Artistic License can be found in `/usr/share/common-licenses/Artistic'.
diff --git a/debian/rules b/debian/rules
index bb3f89b..17bf065 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,16 @@
 #!/usr/bin/make -f
 
-# $Id: rules,v 1.4 1998/03/10 18:48:52 roderick Exp $
+# $Id: rules,v 1.5 1999/07/15 14:56:52 roderick Exp $
 
-dt	:= debian/tmp
-prefix	= `pwd`/$(dt)
+dt		:= debian/tmp
+prefix		 = `pwd`/$(dt)
+stamp_build	:= debian/stamp.build
+stamp_install	:= debian/stamp.install
+clean		:= $(stamp_build) $(stamp_install)
+
+ifndef PERL
+    PERL	:= perl
+endif
 
 # Setting PREFIX at Makefile generation time loses because it might or
 # might not match *perl*.  If it does the resulting hierarchy is wrong.
@@ -11,31 +18,46 @@ prefix	= `pwd`/$(dt)
 # been determined.  Since I have to add variables at install time anyway
 # I set them all there.
 
-build:
+build: $(stamp_build)
+$(stamp_build):
 	dh_testdir
-	perl Makefile.PL
+	$(PERL) Makefile.PL
 	$(MAKE)
+	$(MAKE) test
+	touch $@
 
-clean:
-	dh_testdir
-	dh_testroot
-	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean
-
-binary-indep: build
-#	dh_testversion
+install: $(stamp_install)
+$(stamp_install): $(stamp_build)
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
+    # XXX remove INSTALLPRIVLIB when the Perl packages are fixed
 	$(MAKE) \
 		PREFIX=$(prefix)/usr \
+		INSTALLPRIVLIB=$(prefix)/usr/lib/perl5 \
 		INSTALLMAN1DIR=$(prefix)/usr/man/man1 \
 		INSTALLMAN3DIR=$(prefix)/usr/man/man3 \
 	    pure_perl_install
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f $(clean)
+	[ ! -f Makefile ] || $(MAKE) realclean
+	dh_clean
+
+binary-indep: $(stamp_install)
+
+binary-arch: $(stamp_install)
+#	dh_testversion
+	dh_testdir
+	dh_testroot
 	dh_installdocs
 	dh_installexamples
 	dh_installmenu
+#	dh_installemacsen
 #	dh_installinit
 	dh_installcron
 	dh_installmanpages
@@ -46,14 +68,13 @@ binary-indep: build
 	dh_fixperms
 	dh_suidregister
 	dh_installdeb
+	dh_perl
 	dh_shlibdeps
 	dh_gencontrol -u -isp
 #	dh_makeshlibs
 	dh_md5sums
 	dh_builddeb
 
-binary-arch: build
-
 binary: binary-indep binary-arch
 
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: build install clean binary-indep binary-arch binary

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



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