commit c0e61812e28c6c3f654bd3e7ee443d104a72e5d8 Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> Date: Tue Feb 21 14:51:31 2012 +0100 Update to 0.04, move to Makefile.PL .gitignore | 1 + perl-HTTP-Exception.spec | 23 +++++++++++++++-------- sources | 2 +- 3 files changed, 17 insertions(+), 9 deletions(-) --- diff --git a/.gitignore b/.gitignore index 68c74a7..d66a0ea 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /HTTP-Exception-0.03001.tar.gz +/HTTP-Exception-0.04.tar.gz diff --git a/perl-HTTP-Exception.spec b/perl-HTTP-Exception.spec index 36b6ba9..c6fa022 100644 --- a/perl-HTTP-Exception.spec +++ b/perl-HTTP-Exception.spec @@ -1,11 +1,11 @@ Name: perl-HTTP-Exception -Version: 0.03001 -Release: 3%{?dist} +Version: 0.04000 +Release: 1%{?dist} Summary: Throw HTTP-Errors as (Exception::Class-) Exceptions License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/HTTP-Exception/ -Source0: http://www.cpan.org/authors/id/T/TM/TMUELLER/HTTP-Exception-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/T/TM/TMUELLER/HTTP-Exception-0.04.tar.gz BuildArch: noarch BuildRequires: perl(Exception::Class) BuildRequires: perl(HTTP::Status) @@ -26,20 +26,23 @@ Exception::Class::Base for information on what methods a caught exception also has. %prep -%setup -q -n HTTP-Exception-%{version} +%setup -q -n HTTP-Exception-0.04 +find . -type f -exec chmod 644 {} \; %build -%{__perl} Build.PL installdirs=vendor -./Build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -./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 \; %{_fixperms} $RPM_BUILD_ROOT/* %check -./Build test +make test %files %doc Changes README @@ -47,6 +50,10 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_mandir}/man3/* %changelog +* Tue Feb 21 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.04000-1 +- Update to 0.04 (using the version 0.04000 for rpm's sake) +- Move from the Build.PL method to the Makefile.PL one + * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.03001-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 3a32466..7d54e7f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3541f70932c99c0c44a1d0666bfec151 HTTP-Exception-0.03001.tar.gz +7dac086fb3366cf58d940904c0a9e1cc HTTP-Exception-0.04.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel