From 38e4dbfca2546dcad9bf340adb95079d84bd1d46 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 25 Nov 2014 12:51:42 +0200 Subject: [PATCH] use generic url --- perl-HTML-Latex.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/perl-HTML-Latex.spec b/perl-HTML-Latex.spec index 706baa7..488618a 100644 --- a/perl-HTML-Latex.spec +++ b/perl-HTML-Latex.spec @@ -1,10 +1,10 @@ # # Conditional build: %bcond_with tests # perform "make test" (failed on my machine) -# -%include /usr/lib/rpm/macros.perl + %define pdir HTML %define pnam Latex +%include /usr/lib/rpm/macros.perl Summary: HTML::Latex Perl module - creates a LaTeX file from an HTML file Summary(pl.UTF-8): Moduł Perla HTML::Latex - tworzenie pliku w LaTeXu z pliku HTML Name: perl-HTML-Latex @@ -14,12 +14,13 @@ License: GPL Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: b15c98fe9105340060e55e11c17747cb +URL: http://search.cpan.org/dist/HTML-Latex/ BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 %if %{with tests} BuildRequires: perl-HTML-Tree BuildRequires: perl-XML-Simple >= 1.04 %endif -BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -- 2.44.0