+%include /usr/lib/rpm/macros.perl
Summary: Math-PRSG perl module
Summary(pl): Modu³ perla Math-PRSG
Name: perl-Math-PRSG
Group(pl): Programowanie/Jêzyki/Perl
Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Math/Math-PRSG-%{version}.tar.gz
Patch: perl-Math-PRSG-paths.patch
-BuildRequires: perl >= 5.005_03-10
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildRequires: perl >= 5.005_03-14
%requires_eq perl
Requires: %{perl_sitearch}
BuildRoot: /tmp/%{name}-%{version}-root
%build
perl Makefile.PL
-make
+make OPTIMIZE="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc examples/prsg-driver.pl
+%doc examples/prsg_driver.pl
%{perl_sitearch}/Math/PRSG.pm