From bc86ff5c55e4c14600eae7a9d2e0f0abc395b71c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 25 Nov 2014 12:44:23 +0200 Subject: [PATCH] use generic url --- perl-File-Path-Expand.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/perl-File-Path-Expand.spec b/perl-File-Path-Expand.spec index db255f1..1254aed 100644 --- a/perl-File-Path-Expand.spec +++ b/perl-File-Path-Expand.spec @@ -1,10 +1,10 @@ # # Conditional build: %bcond_without tests # do not perform "make test" -# -%include /usr/lib/rpm/macros.perl + %define pdir File %define pnam Path-Expand +%include /usr/lib/rpm/macros.perl Summary: File::Path::Expand - expand filenames Summary(pl.UTF-8): File::Path::Expand - rozwijanie nazw plików Name: perl-File-Path-Expand @@ -15,11 +15,12 @@ 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: 742aa40a4ffb26d14de01192764bd7ab +URL: http://search.cpan.org/dist/File-Path-Expand/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 %if %{with tests} BuildRequires: perl-Test-Simple %endif -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