bugzilla: 207340 - add temporarily forgotten fixes from Jose Oliveira.

This commit is contained in:
Robin Norwood 2006-09-27 18:49:24 +00:00
parent 81f20b9356
commit a3be951c64

View File

@ -1,19 +1,19 @@
Name: perl-LDAP Name: perl-LDAP
Version: 0.33 Version: 0.33
Release: 2%{?dist} Release: 3%{?dist}
Epoch: 1 Epoch: 1
Summary: LDAP Perl module Summary: LDAP Perl module
Group: Development/Libraries Group: Development/Libraries
License: GPL or Artistic License: GPL or Artistic
URL: http://search.cpan.org/dist/perl-ldap/ URL: http://search.cpan.org/dist/perl-ldap/
Source0: http://www.cpan.org/authors/id/G/GB/GBARR/perl-ldap-0.33.tar.gz Source0: http://www.cpan.org/authors/id/G/GB/GBARR/perl-ldap-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl >= 2:5.8.0
BuildRequires: perl(Convert::ASN1) BuildRequires: perl(Convert::ASN1)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(IO::Socket::SSL)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(IO::Socket::SSL) Requires: perl(IO::Socket::SSL)
#Wish list #Wish list
#Requires: perl(Authen::SASL) #Requires: perl(Authen::SASL)
@ -26,7 +26,7 @@ maintenance functions such as adding, deleting or modifying entries.
%prep %prep
%setup -q -n perl-ldap-%{version} %setup -q -n perl-ldap-%{version}
chmod 644 bin/* contrib/* chmod -c 644 bin/* contrib/* lib/Net/LDAP/DSML.pm
%{__perl} -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' contrib/* %{__perl} -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' contrib/*
%build %build
@ -40,7 +40,7 @@ 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 -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/* chmod -R u+w $RPM_BUILD_ROOT/*
%check || : %check
mv t/0-signature.t t/0-signature.t.skip mv t/0-signature.t t/0-signature.t.skip
make test make test
@ -55,10 +55,16 @@ rm -rf $RPM_BUILD_ROOT
%{perl_vendorlib}/Bundle/ %{perl_vendorlib}/Bundle/
%{perl_vendorlib}/LWP/ %{perl_vendorlib}/LWP/
%{perl_vendorlib}/Net/ %{perl_vendorlib}/Net/
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3pm*
%changelog %changelog
* Wed Sep 27 2006 Robin Norwood <rnorwood@redhat.com> - 1:0.33-3
- Bugzilla: 207430
- Incorporate fixes from Jose Oliveira's patch
- Add perl(IO::Socket::SSL) as a BuildRequires as well
- Other cleanups from Jose
* Wed Sep 27 2006 Robin Norwood <rnorwood@redhat.com> - 0.33-1.3 * Wed Sep 27 2006 Robin Norwood <rnorwood@redhat.com> - 0.33-1.3
- Add a requirement for IO::Socket::SSL, per bug #122066 - Add a requirement for IO::Socket::SSL, per bug #122066