Update to 0.17020
- New upstream release 0.17020 - Change to Shlomi Fish's new E-mail and web address - Clarify the licence of lib/Error/Simple.pm (CPAN RT#81277) - Correct typos (CPAN RT#85023) - Don't use macros for commands - Don't need to remove empty directories from the buildroot - Make %files list more explicit - Drop %defattr, redundant since rpm 4.4 - Avoid provides/requires from examples
This commit is contained in:
parent
a682b502b7
commit
b21caadfda
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
Error-0.17016.tar.gz
|
/Error-[0-9.]*.tar.gz
|
||||||
/Error-0.17018.tar.gz
|
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
Name: perl-Error
|
Name: perl-Error
|
||||||
Version: 0.17018
|
Version: 0.17020
|
||||||
Release: 6%{?dist}
|
Release: 1%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Error/exception handling in an OO-ish way
|
Summary: Error/exception handling in an OO-ish way
|
||||||
# MIT license in lib/Error/Simple.pm https://rt.cpan.org/Ticket/Display.html?id=81277
|
|
||||||
License: (GPL+ or Artistic) and MIT
|
License: (GPL+ or Artistic) and MIT
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/Error/
|
URL: http://search.cpan.org/dist/Error/
|
||||||
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(File::Spec)
|
||||||
BuildRequires: perl(lib)
|
BuildRequires: perl(lib)
|
||||||
@ -25,9 +24,13 @@ BuildRequires: perl(Test::More)
|
|||||||
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
|
||||||
%endif
|
%endif
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
Requires: perl(Carp)
|
Requires: perl(Carp)
|
||||||
|
|
||||||
|
# Avoid provides/requires from examples
|
||||||
|
%global __provides_exclude_from ^%{_docdir}
|
||||||
|
%global __requires_exclude_from ^%{_docdir}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Error package provides two interfaces. Firstly Error provides a
|
The Error package provides two interfaces. Firstly Error provides a
|
||||||
procedural interface to exception handling. Secondly Error is a base class
|
procedural interface to exception handling. Secondly Error is a base class
|
||||||
@ -38,16 +41,13 @@ can simply be recorded.
|
|||||||
%setup -q -n Error-%{version}
|
%setup -q -n Error-%{version}
|
||||||
|
|
||||||
%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
|
./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
|
||||||
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
@ -56,12 +56,26 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
# GPL+ or Artistic
|
||||||
%doc ChangeLog README examples/
|
%doc ChangeLog README examples/
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/Error.pm
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/Error.3pm*
|
||||||
|
# MIT
|
||||||
|
%{perl_vendorlib}/Error/
|
||||||
|
%{_mandir}/man3/Error::Simple.3pm*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun May 5 2013 Paul Howarth <paul@city-fan.org> - 1:0.17020-1
|
||||||
|
- Update to 0.17020
|
||||||
|
- Change to Shlomi Fish's new E-mail and web address
|
||||||
|
- Clarify the licence of lib/Error/Simple.pm (CPAN RT#81277)
|
||||||
|
- Correct typos (CPAN RT#85023)
|
||||||
|
- Don't use macros for commands
|
||||||
|
- Don't need to remove empty directories from the buildroot
|
||||||
|
- Make %%files list more explicit
|
||||||
|
- Drop %%defattr, redundant since rpm 4.4
|
||||||
|
- Avoid provides/requires from examples
|
||||||
|
|
||||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17018-6
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17018-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
@ -92,7 +106,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.17016-4
|
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.17016-4
|
||||||
- 661697 rebuild for fixing problems with vendorach/lib
|
- Rebuild to fix problems with vendorarch/lib (#661697)
|
||||||
|
|
||||||
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.17016-3
|
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.17016-3
|
||||||
- Mass rebuild with perl-5.12.0
|
- Mass rebuild with perl-5.12.0
|
||||||
@ -177,7 +191,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
* Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15-3
|
* Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15-3
|
||||||
- Dist tag.
|
- Dist tag.
|
||||||
|
|
||||||
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.15-2
|
* Wed Apr 6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.15-2
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
* Fri Jun 11 2004 Steven Pritchard <steve@kspei.com> 0:0.15-1
|
* Fri Jun 11 2004 Steven Pritchard <steve@kspei.com> 0:0.15-1
|
||||||
|
Loading…
Reference in New Issue
Block a user