From: kloczek Date: Fri, 19 Jan 2001 01:40:35 +0000 (+0000) Subject: - spec adapterized, X-Git-Tag: perl-Math-PRSG-1_0-4 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=961c3c492a8217df67e24c9f60c45c102227b41c;p=packages%2Fperl-Math-PRSG.git - spec adapterized, - make spec %%{debug} ready. Changed files: perl-Math-PRSG.spec -> 1.8 --- diff --git a/perl-Math-PRSG.spec b/perl-Math-PRSG.spec index 7aaeac4..a5b243c 100644 --- a/perl-Math-PRSG.spec +++ b/perl-Math-PRSG.spec @@ -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/*