Canonicalize Source0 URL. Fix find option order. Drop executable bit from
Exception/Class.pm to avoid a rpmlint warning.
This commit is contained in:
parent
e399620527
commit
4b6ce1d65c
@ -1,11 +1,11 @@
|
||||
Name: perl-Exception-Class
|
||||
Version: 1.23
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?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-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Exception-Class-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Devel::StackTrace) >= 1.12
|
||||
@ -22,6 +22,8 @@ the default base class for all other exceptions.
|
||||
%prep
|
||||
%setup -q -n Exception-Class-%{version}
|
||||
|
||||
chmod a-x lib/Exception/Class.pm
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
@ -32,7 +34,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
||||
|
||||
@ -52,6 +54,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.23-2
|
||||
- Canonicalize Source0 URL.
|
||||
- Fix find option order.
|
||||
- Drop executable bit from Exception/Class.pm to avoid a rpmlint warning.
|
||||
|
||||
* Fri Feb 03 2006 Steven Pritchard <steve@kspei.com> 1.23-1
|
||||
- Update to 1.23
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user