[packages/perl-HTML-FromText] use generic url

glen glen at pld-linux.org
Tue Nov 25 11:51:41 CET 2014


commit 67dc7d7daedccf25607094dd6eaa646abb40e81e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 25 12:51:38 2014 +0200

    use generic url

 perl-HTML-FromText.spec | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/perl-HTML-FromText.spec b/perl-HTML-FromText.spec
index 7c86e18..fc3e7ba 100644
--- a/perl-HTML-FromText.spec
+++ b/perl-HTML-FromText.spec
@@ -1,10 +1,10 @@
 #
 # Conditional build:
 %bcond_with	tests	# perform "make test"
-#
-%include	/usr/lib/rpm/macros.perl
+
 %define		pdir	HTML
 %define		pnam	FromText
+%include	/usr/lib/rpm/macros.perl
 Summary:	HTML::FromText Perl module - convert plain text to HTML
 Summary(pl.UTF-8):	Moduł Perla HTML::FromText - konwersja czystego tekstu do HTML
 Name:		perl-HTML-FromText
@@ -15,20 +15,21 @@ 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:	fb8ae4ab0cae0b57101f78b046b3927b
+URL:		http://search.cpan.org/dist/HTML-FromText/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
+BuildRequires:	perl(HTML::Entities) >= 1.26
 BuildRequires:	perl-Email-Find >= 0.09
 BuildRequires:	perl-Exporter-Lite >= 0.01
 BuildRequires:	perl-HTML-Parser >= 3.26
-BuildRequires:	perl(HTML::Entities) >= 1.26
 # Scalar::Util in perl-modules 5.8.0 is too old
-BuildRequires:	perl-Scalar-List-Utils >= 1.12
 BuildRequires:	perl(Scalar::Util) >= 1.12
 BuildRequires:	perl(Text::Tabs) >= 98.1128
+BuildRequires:	perl-Scalar-List-Utils >= 1.12
 BuildRequires:	perl-Test-Pod >= 0.95
 BuildRequires:	perl-Test-Simple >= 0.47
 %endif
-BuildRequires:	perl-devel >= 1:5.8.0
-BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-HTML-FromText.git/commitdiff/67dc7d7daedccf25607094dd6eaa646abb40e81e



More information about the pld-cvs-commit mailing list