Update to 0.26. Update License tag. Use fixperms macro instead of our own
chmod incantation. Reformat to match cpanspec output. Drop executable bits.
This commit is contained in:
parent
980328e4c0
commit
b50503d435
@ -1 +1 @@
|
|||||||
Test-Exception-0.21.tar.gz
|
Test-Exception-0.26.tar.gz
|
||||||
|
@ -1,18 +1,19 @@
|
|||||||
Name: perl-Test-Exception
|
Name: perl-Test-Exception
|
||||||
Version: 0.21
|
Version: 0.26
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Library of test functions for exception based Perl code
|
Summary: Library of test functions for exception based Perl code
|
||||||
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL or Artistic
|
|
||||||
URL: http://search.cpan.org/dist/Test-Exception/
|
URL: http://search.cpan.org/dist/Test-Exception/
|
||||||
Source0: http://www.cpan.org/authors/id/A/AD/ADIE/Test-Exception-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/A/AD/ADIE/Test-Exception-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
BuildRequires: perl(Test::Builder), perl(Test::Builder::Tester)
|
BuildRequires: perl(Pod::Coverage)
|
||||||
BuildRequires: perl(Sub::Uplevel), perl(Pod::Coverage), perl(Test::Pod)
|
BuildRequires: perl(Sub::Uplevel) >= 0.18
|
||||||
|
BuildRequires: perl(Test::Builder)
|
||||||
|
BuildRequires: perl(Test::Builder::Tester)
|
||||||
|
BuildRequires: perl(Test::Pod)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -20,38 +21,43 @@ This module provides a few convenience methods for testing exception
|
|||||||
based code. It is built with Test::Builder and plays happily with
|
based code. It is built with Test::Builder and plays happily with
|
||||||
Test::More and friends.
|
Test::More and friends.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Test-Exception-%{version}
|
%setup -q -n Test-Exception-%{version}
|
||||||
|
|
||||||
|
find . -type f -perm +100 -exec chmod a-x {} \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
./Build
|
./Build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
||||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
||||||
|
|
||||||
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%{perl_vendorlib}/Test/
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*.3pm*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.26-1
|
||||||
|
- Update to 0.26.
|
||||||
|
- Update License tag.
|
||||||
|
- Use fixperms macro instead of our own chmod incantation.
|
||||||
|
- Reformat to match cpanspec output.
|
||||||
|
- Drop executable bits.
|
||||||
|
|
||||||
* Thu Sep 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-3
|
* Thu Sep 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-3
|
||||||
- Rebuild for FC6.
|
- Rebuild for FC6.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user