drop tests subpackage

epel9
Iain Arnell 13 years ago
parent 4ca9690a34
commit cf532fc7e7

@ -1,7 +1,7 @@
Name: perl-Getopt-Long-Descriptive Name: perl-Getopt-Long-Descriptive
Summary: Getopt::Long with usage text Summary: Getopt::Long with usage text
Version: 0.090 Version: 0.090
Release: 3%{?dist} Release: 4%{?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
@ -21,9 +21,12 @@ BuildRequires: perl(overload)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) 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_filter}
%{?perl_default_subpackage_tests}
%description %description
Convenient wrapper for Getopt::Long and program usage output. Convenient wrapper for Getopt::Long and program usage output.
@ -31,6 +34,9 @@ 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}
@ -47,11 +53,14 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
make test make test
%files %files
%doc Changes README %doc Changes README t/
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

Loading…
Cancel
Save