2007-01-15 23:31:55 +00:00
|
|
|
#
|
2007-08-07 07:28:00 +00:00
|
|
|
# spec file for package perl-Test-Base (Version 0.54)
|
2007-01-15 23:31:55 +00:00
|
|
|
#
|
2007-08-07 07:28:00 +00:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:31:55 +00:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-Test-Base
|
|
|
|
BuildRequires: perl-Spiffy >= 0.3
|
|
|
|
URL: http://search.cpan.org/~ingy/Test-Base
|
|
|
|
License: Artistic License
|
2007-08-07 07:28:00 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2007-01-15 23:31:55 +00:00
|
|
|
Requires: perl = %{perl_version} perl-Spiffy >= 0.3
|
|
|
|
Autoreqprov: on
|
|
|
|
Summary: Perl module for easily writing own test framework base classes.
|
2007-08-07 07:28:00 +00:00
|
|
|
Version: 0.54
|
2007-01-15 23:31:55 +00:00
|
|
|
Release: 1
|
|
|
|
Source: Test-Base-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module gives you a way to write your own test framework base class
|
|
|
|
that is trivial. In fact it is as simple as two lines. It extends
|
2007-08-07 07:28:00 +00:00
|
|
|
Test::More and exports all of its functions
|
2007-01-15 23:31:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Brian Ingerson <INGY@cpan.org>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n Test-Base-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
2007-08-07 07:28:00 +00:00
|
|
|
|
|
|
|
%check
|
2007-01-15 23:31:55 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README Changes
|
|
|
|
%dir %{perl_vendorlib}/Test
|
|
|
|
%dir %{perl_vendorlib}/Test/Base
|
|
|
|
%dir %{perl_vendorarch}/auto/Test
|
|
|
|
%dir %{perl_vendorarch}/auto/Test/Base
|
|
|
|
%doc %{_mandir}/man3/Test::Base.3pm.gz
|
|
|
|
%doc %{_mandir}/man3/Test::Base::Filter.3pm.gz
|
|
|
|
%doc %{_mandir}/man3/Module::Install::TestBase.3pm.gz
|
|
|
|
%{perl_vendorlib}/Test/Base.pm
|
|
|
|
%{perl_vendorlib}/Test/Base/Filter.pm
|
|
|
|
%dir %{perl_vendorlib}/Module
|
|
|
|
%dir %{perl_vendorlib}/Module/Install
|
|
|
|
%{perl_vendorlib}/Module/Install/TestBase.pm
|
|
|
|
%{perl_vendorarch}/auto/Test/Base/.packlist
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2007-08-07 07:28:00 +00:00
|
|
|
%changelog
|
|
|
|
* Tue Jul 24 2007 - cwh@suse.de
|
|
|
|
- version 0.54: Make dependency on Filter::Util::Call explicit in Makefile.PL
|
|
|
|
- version 0.53: Changes from miyagawa and crew
|
2007-01-15 23:31:55 +00:00
|
|
|
* Wed Oct 25 2006 - cwh@suse.de
|
2007-08-07 07:28:00 +00:00
|
|
|
- version: 0.52
|
|
|
|
- Add use_ok to exports
|
|
|
|
- version: 0.51
|
|
|
|
- Remove build-requires dep of Spiffy for Module::Install::TestBase
|
|
|
|
- Add in a patch from the good folk at Socialtext.
|
|
|
|
- version: 0.50
|
|
|
|
- No change. 0.49 got borked on the way to CPAN
|
|
|
|
- version: 0.49
|
|
|
|
- Added Module::Install::TestBase
|
|
|
|
- version: 0.48
|
|
|
|
- Fixed test failures on windows
|
2007-01-15 23:31:55 +00:00
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Fri Jan 20 2006 - cwh@suse.de
|
|
|
|
- Initially packaged for SUSE Linux
|