[perl-Test-Requires] Update to 0.07

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

 



commit c5a63ef67e8129119d1c2e28a427746a8fcd6572
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Mon Jul 1 13:42:49 2013 +0100

    Update to 0.07
    
    - New upstream release 0.07
      - If the RELEASE_TESTING environment variable is true, then instead of
        skipping tests, Test::Requires bails out
      - Document that use Test::Requires "5.010" works
    - Switch to Module::Build flow
    - Classify buildreqs by usage
    - Package upstream's new LICENSE and README.md files
    - Drop obsoletes/provides of perl-Test-Requires-tests

 .gitignore              |    3 +-
 perl-Test-Requires.spec |   55 ++++++++++++++++++++++++-----------------------
 sources                 |    2 +-
 3 files changed, 30 insertions(+), 30 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index aaadb30..fb53bd1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-Test-Requires-0.03.tar.gz
-/Test-Requires-0.06.tar.gz
+/Test-Requires-[0-9.]*.tar.gz
diff --git a/perl-Test-Requires.spec b/perl-Test-Requires.spec
index 07ad002..a9607f3 100644
--- a/perl-Test-Requires.spec
+++ b/perl-Test-Requires.spec
@@ -3,43 +3,36 @@
 
 Name:		perl-Test-Requires
 Summary:	Checks to see if a given module can be loaded
-Version:	0.06
-Release:	10%{?dist}
+Version:	0.07
+Release:	1%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/Test-Requires
 Source0:	http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
+# Module Build
+BuildRequires:	perl(CPAN::Meta)
+BuildRequires:	perl(CPAN::Meta::Prereqs)
+BuildRequires:	perl(Module::Build) >= 0.38
+# Module
 BuildRequires:	perl(base)
-BuildRequires:	perl(Cwd)
-BuildRequires:	perl(Data::Dumper)
-BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	perl(Test::Builder::Module)
+# Test Suite
+BuildRequires:	perl(Data::Dumper)
 BuildRequires:	perl(Test::More) >= 0.61
-%if ! ( 0%{?rhel} )
+# Extra Tests
+%if 0%{!?perl_bootstrap:1} && 0%{!?rhel:1}
 # Test::Perl::Critic -> Perl::Critic -> PPIx::Regexp -> Test::Kwalitee ->
 #   Module::CPANTS::Analyse -> Test::Warn -> Sub::Uplevel -> Pod::Wordlist::hanekomu -> Test::Requires
-%if 0%{!?perl_bootstrap:1}
 BuildRequires:	perl(Test::Perl::Critic)
 %endif
-BuildRequires:	perl(Test::Pod)
-BuildRequires:	perl(Test::Spelling)
-%if %(perl -e 'print $] >= 5.010 ? 1 : 0;')
-BuildRequires:	hunspell-en
-%else
-BuildRequires:	aspell-en
-%endif
-%endif
+# Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 %if ! %{rpm49}
 Requires:	perl(Test::Builder::Module)
 %endif
 
-# Obsolete/provide old -tests subpackage (can be removed in F19 development cycle)
-Obsoletes:	%{name}-tests < %{version}-%{release}
-Provides:	%{name}-tests = %{version}-%{release}
-
 %description
 Test::Requires checks to see if the module can be loaded.
 
@@ -49,29 +42,37 @@ If this fails, rather than failing tests this skips all tests.
 %setup -q -n Test-Requires-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Build.PL installdirs=vendor
+./Build
 
 %install
 rm -rf %{buildroot}
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-%{_fixperms} %{buildroot}
+./Build install destdir=%{buildroot} create_packlist=0
 
 %check
 # note the "skipped" warnings indicate success :)
-make test
-make test TEST_FILES="xt/*.t"
+./Build test
+./Build test --test_files="xt/*.t"
 
 %clean
 rm -rf %{buildroot}
 
 %files
-%doc Changes README t/ xt/
+%doc Changes LICENSE README.md t/ xt/
 %{perl_vendorlib}/Test/
 %{_mandir}/man3/Test::Requires.3pm*
 
 %changelog
+* Mon Jul  1 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.07-1
+- Update to 0.07
+  - If the RELEASE_TESTING environment variable is true, then instead of
+    skipping tests, Test::Requires bails out
+  - Document that use Test::Requires "5.010" works
+- Switch to Module::Build flow
+- Classify buildreqs by usage
+- Package upstream's new LICENSE and README.md files
+- Drop obsoletes/provides of perl-Test-Requires-tests
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.06-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 3b92000..d5c863a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6ce0da3cceadb6420d4c3c5bb69f64db  Test-Requires-0.06.tar.gz
+20bdd194fd0cf59eb0cc9349a68dbaa6  Test-Requires-0.07.tar.gz
--
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