diff --git a/.cvsignore b/.cvsignore index cf8ce8c..1f29f4a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Authen-SASL-2.10.tar.gz +Authen-SASL-2.11.tar.gz diff --git a/perl-Authen-SASL.spec b/perl-Authen-SASL.spec index d844cfe..1f64509 100644 --- a/perl-Authen-SASL.spec +++ b/perl-Authen-SASL.spec @@ -1,16 +1,13 @@ Name: perl-Authen-SASL -Version: 2.10 -Release: 2%{?dist} +Version: 2.11 +Release: 1%{?dist} Summary: SASL Authentication framework for Perl - -Group: Development/Libraries License: GPL+ or Artistic +Group: Development/Libraries URL: http://search.cpan.org/dist/Authen-SASL/ Source0: http://www.cpan.org/authors/id/G/GB/GBARR/Authen-SASL-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch -BuildRequires: perl >= 1:5.6.1 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Digest::HMAC) BuildRequires: perl(GSSAPI) @@ -21,40 +18,43 @@ SASL is a generic mechanism for authentication used by several network protocols. Authen::SASL provides an implementation framework that all protocols should be able to share. - %prep %setup -q -n Authen-SASL-%{version} - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} - %install 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 ';' -chmod -R u+w $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 make test - %clean rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root,-) %doc api.txt Changes -%{perl_vendorlib}/Authen/ -%{_mandir}/man3/*.3* - +%{perl_vendorlib}/* +%{_mandir}/man3/* %changelog +* Thu May 15 2008 Steven Pritchard 2.11-1 +- Update to 2.11. +- Fix find option order. +- Use fixperms macro instead of our own chmod incantation. +- Reformat to resemble cpanspec output. +- Drop explicit perl build dependency. + * Thu Feb 7 2008 Tom "spot" Callaway - 2.10-2 - rebuild for new perl diff --git a/sources b/sources index 07d460e..9fe6228 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -041ce912640c5dff626a91435a359b88 Authen-SASL-2.10.tar.gz +1b13b9305d8dfd2017300ac9401a74b3 Authen-SASL-2.11.tar.gz