From 2fa2144d7030e6763e5172f529cec1b63c506148 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:40:54 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 0.60-2mamba;Mon Nov 12 2012] --- README.md | 2 ++ perl-Test-Base.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 perl-Test-Base.spec diff --git a/README.md b/README.md index 8075b96..906d543 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Test-Base +Test::Base - A Data Driven Testing Framework. + diff --git a/perl-Test-Base.spec b/perl-Test-Base.spec new file mode 100644 index 0000000..d6914e0 --- /dev/null +++ b/perl-Test-Base.spec @@ -0,0 +1,74 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Test-Base +Version: 0.60 +Release: 2mamba +Summary: Test::Base - A Data Driven Testing Framework +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/Test/Test-Base-%{version}.tar.gz +License: Artistic +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRequires: perl-Spiffy +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +# FIXME +#BuildRequires: perl-Text-Diff + +%description +Test::Base - A Data Driven Testing Framework. + +%prep +%setup -q -n Test-Base-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Mon Nov 12 2012 Silvan Calarco 0.60-2mamba +- perl 5.16 mass rebuild + +* Mon Apr 04 2011 Automatic Build System 0.60-1mamba +- automatic update by autodist + +* Fri Aug 28 2009 Automatic Build System 0.59-1mamba +- automatic update by autodist + +* Wed Apr 01 2009 Silvan Calarco 0.58-1mamba +- automatic update by autodist + +* Fri Feb 06 2009 Silvan Calarco 0.55-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 0.54-2mamba +- automatic rebuild by autodist + +* Mon Nov 12 2007 Aleph0 0.54-1mamba +- package created by autospec