r10644 - in /trunk/libconfigreader-perl/debian: changelog compat control rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sat Dec 1 22:27:01 UTC 2007


Author: gregoa-guest
Date: Sat Dec  1 22:27:01 2007
New Revision: 10644

URL: http://svn.debian.org/wsvn/?sc=1&rev=10644
Log:
* debian/rules:
  - don't install empty /usr/lib/perl5 directory
  - don't ignore errors of $(MAKE) realclean
  - remove unused compiler flags
* Set debhelper compatibility level to 5.
* Set Standards-Version to 3.7.2 (no changes needed).

Modified:
    trunk/libconfigreader-perl/debian/changelog
    trunk/libconfigreader-perl/debian/compat
    trunk/libconfigreader-perl/debian/control
    trunk/libconfigreader-perl/debian/rules

Modified: trunk/libconfigreader-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libconfigreader-perl/debian/changelog?rev=10644&op=diff
==============================================================================
--- trunk/libconfigreader-perl/debian/changelog (original)
+++ trunk/libconfigreader-perl/debian/changelog Sat Dec  1 22:27:01 2007
@@ -3,6 +3,12 @@
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza). Removed: XS-
     Vcs-Svn fields.
+  * debian/rules:
+    - don't install empty /usr/lib/perl5 directory
+    - don't ignore errors of $(MAKE) realclean
+    - remove unused compiler flags
+  * Set debhelper compatibility level to 5.
+  * Set Standards-Version to 3.7.2 (no changes needed).
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:28:19 +0200
 

Modified: trunk/libconfigreader-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libconfigreader-perl/debian/compat?rev=10644&op=diff
==============================================================================
--- trunk/libconfigreader-perl/debian/compat (original)
+++ trunk/libconfigreader-perl/debian/compat Sat Dec  1 22:27:01 2007
@@ -1,1 +1,1 @@
-4
+5

Modified: trunk/libconfigreader-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libconfigreader-perl/debian/control?rev=10644&op=diff
==============================================================================
--- trunk/libconfigreader-perl/debian/control (original)
+++ trunk/libconfigreader-perl/debian/control Sat Dec  1 22:27:01 2007
@@ -3,9 +3,9 @@
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Joachim Breitner <nomeata at debian.org>, Marc Brockschmidt <marc at dch-faq.de> 
-Build-Depends: debhelper (>= 4)
+Build-Depends: debhelper (>= 5)
 Build-Depends-Indep: perl (>= 5.6.0-16)
-Standards-Version: 3.6.1
+Standards-Version: 3.7.2
 Homepage: http://search.cpan.org/dist/ConfigReader/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libconfigreader-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfigreader-perl/

Modified: trunk/libconfigreader-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libconfigreader-perl/debian/rules?rev=10644&op=diff
==============================================================================
--- trunk/libconfigreader-perl/debian/rules (original)
+++ trunk/libconfigreader-perl/debian/rules Sat Dec  1 22:27:01 2007
@@ -8,13 +8,6 @@
 
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
-else
-        CFLAGS += -O2
-endif
-
 build: build-stamp
 build-stamp:
 	dh_testdir
@@ -23,7 +16,7 @@
 	-mv $(CURDIR)/*.pm $(CURDIR)/ConfigReader
 	
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" 
+	$(MAKE)
 
 	touch build-stamp
 
@@ -32,7 +25,7 @@
 	dh_testroot
 	-mv $(CURDIR)/ConfigReader/*.pm $(CURDIR)
 	-rmdir $(CURDIR)/ConfigReader
-	-$(MAKE) distclean
+	[ ! -f makefile ] || $(MAKE) distclean
 	dh_clean build-stamp install-stamp
 
 install: install-stamp
@@ -42,6 +35,9 @@
 	dh_clean -k
 
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	
+	rmdir --parents --ignore-fail-on-non-empty $(TMP)/usr/lib/perl5
+	
 	touch install-stamp
 
 binary-arch: build install




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