[packages/perl-GD-Dashboard] use generic url
glen
glen at pld-linux.org
Tue Nov 25 11:48:24 CET 2014
commit 8c3f946292800744c4ab39ce3508e879994795d8
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 12:48:21 2014 +0200
use generic url
perl-GD-Dashboard.spec | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/perl-GD-Dashboard.spec b/perl-GD-Dashboard.spec
index 57d9854..ee40d3c 100644
--- a/perl-GD-Dashboard.spec
+++ b/perl-GD-Dashboard.spec
@@ -1,6 +1,6 @@
-%include /usr/lib/rpm/macros.perl
%define pdir GD
%define pnam Dashboard
+%include /usr/lib/rpm/macros.perl
Summary: GD::Dashboard Perl module - create JPEGs of meters and dials
Summary(pl.UTF-8): Moduł Perla GD::Dashboard - tworzenie JPEG-ów z licznikami i zegarami
Name: perl-GD-Dashboard
@@ -11,8 +11,9 @@ 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: 1875cf4b9aab046e8ff43c3096859c2b
-BuildRequires: perl-devel >= 1:5.8.0
+URL: http://search.cpan.org/dist/GD-Dashboard/
BuildRequires: perl-GD
+BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,8 +25,8 @@ information.
%description -l pl.UTF-8
Moduł GD::Dashboard ma za zadanie dostarczenie szybkiego i łatwego
-sposobu na tworzenie desek rozdzielczych lub kokpitów z JPEG-ami
-do wyświetlania kluczowych informacji.
+sposobu na tworzenie desek rozdzielczych lub kokpitów z JPEG-ami do
+wyświetlania kluczowych informacji.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
@@ -42,7 +43,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-GD-Dashboard.git/commitdiff/8c3f946292800744c4ab39ce3508e879994795d8
More information about the pld-cvs-commit
mailing list