[packages/perl-Class-BlackHole] use generic url

glen glen at pld-linux.org
Tue Nov 25 10:12:09 CET 2014


commit 814182a7fa59961d9ab22c6929bcec8034f5cfc1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 25 11:12:05 2014 +0200

    use generic url

 perl-Class-BlackHole.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/perl-Class-BlackHole.spec b/perl-Class-BlackHole.spec
index fcb4a12..09d9416 100644
--- a/perl-Class-BlackHole.spec
+++ b/perl-Class-BlackHole.spec
@@ -1,10 +1,10 @@
 #
 # Conditional build:
 %bcond_without	tests	# do not perform "make test"
-#
-%include	/usr/lib/rpm/macros.perl
+
 %define		pdir	Class
 %define		pnam	BlackHole
+%include	/usr/lib/rpm/macros.perl
 Summary:	Class::BlackHole - base class to treat unhandled method calls as no-ops
 Summary(pl.UTF-8):	Class::BlackHole - bazowa klasa do ignorowania nie obsługiwanych metod
 Name:		perl-Class-BlackHole
@@ -15,15 +15,16 @@ License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	a11985779f85aeece9f9f0df823c4dda
+URL:		http://search.cpan.org/dist/Class-BlackHole/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Normally, if you try to call a method that there's no handler for,
-you get an error: Can't locate object method "flork" via package "X".
-But for classes that inherit from Class::BlackHole, unhandled methods
+Normally, if you try to call a method that there's no handler for, you
+get an error: Can't locate object method "flork" via package "X". But
+for classes that inherit from Class::BlackHole, unhandled methods
 become just no-operations.
 
 %description -l pl.UTF-8
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Class-BlackHole.git/commitdiff/814182a7fa59961d9ab22c6929bcec8034f5cfc1



More information about the pld-cvs-commit mailing list