[perl-MooseX-MethodAttributes] drop tests subpackage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 626b9a736f31a24dbe54cc16e28c8e585ef5a9e0
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Sun Jan 22 11:57:07 2012 +0100

    drop tests subpackage

 perl-MooseX-MethodAttributes.spec |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/perl-MooseX-MethodAttributes.spec b/perl-MooseX-MethodAttributes.spec
index 1d5e909..732ac21 100644
--- a/perl-MooseX-MethodAttributes.spec
+++ b/perl-MooseX-MethodAttributes.spec
@@ -1,7 +1,7 @@
 Name:           perl-MooseX-MethodAttributes
 Summary:        Introspect your method code attributes
 Version:        0.26
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MooseX-MethodAttributes-%{version}.tar.gz
@@ -18,8 +18,12 @@ BuildRequires:  perl(namespace::clean) >= 0.10
 BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::More) >= 0.88
 
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 0.26-3
+Provides:       %{name}-tests = %{version}-%{release}
+
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 This module allows code attributes of methods to be introspected using
@@ -29,6 +33,9 @@ Moose meta method objects.
 %prep
 %setup -q -n MooseX-MethodAttributes-%{version}
 
+# silence rpmlint warning
+sed -i '1s,#!.*perl,#!%{__perl},' t/*.t
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -44,11 +51,14 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 make test
 
 %files
-%doc Changes LICENSE README
+%doc Changes LICENSE README t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.26-3
+- drop tests subpackage; move tests to main package documentation
+
 * Tue Jan 17 2012 Iain Arnell <iarnell@xxxxxxxxx> - 0.26-2
 - rebuilt again for F17 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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux