r12553 - in /trunk/libfile-spec-perl/debian: changelog compat control copyright rules

tincho-guest at users.alioth.debian.org tincho-guest at users.alioth.debian.org
Fri Jan 11 13:06:30 UTC 2008


Author: tincho-guest
Date: Fri Jan 11 13:06:29 2008
New Revision: 12553

URL: http://svn.debian.org/wsvn/?sc=1&rev=12553
Log:
* debian/control:
- Bump debhelper compatibility.
- Clarify in description that this is already provided in perl-modules.
- Add libpathtools-perl as a dummy binary, conflicted/provided/replaced by
  libfile-spec-perl.
* debian/copyright:
- convert to new format.
- add © information for packaging.
- add missing © notice from Cwd.pm.
* debian/rules: beautified a little.

Modified:
    trunk/libfile-spec-perl/debian/changelog
    trunk/libfile-spec-perl/debian/compat
    trunk/libfile-spec-perl/debian/control
    trunk/libfile-spec-perl/debian/copyright
    trunk/libfile-spec-perl/debian/rules

Modified: trunk/libfile-spec-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libfile-spec-perl/debian/changelog?rev=12553&op=diff
==============================================================================
--- trunk/libfile-spec-perl/debian/changelog (original)
+++ trunk/libfile-spec-perl/debian/changelog Fri Jan 11 13:06:29 2008
@@ -8,6 +8,18 @@
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza).
   * debian/watch: use dist-based URL.
+
+  [ Martín Ferrari ]
+  * debian/control:
+  - Bump debhelper compatibility.
+  - Clarify in description that this is already provided in perl-modules.
+  - Add libpathtools-perl as a dummy binary, conflicted/provided/replaced by
+    libfile-spec-perl.
+  * debian/copyright:
+  - convert to new format.
+  - add © information for packaging.
+  - add missing © notice from Cwd.pm.
+  * debian/rules: beautified a little.
 
  -- David Bremner <bremner at unb.ca>  Thu, 10 Jan 2008 19:28:59 +0100
 

Modified: trunk/libfile-spec-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libfile-spec-perl/debian/compat?rev=12553&op=diff
==============================================================================
--- trunk/libfile-spec-perl/debian/compat (original)
+++ trunk/libfile-spec-perl/debian/compat Fri Jan 11 13:06:29 2008
@@ -1,1 +1,1 @@
-5
+6

Modified: trunk/libfile-spec-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libfile-spec-perl/debian/control?rev=12553&op=diff
==============================================================================
--- trunk/libfile-spec-perl/debian/control (original)
+++ trunk/libfile-spec-perl/debian/control Fri Jan 11 13:06:29 2008
@@ -1,7 +1,7 @@
 Source: libfile-spec-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>> 5), perl (>= 5.8.0-7)
+Build-Depends: debhelper (>> 6), perl (>= 5.8.0-7)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/PathTools/
@@ -11,10 +11,28 @@
 Package: libfile-spec-perl
 Architecture: any
 Depends: ${perl:Depends}, ${misc:Depends}
-Conflicts: libpathtools-perl (<= 3.24-1)
-Description: provides functions for generating temporary files
- This module can be used to generate temporary files (providing a filename and
+Conflicts: libpathtools-perl (<< 3.2501-1)
+Replaces: libpathtools-perl (<< 3.2501-1)
+Provides: libpathtools-perl
+Description: Functions for generating temporary files
+ File::Spec can be used to generate temporary files (providing a filename and
  filehandle) or directories. Possible race conditions are avoided and some
  security checks are performed (eg making sure the sticky bit is set on world
  writeable temp directories).
+ .
+ Please note that the modules from this package are already included in perl.
+ This is provided for people that needs the newer versions of File::Spec from
+ CPAN.
 
+Package: libpathtools-perl
+Depends: libfile-spec-perl
+Architecture: all
+Description: Functions for generating temporary files (transitional package)
+ File::Spec can be used to generate temporary files (providing a filename and
+ filehandle) or directories. Possible race conditions are avoided and some
+ security checks are performed (eg making sure the sticky bit is set on world
+ writeable temp directories).
+ .
+ This is a dummy package to ease the transition to libfile-spec-perl and can
+ be safely removed.
+

Modified: trunk/libfile-spec-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libfile-spec-perl/debian/copyright?rev=12553&op=diff
==============================================================================
--- trunk/libfile-spec-perl/debian/copyright (original)
+++ trunk/libfile-spec-perl/debian/copyright Fri Jan 11 13:06:29 2008
@@ -1,18 +1,34 @@
 This is the debian package for the File::Spec module.
 
-It was downloaded from the Comprehensive Perl Archive Network (CPAN).
-Visit <http://www.perl.com/CPAN/> to find a CPAN site near you.
+It was downloaded from http://search.cpan.org/dist/PathTools/.
 
-The upstream author is: 
+The upstream author is:
+ Ken Williams <KWILLIAMS at cpan.org>
 
-Ken Williams <KWILLIAMS at cpan.org>
+Files: debian/*
+Copyright: © 2007 Debian Perl Group
+           © 2007 Bastian Blank <waldi at debian.org>
+License: other
+ It is assumed that all Debian maintairers used a license compatible with
+ upstream's.
 
-Copyright (c) 2004 by the Perl 5 Porters.  All rights reserved.
+Files: Cwd*
+Copyright: © 2004 by the Perl 5 Porters.  All rights reserved.
+License: GPL-1+ | Artistic
+ This program is free software; you can redistribute it and/or modify it under
+ the same terms as Perl itself.
+ .
+ Portions of the C code in this library are copyright (c) 1994 by the Regents
+ of the University of California.  All rights reserved.  The license on this
+ code is compatible with the licensing of the rest of the distribution - please
+ see the source code in Cwd.xs for the details.
 
-This program is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
+Files: *
+Copyright: © 2004 by the Perl 5 Porters.  All rights reserved.
+License: GPL-1+ | Artistic
+ This program is free software; you can redistribute it and/or modify it
+ under the same terms as Perl itself.
 
-See http://www.perl.com/perl/misc/Artistic.html
 
 Perl is distributed under your choice of the GNU General Public License or
 the Artistic License.  On Debian GNU/Linux systems, the complete text of the

Modified: trunk/libfile-spec-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libfile-spec-perl/debian/rules?rev=12553&op=diff
==============================================================================
--- trunk/libfile-spec-perl/debian/rules (original)
+++ trunk/libfile-spec-perl/debian/rules Fri Jan 11 13:06:29 2008
@@ -7,40 +7,32 @@
 # 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)
+PACKAGE = $(firstword $(shell dh_listpackages))
+PERL   ?= /usr/bin/perl
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
 	dh_testdir
-
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
-	
+	$(MAKE) test
 	touch $@
 
 clean:
 	dh_testdir
 	rm -f build-stamp
-
 	[ ! -f Makefile ] || $(MAKE) distclean
-
 	dh_clean
 
 install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-
-	$(MAKE) test
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
+	[ ! -d $(TMP)/usr/lib/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents \
+		      --verbose $(TMP)/usr/lib/perl5
 
 binary-arch: build install
 	dh_testdir




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