From ab57946e020df96379814289d4e98e1e013b47a9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 25 Nov 2014 21:52:48 +0200 Subject: [PATCH] use generic url --- perl-Mail-Sendmail.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/perl-Mail-Sendmail.spec b/perl-Mail-Sendmail.spec index ba5c397..0a5decc 100644 --- a/perl-Mail-Sendmail.spec +++ b/perl-Mail-Sendmail.spec @@ -2,10 +2,10 @@ # Conditional build: %bcond_with tests # do not perform "make test" # need network connection -# -%include /usr/lib/rpm/macros.perl + %define pdir Mail %define pnam Sendmail +%include /usr/lib/rpm/macros.perl Summary: Mail::Sendmail perl module Summary(pl.UTF-8): Moduł perla Mail::Sendmail Name: perl-Mail-Sendmail @@ -15,8 +15,9 @@ License: unknown Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 038f261afd091d8fad347d6c66d2833d -BuildRequires: rpm-perlprov >= 4.1-13 +URL: http://search.cpan.org/dist/Mail-Sendmail/ BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -- 2.44.0