]> git.pld-linux.org Git - packages/perl-Math-PRSG.git/commitdiff
- spec adapterized, perl-Math-PRSG-1_0-4
authorkloczek <kloczek@pld-linux.org>
Fri, 19 Jan 2001 01:40:35 +0000 (01:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- make spec %%{debug} ready.

Changed files:
    perl-Math-PRSG.spec -> 1.8

perl-Math-PRSG.spec

index 7aaeac46bd7b2cd0bacca480a7612ccb3c654f47..a5b243cfbac9358bc9499639caa132fa365d3b39 100644 (file)
@@ -6,9 +6,10 @@ Version:       1.0
 Release:       4
 License:       GPL
 Group:         Development/Languages/Perl
+Group(de):     Entwicklung/Sprachen/Perl
 Group(pl):     Programowanie/Jêzyki/Perl
 Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/Math/Math-PRSG-%{version}.tar.gz
-Patch0:                perl-Math-PRSG-paths.patch
+Patch0:                %{name}-paths.patch
 BuildRequires: rpm-perlprov >= 3.0.3-16
 BuildRequires: perl >= 5.6
 %requires_eq   perl
@@ -27,13 +28,12 @@ Math-PRSG - interfejs do funkcji generowania pseudolosowych sekwencji.
 
 %build
 perl Makefile.PL
-%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} OPTIMIZE="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
 
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -41,11 +41,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc examples/prsg_driver.pl
-
 %{perl_sitearch}/Math/PRSG.pm
-
 %dir %{perl_sitearch}/auto/Math/PRSG
 %{perl_sitearch}/auto/Math/PRSG/PRSG.bs
 %attr(755,root,root) %{perl_sitearch}/auto/Math/PRSG/PRSG.so
-
 %{_mandir}/man3/*
This page took 0.067247 seconds and 4 git commands to generate.