]> git.pld-linux.org Git - packages/perl-Math-PRSG.git/blobdiff - perl-Math-PRSG.spec
- massive attack: change CPAN URLs
[packages/perl-Math-PRSG.git] / perl-Math-PRSG.spec
index 04ed226c7550a8f50d6ed708d4180e13b5df222e..fb36fcbe5464c2f0108435a39d72afea1211f222 100644 (file)
@@ -1,32 +1,32 @@
 %include       /usr/lib/rpm/macros.perl
-Summary:       Math-PRSG perl module
-Summary(pl):   Modu³ perla Math-PRSG
+%define        pdir    Math
+%define        pnam    PRSG
+Summary:       Math::PRSG perl module
+Summary(pl):   Modu³ perla Math::PRSG
 Name:          perl-Math-PRSG
 Version:       1.0
-Release:       5
+Release:       7
 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
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 Patch0:                %{name}-paths.patch
 BuildRequires: rpm-perlprov >= 3.0.3-16
 BuildRequires: perl >= 5.6
 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.
+Math::PRSG - interfejs do funkcji generowania pseudolosowych sekwencji.
 
 %prep
-%setup -q -n Math-PRSG-%{version}
+%setup -q -n %{pdir}-%{pnam}-%{version}
 %patch -p1
 
 %build
 perl Makefile.PL
-%{__make} OPTIMIZE="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}"
+%{__make} OPTIMIZE="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.141209 seconds and 4 git commands to generate.