|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Name: perl-Getopt-Long-Descriptive
|
|
|
|
|
Summary: Getopt::Long with usage text
|
|
|
|
|
Version: 0.090
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Release: 4%{?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
|
|
|
|
@ -21,9 +21,12 @@ 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}
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
%{?perl_default_subpackage_tests}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Convenient wrapper for Getopt::Long and program usage output.
|
|
|
|
@ -31,6 +34,9 @@ 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
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
@ -47,11 +53,14 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%doc Changes README t/
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 0.090-4
|
|
|
|
|
- drop tests subpackage; move tests to main package documentation
|
|
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.090-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|