From ed0986a36d55fcbf15e2d71fb2af1c0dd686f520 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 5 Apr 2010 04:05:27 +0000 Subject: [PATCH 1/5] Initialize branch F-12 for perl-Test-Requires --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..06de2d2 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-12 From ba501a31d61c17f6956ef1bec8fc50565d4dad4c Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Mon, 5 Apr 2010 04:38:09 +0000 Subject: [PATCH 2/5] initial import --- .cvsignore | 1 + import.log | 1 + perl-Test-Requires.spec | 60 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 63 insertions(+) create mode 100644 import.log create mode 100644 perl-Test-Requires.spec diff --git a/.cvsignore b/.cvsignore index e69de29..3429755 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Test-Requires-0.03.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..f8f4476 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Test-Requires-0_03-1_fc12:F-12:perl-Test-Requires-0.03-1.fc12.src.rpm:1270442284 diff --git a/perl-Test-Requires.spec b/perl-Test-Requires.spec new file mode 100644 index 0000000..34ee440 --- /dev/null +++ b/perl-Test-Requires.spec @@ -0,0 +1,60 @@ +Name: perl-Test-Requires +Summary: Checks to see if a given module can be loaded +Version: 0.03 +Release: 1%{?dist} +License: GPL+ or Artistic +Group: Development/Libraries +Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-%{version}.tar.gz +URL: http://search.cpan.org/dist/Test-Requires +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 +BuildRequires: perl(Filter::Util::Call) +BuildRequires: perl(Test::More) + +Requires: perl(Test::Builder::Module) + +%{?perl_default_filter} +%{?perl_default_subpackage_tests} + +%description +Test::Requires checks to see if the module can be loaded; if this fails +rather than failing tests this *skips all tests*. + +%prep +%setup -q -n Test-Requires-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +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 +# note the "skipped" warnings indicate success :) +make test + + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + +%changelog +* Sat Mar 20 2010 Chris Weyl 0.03-1 +- specfile by Fedora::App::MaintainerTools 0.006 + + diff --git a/sources b/sources index e69de29..eac8d06 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b260108348f27fb1409d45ea2086966e Test-Requires-0.03.tar.gz From 49327fe9f73d730e5116bace74c5c0b2e8a5c33b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 08:14:26 +0000 Subject: [PATCH 3/5] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 0aaee6d..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: perl-Test-Requires -# $Id$ -NAME := perl-Test-Requires -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 06de2d2..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-12 diff --git a/import.log b/import.log deleted file mode 100644 index f8f4476..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -perl-Test-Requires-0_03-1_fc12:F-12:perl-Test-Requires-0.03-1.fc12.src.rpm:1270442284 From c2ab9a1d3235d5ca73a100e3e205fab55b54e006 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Fri, 19 Nov 2010 10:12:10 +0000 Subject: [PATCH 4/5] Clean up and run release tests - Run release tests as well as standard test suite in %check - Drop no-longer-needed buildreq perl(Filter::Util::Call) - New buildreqs perl(Test::Perl::Critic), perl(Test::Pod), perl(Test::Spelling) --- perl-Test-Requires.spec | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/perl-Test-Requires.spec b/perl-Test-Requires.spec index daee442..4ff2e3b 100644 --- a/perl-Test-Requires.spec +++ b/perl-Test-Requires.spec @@ -1,7 +1,7 @@ Name: perl-Test-Requires Summary: Checks to see if a given module can be loaded Version: 0.06 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-%{version}.tar.gz @@ -11,8 +11,13 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 -BuildRequires: perl(Filter::Util::Call) -BuildRequires: perl(Test::More) >= 0.61 +BuildRequires: perl(Test::Builder::Module) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Perl::Critic) +BuildRequires: perl(Test::Pod) +# Need aspell-en for now, changing to hunspell-en +# when #592888 is resolved, probably in RHEL 6.1 +BuildRequires: perl(Test::Spelling), aspell-en Requires: perl(Test::Builder::Module) @@ -42,6 +47,7 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %check # note the "skipped" warnings indicate success :) make test +make test TEST_FILES="xt/*.t" %clean @@ -54,6 +60,11 @@ rm -rf %{buildroot} %{_mandir}/man3/*.3* %changelog +* Thu Nov 18 2010 Paul Howarth - 0.06-2 +- run release tests as well as standard test suite in %%check +- drop no-longer-needed buildreq perl(Filter::Util::Call) +- new buildreqs perl(Test::Perl::Critic), perl(Test::Pod), perl(Test::Spelling) + * Tue Oct 05 2010 Iain Arnell 0.06-1 - update to latest upstream version From 78fcee9bdd3153e40e824efd85ad904c56ce7618 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Wed, 17 Aug 2011 11:34:23 +0100 Subject: [PATCH 5/5] BR: hunspell-en rather than aspell-en (#731272) --- perl-Test-Requires.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/perl-Test-Requires.spec b/perl-Test-Requires.spec index 4ff2e3b..ebadbf0 100644 --- a/perl-Test-Requires.spec +++ b/perl-Test-Requires.spec @@ -1,7 +1,7 @@ Name: perl-Test-Requires Summary: Checks to see if a given module can be loaded Version: 0.06 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-%{version}.tar.gz @@ -15,9 +15,7 @@ BuildRequires: perl(Test::Builder::Module) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Perl::Critic) BuildRequires: perl(Test::Pod) -# Need aspell-en for now, changing to hunspell-en -# when #592888 is resolved, probably in RHEL 6.1 -BuildRequires: perl(Test::Spelling), aspell-en +BuildRequires: perl(Test::Spelling), hunspell-en Requires: perl(Test::Builder::Module) @@ -60,6 +58,9 @@ rm -rf %{buildroot} %{_mandir}/man3/*.3* %changelog +* Wed Aug 17 2011 Paul Howarth - 0.06-3 +- BR: hunspell-en rather than aspell-en (#731272) + * Thu Nov 18 2010 Paul Howarth - 0.06-2 - run release tests as well as standard test suite in %%check - drop no-longer-needed buildreq perl(Filter::Util::Call)