X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=perl-Data-OptList.spec;h=cc6ae214740de26caf9fcf3b2dfbe2a71bd4d640;hb=HEAD;hp=f3a128672e5f21b3ae9e5d98ab112c1cbfae4cb0;hpb=3797e292ee0fd92127e0090f70c79bc89c26dfa3;p=packages%2Fperl-Data-OptList.git diff --git a/perl-Data-OptList.spec b/perl-Data-OptList.spec index f3a1286..cc6ae21 100644 --- a/perl-Data-OptList.spec +++ b/perl-Data-OptList.spec @@ -1,26 +1,29 @@ # # Conditional build: -%bcond_without tests # do not perform "make test" +%bcond_without tests # unit tests # -%include /usr/lib/rpm/macros.perl %define pdir Data %define pnam OptList Summary: Data::OptList - parse and validate simple name/value option pairs Summary(pl.UTF-8): Data::OptList - analiza i sprawdzanie poprawności prostych par opcji nazwa/wartość Name: perl-Data-OptList -Version: 0.104 +Version: 0.114 Release: 1 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/Data/%{pdir}-%{pnam}-%{version}.tar.gz -# Source0-md5: 95620446a0e49917b01a789e8a60cdd3 -URL: http://search.cpan.org/dist/Data-OptList/ -BuildRequires: perl-devel >= 1:5.8.0 +# Source0-md5: d63ec5d446eff1aaa5ba92bc13a52b77 +URL: https://metacpan.org/release/Data-OptList +BuildRequires: perl-ExtUtils-MakeMaker >= 6.78 +BuildRequires: perl-devel >= 1:5.12.0 BuildRequires: rpm-perlprov >= 4.1-13 +BuildRequires: rpmbuild(macros) >= 1.745 %if %{with tests} BuildRequires: perl-Params-Util >= 0.14 -BuildRequires: perl-Sub-Install >= 0.92 +BuildRequires: perl-Scalar-List-Utils +BuildRequires: perl-Sub-Install >= 0.921 +BuildRequires: perl-Test-Simple >= 0.96 %endif BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -53,5 +56,5 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc Changes README -%{perl_vendorlib}/Data/*.pm -%{_mandir}/man3/* +%{perl_vendorlib}/Data/OptList.pm +%{_mandir}/man3/Data::OptList.3pm*