[packages/perl-Math-Currency] Up to 0.53
arekm
arekm at pld-linux.org
Thu Nov 19 11:52:57 CET 2026
commit 51bf73cd04346794b819522ddf2ff9aa9d981e1e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 19 00:43:28 2026 +0100
Up to 0.53
perl-Math-Currency.spec | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/perl-Math-Currency.spec b/perl-Math-Currency.spec
index 66b88be..83dba69 100644
--- a/perl-Math-Currency.spec
+++ b/perl-Math-Currency.spec
@@ -7,20 +7,21 @@
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
-Version: 0.47
-Release: 2
+Version: 0.53
+Release: 1
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
+Source0: http://www.cpan.org/modules/by-authors/id/M/MS/MSCHOUT/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 32c06da7d919ff1e28d25c136bea8b38
URL: http://search.cpan.org/dist/Math-Currency/
-BuildRequires: perl(Math::BigFloat) >= 1.27
+BuildRequires: perl(Math::BigFloat) >= 1.60
+BuildRequires: perl-Encode-Locale
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::More) >= 0.02
+BuildRequires: perl(Test::More) >= 0.94
+BuildRequires: perl-Test-More-UTF8
BuildRequires: perl-Test-Simple
%endif
BuildArch: noarch
@@ -56,17 +57,17 @@ Math::BigInt.
%setup -q -n %{pdir}-%{pnam}-%{version}
%build
-%{__perl} Build.PL \
- installdirs=vendor \
- destdir=$RPM_BUILD_ROOT
-%{__perl} Build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
-%{?with_tests:%{__perl} Build test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT
-%{__perl} Build install
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Math-Currency.git/commitdiff/51bf73cd04346794b819522ddf2ff9aa9d981e1e
More information about the pld-cvs-commit
mailing list