From eb0205c0514b4d1e36f09fcd3ab8541b07e17358 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emman...@seyman.fr>
Date: Thu, 20 Aug 2015 17:08:28 +0200
Subject: Active release tests and clean up spec file


diff --git a/perl-CatalystX-REPL.spec b/perl-CatalystX-REPL.spec
index 78a40e0..9bb01c6 100644
--- a/perl-CatalystX-REPL.spec
+++ b/perl-CatalystX-REPL.spec
@@ -1,25 +1,24 @@
 Name:           perl-CatalystX-REPL
 Version:        0.04
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Read-eval-print-loop for debugging your Catalyst application
 License:        GPL+ or Artistic
-Group:          Development/Libraries
+
 URL:            http://search.cpan.org/dist/CatalystX-REPL/
 Source0:        
http://www.cpan.org/authors/id/F/FL/FLORA/CatalystX-REPL-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl(Carp::REPL)
 BuildRequires:  perl(Catalyst) >= 5.80006
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Pod::Coverage::TrustPod)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Expect)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl(namespace::autoclean)
 Requires:       perl(Catalyst) >= 5.80006
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
-# Test::Expect and/or Devel::REPL is failing under mock 1.1.8 in koji
-# all is fine locally with mock 1.1.14, though
-%bcond_with expect_tests
-
 %{?perl_default_filter}
 
 %description
@@ -35,31 +34,28 @@ variables are set.
 %setup -q -n CatalystX-REPL-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
-# Test::Expect and/or Devel::REPL is failing under mock 1.1.8 in koji
-# all is fine locally with mock 1.1.14, though
-%if ! %{with expect_tests}
-grep -lZ 'Test::Expect' t/*.t |xargs -0 rm -f
-%endif
-make test
+RELEASE_TESTING=1 make test
 
 %files
-%doc Changes LICENSE README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%doc Changes README
+%license LICENSE
+%{perl_vendorlib}/Catalyst*
+%{_mandir}/man3/Catalyst*
 
 %changelog
+* Thu Aug 20 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 0.04-12
+- Active release tests
+- Clean up spec file
+- Use %%license macro
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 0.04-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-CatalystX-REPL.git/commit/?h=master&id=eb0205c0514b4d1e36f09fcd3ab8541b07e17358
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to