67 lines
1.5 KiB
RPMSpec
67 lines
1.5 KiB
RPMSpec
|
#
|
||
|
# spec file for package perl-Test-Warn (Version 0.10)
|
||
|
#
|
||
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# 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-Warn
|
||
|
Version: 0.10
|
||
|
Release: 2
|
||
|
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
|
||
|
* Wed Mar 12 2008 anicka@suse.cz
|
||
|
- package created (version 0.10)
|