X-Git-Url: https://git.pld-linux.org/?p=packages%2Fperl-Tie-LLHash.git;a=blobdiff_plain;f=perl-Tie-LLHash.spec;h=a8dd14aeb7cababdd3da57b1b1c3ccf728bc4b60;hp=02cfa860ab85d8adffeef58e9ecd47c7db2089d8;hb=HEAD;hpb=d4726ad70160f75f4c8a0f657b4e8e69beb8d80a diff --git a/perl-Tie-LLHash.spec b/perl-Tie-LLHash.spec index 02cfa86..a8dd14a 100644 --- a/perl-Tie-LLHash.spec +++ b/perl-Tie-LLHash.spec @@ -1,16 +1,21 @@ -%include /usr/lib/rpm/macros.perl -%define pdir Tie -%define pnam LLHash +# +# Conditional build: +%bcond_without tests # do not perform "make test" + +%define pdir Tie +%define pnam LLHash Summary: Tie::LLHash Perl module - ordered hashes -Summary(pl): Modu³ Perla Tie::LLHash - uporz±dkowane hasze +Summary(pl.UTF-8): Moduł Perla Tie::LLHash - uporządkowane hasze Name: perl-Tie-LLHash -Version: 1.002 -Release: 9 -License: GPL +Version: 1.003 +Release: 2 +# same as perl +License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz -# Source0-md5: 3c793c445fb1b59ffbd738ea9587c304 -BuildRequires: perl-devel >= 5.6 +# Source0-md5: b5890351e3e4a1eab89267d9aa410147 +URL: http://search.cpan.org/dist/Tie-LLHash/ +BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -20,10 +25,10 @@ This class implements an ordered hash-like object. It's a cross between a Perl hash and a linked list. Use it whenever you want the speed and structure of a Perl hash, but the orderedness of a list. -%description -l pl -Ta klasa jest implementacj± obiektu podobnego do hasza. Jest on -skrzy¿owaniem pomiêdzy perlowym haszem a list±. Przydaje siê kiedy -potrzeba szybko¶ci i struktury perlowych haszy, ale uporz±dkowania +%description -l pl.UTF-8 +Ta klasa jest implementacją obiektu podobnego do hasza. Jest on +skrzyżowaniem pomiędzy perlowym haszem a listą. Przydaje się kiedy +potrzeba szybkości i struktury perlowych haszy, ale uporządkowania listy. %prep @@ -34,10 +39,13 @@ listy. INSTALLDIRS=vendor %{__make} +%{?with_tests:%{__make} test} + %install rm -rf $RPM_BUILD_ROOT -%{__make} install DESTDIR=$RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT