- Remove explicit core module dependencies
- Add COPYING and Artistic
This commit is contained in:
parent
c016b8464c
commit
4ff8854828
@ -1,19 +1,15 @@
|
||||
Name: perl-Exception-Class
|
||||
Version: 1.21
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Exception::Class Perl module
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Exception-Class/
|
||||
Source0: http://www.cpan.org/modules/by-module/Exception/Exception-Class-1.21.tar.gz
|
||||
Source0: http://www.cpan.org/modules/by-module/Exception/Exception-Class-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Test::More) >= 0.46
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Devel::StackTrace) >= 1.1
|
||||
BuildRequires: perl(Class::Data::Inheritable) >= 0.02
|
||||
Requires: perl(Test::More) >= 0.46
|
||||
Requires: perl(Scalar::Util)
|
||||
Requires: perl(Devel::StackTrace) >= 1.1
|
||||
Requires: perl(Class::Data::Inheritable) >= 0.02
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
@ -40,6 +36,9 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
||||
|
||||
perldoc -t perlgpl > COPYING
|
||||
perldoc -t perlartistic > Artistic
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
@ -48,11 +47,15 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README
|
||||
%doc Changes LICENSE README COPYING Artistic
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.21-3
|
||||
- Remove explicit core module dependencies
|
||||
- Add COPYING and Artistic
|
||||
|
||||
* Wed Aug 17 2005 Steven Pritchard <steve@kspei.com> 1.21-2
|
||||
- Minor spec cleanup
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user