]> git.pld-linux.org Git - packages/perl-Math-PRSG.git/blobdiff - perl-Math-PRSG.spec
- added using %%{__make} macro.
[packages/perl-Math-PRSG.git] / perl-Math-PRSG.spec
index 9a2d216dd1ff1902df893cfe986636776842a50b..faa297d0f8d2a81f0232e718cfe5ea0bcc7de6fe 100644 (file)
@@ -4,19 +4,19 @@ Summary(pl):  Modu
 Name:          perl-Math-PRSG
 Version:       1.0
 Release:       3
-Copyright:     GPL
+License:       GPL
 Group:         Development/Languages/Perl
 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
+Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/Math/Math-PRSG-%{version}.tar.gz
+Patch0:                perl-Math-PRSG-paths.patch
 BuildRequires: rpm-perlprov >= 3.0.3-16
 BuildRequires: perl >= 5.005_03-14
 %requires_eq   perl
 Requires:      %{perl_sitearch}
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Math-PRSG - interface to pseudo random sequence generator function. 
+Math-PRSG - interface to pseudo random sequence generator function.
 
 %description -l pl
 Math-PRSG - interfejs do funkcji generowania pseudolosowych sekwencji.
@@ -27,11 +27,11 @@ Math-PRSG - interfejs do funkcji generowania pseudolosowych sekwencji.
 
 %build
 perl Makefile.PL
-make OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 strip --strip-unneeded $RPM_BUILD_ROOT/%{perl_sitearch}/auto/Math/PRSG/*.so
 
This page took 0.167983 seconds and 4 git commands to generate.