[svn] r7481 - trunk/rpms/perl-Math-Integral-Romberg

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Thu Jul 16 12:57:05 CEST 2009


Author: cmr
Date: 2009-07-16 11:57:04 +0100 (Thu, 16 Jul 2009)
New Revision: 7481

Modified:
   trunk/rpms/perl-Math-Integral-Romberg/perl-Math-Integral-Romberg.spec
Log:
Updated to version 0.04.


Modified: trunk/rpms/perl-Math-Integral-Romberg/perl-Math-Integral-Romberg.spec
===================================================================
--- trunk/rpms/perl-Math-Integral-Romberg/perl-Math-Integral-Romberg.spec	2009-07-16 09:40:09 UTC (rev 7480)
+++ trunk/rpms/perl-Math-Integral-Romberg/perl-Math-Integral-Romberg.spec	2009-07-16 10:57:04 UTC (rev 7481)
@@ -6,22 +6,21 @@
 %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
 
 %define real_name Math-Integral-Romberg
-%define real_version 0_02
 
 Summary: Scalar numerical integration
 Name: perl-Math-Integral-Romberg
-Version: 0.02
-Release: 1.2
+Version: 0.04
+Release: 1
 License: Artistic/GPL
 Group: Applications/CPAN
 URL: http://search.cpan.org/dist/Math-Integral-Romberg/
 
-Source: http://www.cpan.org/modules/by-module/Math/Math-Integral-Romberg-0_02.tar.gz
+Source: http://www.cpan.org/modules/by-module/Math/Math-Integral-Romberg-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildArch: noarch
 BuildRequires: perl
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Module::Build)
 
 %description
 Romberg integration is used for estimating the integral of a scalar
@@ -32,12 +31,12 @@
 %setup -n %{real_name}-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
-%{__make} %{?_smp_mflags}
+%{__perl} Build.PL --installdirs vendor --destdir %{buildroot}
+./Build
 
 %install
 %{__rm} -rf %{buildroot}
-%{__make} pure_install
+./Build pure_install
 
 ### Clean up buildroot
 find %{buildroot} -name .packlist -exec %{__rm} {} \;
@@ -52,6 +51,9 @@
 %{perl_vendorlib}/Math/Integral/Romberg.pm
 
 %changelog
+* Thu Jul 16 2009 Christoph Maser <cmr at financial.com> - 0.04-1
+- Updated to version 0.04.
+
 * Wed Mar 22 2006 Dries Verachtert <dries at ulyssis.org> - 0.02-1.2
 - Rebuild for Fedora Core 5.
 




More information about the commits mailing list