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.
This commit is contained in:
Steven Pritchard 2008-05-15 17:29:05 +00:00
parent f65263c8e5
commit f5a3eafb73
3 changed files with 20 additions and 20 deletions

View File

@ -1 +1 @@
Authen-SASL-2.10.tar.gz
Authen-SASL-2.11.tar.gz

View File

@ -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/*
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
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 <steve@kspei.com> 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 <tcallawa@redhat.com> - 2.10-2
- rebuild for new perl

View File

@ -1 +1 @@
041ce912640c5dff626a91435a359b88 Authen-SASL-2.10.tar.gz
1b13b9305d8dfd2017300ac9401a74b3 Authen-SASL-2.11.tar.gz