- Update to 1.32.
- License is now Artistic 2.0. - Switch back to building with ExtUtils::MakeMaker/Makefile.PL. (Dave Rolsky needs to make up his mind.) - Add README to docs.
This commit is contained in:
parent
a6b3e5766c
commit
9aaae27863
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
Exception-Class-1.29.tar.gz
|
Exception-Class-1.29.tar.gz
|
||||||
|
/Exception-Class-1.32.tar.gz
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Name: perl-Exception-Class
|
Name: perl-Exception-Class
|
||||||
Version: 1.29
|
Version: 1.32
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Module that allows you to declare real exception classes in Perl
|
Summary: Module that allows you to declare real exception classes in Perl
|
||||||
License: GPL+ or Artistic
|
License: Artistic 2.0
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/Exception-Class/
|
URL: http://search.cpan.org/dist/Exception-Class/
|
||||||
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Exception-Class-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Exception-Class-%{version}.tar.gz
|
||||||
@ -10,7 +10,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(Class::Data::Inheritable) >= 0.02
|
BuildRequires: perl(Class::Data::Inheritable) >= 0.02
|
||||||
BuildRequires: perl(Devel::StackTrace) >= 1.20
|
BuildRequires: perl(Devel::StackTrace) >= 1.20
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(Test::More) >= 0.46
|
BuildRequires: perl(Test::More) >= 0.46
|
||||||
BuildRequires: perl(Test::Pod) >= 1.14
|
BuildRequires: perl(Test::Pod) >= 1.14
|
||||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||||
@ -26,31 +26,40 @@ modules in a "Java-esque" manner.
|
|||||||
chmod a-x lib/Exception/Class.pm
|
chmod a-x lib/Exception/Class.pm
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
./Build
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export IS_MAINTAINER=1
|
export IS_MAINTAINER=1
|
||||||
./Build test
|
make test
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes LICENSE
|
%doc Changes LICENSE README
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 22 2010 Steven Pritchard <steve@kspei.com> 1.32-1
|
||||||
|
- Update to 1.32.
|
||||||
|
- License is now Artistic 2.0.
|
||||||
|
- Switch back to building with ExtUtils::MakeMaker/Makefile.PL. (Dave
|
||||||
|
Rolsky needs to make up his mind.)
|
||||||
|
- Add README to docs.
|
||||||
|
|
||||||
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-5
|
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-5
|
||||||
- 661697 rebuild for fixing problems with vendorach/lib
|
- 661697 rebuild for fixing problems with vendorach/lib
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user