From: Elan Ruusamäe Date: Tue, 25 Nov 2014 08:27:05 +0000 (+0200) Subject: use generic url X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=7e26262c7542832b41bc2f7e6bd6ed809542f483;p=packages%2Fperl-CGI-Graph.git use generic url --- 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)