From 1b38ae10ba23f60368bcc694e8ba650a1ec803e8 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Mon, 5 Apr 2010 04:37:46 +0000 Subject: [PATCH 1/3] 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..39f4016 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Test-Requires-0_03-1_fc12:HEAD:perl-Test-Requires-0.03-1.fc12.src.rpm:1270442261 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 f3319645c549e781d809dd56477d189670d47c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Thu, 6 May 2010 22:49:04 +0000 Subject: [PATCH 2/3] - Mass rebuild with perl-5.12.0 --- perl-Test-Requires.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-Test-Requires.spec b/perl-Test-Requires.spec index 34ee440..42be436 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.03 -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 @@ -54,6 +54,9 @@ rm -rf %{buildroot} %{_mandir}/man3/*.3* %changelog +* Fri May 07 2010 Marcela Maslanova - 0.03-2 +- Mass rebuild with perl-5.12.0 + * Sat Mar 20 2010 Chris Weyl 0.03-1 - specfile by Fedora::App::MaintainerTools 0.006 From 9ce1a07cc475757ef4c8cd4e962aee7df0075308 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 08:14:27 +0000 Subject: [PATCH 3/3] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- import.log | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile 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/import.log b/import.log deleted file mode 100644 index 39f4016..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -perl-Test-Requires-0_03-1_fc12:HEAD:perl-Test-Requires-0.03-1.fc12.src.rpm:1270442261