2007-01-16 00:31:55 +01:00
|
|
|
#
|
2007-08-07 09:28:00 +02:00
|
|
|
# spec file for package perl-Test-Base (Version 0.54)
|
2007-01-16 00:31:55 +01:00
|
|
|
#
|
2009-06-18 17:12:54 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:31:55 +01:00
|
|
|
#
|
2009-06-18 17:12:54 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:31:55 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 17:12:54 +02:00
|
|
|
|
2007-01-16 00:31:55 +01:00
|
|
|
Name: perl-Test-Base
|
|
|
|
BuildRequires: perl-Spiffy >= 0.3
|
2009-06-18 17:12:54 +02:00
|
|
|
Url: http://search.cpan.org/~ingy/Test-Base
|
2007-01-16 00:31:55 +01:00
|
|
|
License: Artistic License
|
2007-08-07 09:28:00 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2007-01-16 00:31:55 +01:00
|
|
|
Requires: perl = %{perl_version} perl-Spiffy >= 0.3
|
2009-06-18 17:12:54 +02:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:31:55 +01:00
|
|
|
Summary: Perl module for easily writing own test framework base classes.
|
2007-08-07 09:28:00 +02:00
|
|
|
Version: 0.54
|
2009-06-18 17:12:54 +02:00
|
|
|
Release: 73
|
2007-01-16 00:31:55 +01:00
|
|
|
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 09:28:00 +02:00
|
|
|
Test::More and exports all of its functions
|
2007-01-16 00:31:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Brian Ingerson <INGY@cpan.org>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n Test-Base-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
2007-08-07 09:28:00 +02:00
|
|
|
|
|
|
|
%check
|
2007-01-16 00:31:55 +01: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 09:28:00 +02:00
|
|
|
%changelog
|
2009-06-18 17:12:54 +02:00
|
|
|
* Tue Jul 24 2007 cwh@suse.de
|
2007-08-07 09:28:00 +02:00
|
|
|
- version 0.54: Make dependency on Filter::Util::Call explicit in Makefile.PL
|
|
|
|
- version 0.53: Changes from miyagawa and crew
|
2009-06-18 17:12:54 +02:00
|
|
|
* Wed Oct 25 2006 cwh@suse.de
|
2007-08-07 09:28:00 +02: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
|
2009-06-18 17:12:54 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:31:55 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-18 17:12:54 +02:00
|
|
|
* Fri Jan 20 2006 cwh@suse.de
|
2007-01-16 00:31:55 +01:00
|
|
|
- Initially packaged for SUSE Linux
|