81 lines
2.1 KiB
RPMSpec
81 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package perl-Test-Warn (Version 0.11)
|
|
#
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: perl-Test-Warn
|
|
Version: 0.11
|
|
Release: 20
|
|
Requires: perl = %{perl_version}
|
|
Requires: perl-Array-Compare perl-Tree-DAG_Node perl-Test-Exception
|
|
BuildRequires: perl-Array-Compare perl-Test-Exception perl-Tree-DAG_Node
|
|
AutoReqProv: on
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic License
|
|
Url: http://cpan.org/modules/by-module/Test/
|
|
Summary: Perl extension to test methods for warnings
|
|
Source: Test-Warn-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This module provides a few convenience methods for testing warning
|
|
based code.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Janek Schleicher, <bigj AT kamelfreund.de>
|
|
|
|
%prep
|
|
%setup -n Test-Warn-%{version} -q
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README Changes
|
|
%doc %{_mandir}/man?/*
|
|
%dir %{perl_vendorlib}/Test
|
|
%{perl_vendorlib}/Test/*
|
|
%dir %{perl_vendorarch}/auto/Test
|
|
%{perl_vendorarch}/auto/Test
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
%changelog
|
|
* Fri Jul 25 2008 anicka@suse.cz
|
|
- update to 0.11
|
|
* better Makefile.PL
|
|
* mention Test::Trap
|
|
* uplevel 2 changed to uplevel 1 to work with Sub::Uplevel 0.19_02
|
|
* small fixes
|
|
* Wed Mar 12 2008 anicka@suse.cz
|
|
- package created (version 0.10)
|