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