diff --git a/.gitignore b/.gitignore index 7cd2495..98616c7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ Getopt-Long-Descriptive-0.084.tar.gz /Getopt-Long-Descriptive-0.091.tar.gz /Getopt-Long-Descriptive-0.092.tar.gz /Getopt-Long-Descriptive-0.093.tar.gz +/Getopt-Long-Descriptive-0.098.tar.gz diff --git a/perl-Getopt-Long-Descriptive.spec b/perl-Getopt-Long-Descriptive.spec index 3b6e7d3..4ac00ec 100644 --- a/perl-Getopt-Long-Descriptive.spec +++ b/perl-Getopt-Long-Descriptive.spec @@ -1,32 +1,34 @@ Name: perl-Getopt-Long-Descriptive Summary: Getopt::Long with usage text -Version: 0.093 -Release: 6%{?dist} +Version: 0.098 +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Getopt-Long-Descriptive-%{version}.tar.gz URL: http://search.cpan.org/dist/Getopt-Long-Descriptive/ -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) BuildArch: noarch - +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: BuildRequires: perl(Carp) BuildRequires: perl(File::Basename) -BuildRequires: perl(File::Find) -BuildRequires: perl(File::Temp) -BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Getopt::Long) >= 2.33 BuildRequires: perl(List::Util) +BuildRequires: perl(overload) BuildRequires: perl(Params::Validate) >= 0.97 +BuildRequires: perl(Scalar::Util) BuildRequires: perl(Sub::Exporter) >= 0.972 BuildRequires: perl(Sub::Exporter::Util) -BuildRequires: perl(overload) -BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) - -# obsolete/provide old tests subpackage -# can be removed during F19 development cycle -Obsoletes: %{name}-tests < 0.090-4 -Provides: %{name}-tests = %{version}-%{release} +# Tests: +BuildRequires: perl(File::Spec) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(Test::Warnings) >= 0.005 +# Optional tests: +# CPAN::Meta >= 2.120900 not useful %{?perl_default_filter} @@ -36,29 +38,28 @@ Convenient wrapper for Getopt::Long and program usage output. %prep %setup -q -n Getopt-Long-Descriptive-%{version} -# silence rpmlint warnings -sed -i '1s,#!.*perl,#!%{__perl},' t/*.t - %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} - find %{buildroot} -type f -name .packlist -exec rm -f {} \; - %{_fixperms} %{buildroot}/* %check make test %files -%doc Changes README t/ +%doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Thu Dec 04 2014 Petr Pisar - 0.098-1 +- 0.098 bump +- Stop providing dummy tests sub-package symbol + * Fri Aug 29 2014 Jitka Plesnikova - 0.093-6 - Perl 5.20 rebuild diff --git a/sources b/sources index c4ca8fd..3a7bc89 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3610685889c885f13fe3f4ed1360e078 Getopt-Long-Descriptive-0.093.tar.gz +c6a8f5b8a3a1ddf80015aa6e302a50cc Getopt-Long-Descriptive-0.098.tar.gz