r44954 - in /trunk/libnet-bittorrent-perl/debian: changelog control libnet-bittorrent-perl.docs rules

mogaal-guest at users.alioth.debian.org mogaal-guest at users.alioth.debian.org
Sun Sep 27 18:48:00 UTC 2009


Author: mogaal-guest
Date: Sun Sep 27 18:47:52 2009
New Revision: 44954

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44954
Log:
* Remove libnet-bittorrent-perl.docs, is not needed anymore
* Improve d/rules and now is more pretty :)
* Remove duplicate quilt entry
* Rename TODO.txt to TODO
* Fix permissions after dh_fixperms


Removed:
    trunk/libnet-bittorrent-perl/debian/libnet-bittorrent-perl.docs
Modified:
    trunk/libnet-bittorrent-perl/debian/changelog
    trunk/libnet-bittorrent-perl/debian/control
    trunk/libnet-bittorrent-perl/debian/rules

Modified: trunk/libnet-bittorrent-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-bittorrent-perl/debian/changelog?rev=44954&op=diff
==============================================================================
--- trunk/libnet-bittorrent-perl/debian/changelog (original)
+++ trunk/libnet-bittorrent-perl/debian/changelog Sun Sep 27 18:47:52 2009
@@ -2,17 +2,9 @@
 
   TODO:
   - debian/control:
-    + Module::Build: "perl-modules (>= 5.10.1) | libmodule-build-perl (>= 0.30)"
-      (cf. also lintian's "versioned-dependency-satisfied-by-perl")
-    + an unversioned build dep on libtest-simple-perl is useless, since
-      Test::Simple is in perl-modules; ah, but we need Test::More >= 0.8,
-      so it's "perl-modules (>= 5.10.1) | libtest-simple-perl (>= 0.80)"
     + remove the unversioned perl-modules from Depends
-    + short description:
-     OJO * the short description doesn't work as a noun phrase
 
-    oh, and Scalar::Util 1.19 needs e.g. "perl-modules (>= 5.10) |
-    libscalar-list-utils-perl (>= 1:1.19)"
+    oh, and Scalar::Util 1.19 needs e.g. "perl-modules (>= 5.10) | libscalar-list-utils-perl (>= 1:1.19)"
     (I haven't checked the others. dh-make-perl --refresh might also help)
   
 

Modified: trunk/libnet-bittorrent-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-bittorrent-perl/debian/control?rev=44954&op=diff
==============================================================================
--- trunk/libnet-bittorrent-perl/debian/control (original)
+++ trunk/libnet-bittorrent-perl/debian/control Sun Sep 27 18:47:52 2009
@@ -1,8 +1,9 @@
 Source: libnet-bittorrent-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7.0.50~), quilt
-Build-Depends-Indep: perl, quilt (>= 0.46-7), perl-modules (>= 5.10.1) | libmodule-build-perl (>= 0.30), 
+Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7)
+Build-Depends-Indep: perl, perl-modules (>= 5.10.1) | libmodule-build-perl (>= 0.30), 
+                     perl-modules (>= 5.10.1) | libtest-simple-perl (>= 0.8),
                      libtest-simple-perl, libtest-pod-perl, libtest-pod-coverage-perl, libdata-dump-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Alejandro Garrido Mota <garridomota at gmail.com>

Modified: trunk/libnet-bittorrent-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-bittorrent-perl/debian/rules?rev=44954&op=diff
==============================================================================
--- trunk/libnet-bittorrent-perl/debian/rules (original)
+++ trunk/libnet-bittorrent-perl/debian/rules Sun Sep 27 18:47:52 2009
@@ -1,18 +1,20 @@
 #!/usr/bin/make -f
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 %:
 	dh --with quilt $@
 
 override_dh_auto_install:
 	dh_auto_install
-	mv $(CURDIR)/debian/libnet-bittorrent-perl/usr/bin/net-bittorrent.pl $(CURDIR)/debian/libnet-bittorrent-perl/usr/bin/net-bittorrent
-	mv $(CURDIR)/debian/libnet-bittorrent-perl/usr/share/man/man1/net-bittorrent.pl.1p.gz $(CURDIR)/debian/libnet-bittorrent-perl/usr/share/man/man1/net-bittorrent.1p.gz 
+	mv $(TMP)/usr/bin/net-bittorrent.pl $(TMP)/usr/bin/net-bittorrent
+	mv $(TMP)/usr/share/man/man1/net-bittorrent.pl.1p.gz $(TMP)/usr/share/man/man1/net-bittorrent.1p.gz 
 
 override_dh_installdocs:
 	dh_installdocs -i
-	pod2text TODO.pod > $(CURDIR)/debian/libnet-bittorrent-perl/usr/share/doc/libnet-bittorrent-perl/TODO.txt 
+	pod2text TODO.pod > $(TMP)/usr/share/doc/libnet-bittorrent-perl/TODO
 
 override_dh_fixperms:
+	dh_fixperms	
 	chmod 644 debian/libnet-bittorrent-perl/usr/share/perl5/Net/BitTorrent/Notes.pod
-	chmod -x $(CURDIR)/debian/libnet-bittorrent-perl/usr/share/doc/libnet-bittorrent-perl/examples/956_dht.torrent
-	dh_fixperms	
+	chmod -x $(TMP)/usr/share/doc/libnet-bittorrent-perl/examples/956_dht.torrent




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