commit cf532fc7e7a2538f1d9d30242212bc9399364296 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sun Jan 22 10:31:17 2012 +0100 drop tests subpackage perl-Getopt-Long-Descriptive.spec | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) --- diff --git a/perl-Getopt-Long-Descriptive.spec b/perl-Getopt-Long-Descriptive.spec index e60e3e3..f6c61d3 100644 --- a/perl-Getopt-Long-Descriptive.spec +++ b/perl-Getopt-Long-Descriptive.spec @@ -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@xxxxxxxxx> 0.090-4 +- drop tests subpackage; move tests to main package documentation + * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.090-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel