From 76e66ca91ecf5814d7c8f56a9584db0de227dc45 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 25 Nov 2014 22:25:29 +0200 Subject: [PATCH] use generic url --- perl-Plack-Test-ExternalServer.spec | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/perl-Plack-Test-ExternalServer.spec b/perl-Plack-Test-ExternalServer.spec index 4bab805..c07f84c 100644 --- a/perl-Plack-Test-ExternalServer.spec +++ b/perl-Plack-Test-ExternalServer.spec @@ -1,12 +1,11 @@ # # Conditional build: %bcond_without tests # do not perform "make test" -# + %define pdir Plack %define pnam Test-ExternalServer %include /usr/lib/rpm/macros.perl Summary: Plack::Test::ExternalServer - Run HTTP tests on external live servers -#Summary(pl.UTF-8): Name: perl-Plack-Test-ExternalServer Version: 0.01 Release: 1 @@ -15,16 +14,15 @@ License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/Plack/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: bb0806b4e5bc61064e3736991dd8640c -# generic URL, check or change before uncommenting -#URL: http://search.cpan.org/dist/Plack-Test-ExternalServer/ +URL: http://search.cpan.org/dist/Plack-Test-ExternalServer/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 %if %{with tests} BuildRequires: perl-HTTP-Message -BuildRequires: perl-libwww BuildRequires: perl-Plack BuildRequires: perl-Test-TCP BuildRequires: perl-URI +BuildRequires: perl-libwww %endif BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -34,9 +32,6 @@ This module allows your to run your Plack::Test tests against an external server instead of just against a local application through either mocked HTTP or a locally spawned server. -# %description -l pl.UTF-8 -# TODO - %prep %setup -q -n %{pdir}-%{pnam}-%{version} -- 2.44.0