From 4724a7749525794330a754e036f40679bc6b1f12 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 25 Nov 2014 12:48:43 +0200 Subject: [PATCH] use generic url --- perl-GIFgraph.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/perl-GIFgraph.spec b/perl-GIFgraph.spec index 179c367..9437f6d 100644 --- a/perl-GIFgraph.spec +++ b/perl-GIFgraph.spec @@ -1,3 +1,4 @@ +%define pdir GIFgraph %include /usr/lib/rpm/macros.perl Summary: GIFgraph - graph plotting module Summary(pl.UTF-8): GIFgraph - moduł do rysowania wykresów @@ -9,12 +10,13 @@ License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/GIFgraph/GIFgraph-%{version}.tar.gz # Source0-md5: b4171f7d88c01acb0df5c5d515b24714 -BuildRequires: rpm-perlprov >= 4.1-13 +URL: http://search.cpan.org/dist/GIFgraph-/ +BuildRequires: ImageMagick-perl BuildRequires: ImageMagick-perl -BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: perl-GD BuildRequires: perl-GD-Graph -BuildRequires: ImageMagick-perl +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -39,7 +41,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -install samples/*.{gif,txt,dat,pl} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +cp -p samples/*.{gif,txt,dat,pl} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %clean rm -rf $RPM_BUILD_ROOT -- 2.44.0