- make spec %%{debug} ready.
Changed files:
perl-Math-PRSG.spec -> 1.8
Release: 4
License: GPL
Group: Development/Languages/Perl
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
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
BuildRequires: rpm-perlprov >= 3.0.3-16
BuildRequires: perl >= 5.6
%requires_eq perl
-%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} OPTIMIZE="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS}"
%install
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc examples/prsg_driver.pl
%files
%defattr(644,root,root,755)
%doc examples/prsg_driver.pl
%{perl_sitearch}/Math/PRSG.pm
%{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
%dir %{perl_sitearch}/auto/Math/PRSG
%{perl_sitearch}/auto/Math/PRSG/PRSG.bs
%attr(755,root,root) %{perl_sitearch}/auto/Math/PRSG/PRSG.so