[packages/perl-Math-Currency] use generic url
glen
glen at pld-linux.org
Tue Nov 25 20:54:55 CET 2014
commit 7fe93db668f52ce3ee142d846b356d01f86c8014
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 21:54:52 2014 +0200
use generic url
perl-Math-Currency.spec | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/perl-Math-Currency.spec b/perl-Math-Currency.spec
index ada98db..773fc87 100644
--- a/perl-Math-Currency.spec
+++ b/perl-Math-Currency.spec
@@ -1,10 +1,10 @@
#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Math
%define pnam Currency
+%include /usr/lib/rpm/macros.perl
Summary: Math::Currency - exact currency math with formatting and rounding
Summary(pl.UTF-8): Math::Currency - dokładne obliczenia na walutach z formatowaniem i zaokrąglaniem
Name: perl-Math-Currency
@@ -14,15 +14,16 @@ License: GPL v1+ or Artistic except commercial distribution on CD-ROM etc.
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 545e37f755c50385df2dec5b8d55239b
-BuildRequires: perl-Math-BigInt
+URL: http://search.cpan.org/dist/Math-Currency/
BuildRequires: perl(Math::BigFloat) >= 1.27
+BuildRequires: perl-Math-BigInt
BuildRequires: perl-Module-Build
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
-BuildRequires: perl-Test-Simple
BuildRequires: perl(Test::More) >= 0.02
+BuildRequires: perl-Test-Simple
%endif
-BuildRequires: perl-devel >= 1:5.8.0
-BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Math-Currency.git/commitdiff/7fe93db668f52ce3ee142d846b356d01f86c8014
More information about the pld-cvs-commit
mailing list