From 6b1eccd4e06cea687625ba27dea372ab98cd2d2a Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman <emman...@seyman.fr> Date: Thu, 16 Jul 2015 15:58:49 +0200 Subject: Add perl(Math::Trig) as a BR and clean-up
diff --git a/Test-Routine-0.015-Test-Simple-0.98_05-outputs-subtest-names.patch b/Test-Routine-0.015-Test-Simple-0.98_05-outputs-subtest-names.patch deleted file mode 100644 index b9be78f..0000000 --- a/Test-Routine-0.015-Test-Simple-0.98_05-outputs-subtest-names.patch +++ /dev/null @@ -1,43 +0,0 @@ -From ebb614f44658cd8f63cb2f355e1e02ccd739b010 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> -Date: Mon, 5 Aug 2013 12:13:47 +0200 -Subject: [PATCH] Test-Simple-0.98_05 outputs subtest names -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -<https://rt.cpan.org/Public/Bug/Display.html?id=87615> -<https://rt.cpan.org/Public/Bug/Display.html?id=87616> - -Signed-off-by: Petr Písař <ppi...@redhat.com> ---- - t/mxms.t | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/t/mxms.t b/t/mxms.t -index ecb8008..28a82f1 100644 ---- a/t/mxms.t -+++ b/t/mxms.t -@@ -23,6 +23,9 @@ BEGIN { - }; - }, undef, "can create tests with methods"); - -+ ::test_out(" # Subtest: tests work"), -+ ::test_out(" # Subtest: foo bar") -+ if ($Test::More::VERSION >= 0.9805); - ::test_out(" ok 1 - The object does Test::Foo"); - ::test_out(" 1..1"); - ::test_out(" ok 1 - foo bar"); -@@ -44,6 +47,9 @@ BEGIN { - }; - }, undef, "can create tests with methods"); - -+ ::test_out(" # Subtest: tests work"), -+ ::test_out(" # Subtest: foobar") -+ if ($Test::More::VERSION >= 0.9805); - ::test_out(" ok 1 - The object does Test::Bar"); - ::test_out(" 1..1"); - ::test_out(" ok 1 - foobar"); --- -1.8.1.4 - diff --git a/perl-Test-Routine.spec b/perl-Test-Routine.spec index de776ac..008bd89 100644 --- a/perl-Test-Routine.spec +++ b/perl-Test-Routine.spec @@ -1,7 +1,7 @@ Name: perl-Test-Routine Summary: Composable units of assertion Version: 0.020 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL+ or Artistic URL: http://search.cpan.org/dist/Test-Routine/ Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Routine-%{version}.tar.gz @@ -10,7 +10,8 @@ BuildArch: noarch BuildRequires: perl(Carp) BuildRequires: perl(Class::MOP) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(Math::Trig) BuildRequires: perl(Moose) BuildRequires: perl(Moose::Exporter) BuildRequires: perl(Moose::Meta::Class) @@ -46,15 +47,12 @@ composable units of assertion. In other words: roles. %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=%{buildroot} - -find %{buildroot} -type f -name .packlist -exec rm -f {} \; - +make pure_install DESTDIR=%{buildroot} %{_fixperms} %{buildroot}/* @@ -70,6 +68,11 @@ make test %changelog +* Thu Jul 16 2015 Emmanuel Seyman <emman...@seyman.fr> - 0.020-5 +- Add perl(Math::Trig) as a BR +- Use DESTDIR instead of PERL_INSTALL_ROOT +- Pass NO_PACKLIST=1 to ExtUtils::MakeMaker + * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 0.020-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Test-Routine.git/commit/?h=f23&id=6b1eccd4e06cea687625ba27dea372ab98cd2d2a -- 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