From 7e26262c7542832b41bc2f7e6bd6ed809542f483 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 25 Nov 2014 10:27:05 +0200 Subject: [PATCH] use generic url --- perl-CGI-Graph.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/perl-CGI-Graph.spec b/perl-CGI-Graph.spec index 5d77160..d3c508f 100644 --- a/perl-CGI-Graph.spec +++ b/perl-CGI-Graph.spec @@ -1,10 +1,10 @@ # # Conditional build: %bcond_without tests # do not perform "make test" -# -%include /usr/lib/rpm/macros.perl + %define pdir CGI %define pnam Graph +%include /usr/lib/rpm/macros.perl Summary: CGI::Graph - create interactive CGI-based graphs Summary(pl.UTF-8): CGI::Graph - tworzenie interaktywnych wykresów w oparciu o CGI Name: perl-CGI-Graph @@ -15,14 +15,15 @@ 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: e18432d8462620a390ac8f686977ad43 +URL: http://search.cpan.org/dist/CGI-Graph/ BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 %if %{with tests} BuildRequires: perl-CGI BuildRequires: perl-Data-Table BuildRequires: perl-GD BuildRequires: perl-GD-Graph %endif -BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -- 2.44.0