Update to 0.46

This commit is contained in:
Jitka Plesnikova 2012-09-17 10:39:14 +02:00
parent a5ecad9658
commit 3a6307f778
3 changed files with 18 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
perl-ldap-0.40.tar.gz
/perl-ldap-0.44.tar.gz
/perl-ldap-0.46.tar.gz

View File

@ -1,6 +1,6 @@
Name: perl-LDAP
Version: 0.44
Release: 3%{?dist}
Version: 0.46
Release: 1%{?dist}
Epoch: 1
Summary: LDAP Perl module
@ -12,12 +12,13 @@ Source0: http://www.cpan.org/authors/id/M/MA/MARSCHAP/perl-ldap-%{version
BuildArch: noarch
# [Core Features]
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Convert::ASN1)
BuildRequires: perl(Encode)
BuildRequires: perl(HTTP::Status)
BuildRequires: perl(HTTP::Negotiate)
BuildRequires: perl(HTTP::Response)
BuildRequires: perl(inc::Module::Install)
BuildRequires: perl(IO::File)
BuildRequires: perl(IO::Select)
BuildRequires: perl(IO::Socket)
@ -25,6 +26,7 @@ BuildRequires: perl(IO::Socket::SSL)
BuildRequires: perl(IO::Socket::INET6)
BuildRequires: perl(LWP::MediaTypes)
BuildRequires: perl(LWP::Protocol)
BuildRequires: perl(Socket)
# [optional modules]
BuildRequires: perl(Authen::SASL) >= 2.00
BuildRequires: perl(URI::ldap) >= 1.1
@ -50,6 +52,11 @@ maintenance functions such as adding, deleting or modifying entries.
chmod -c 644 bin/* contrib/* lib/Net/LDAP/DSML.pm
%{__perl} -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' contrib/*
# Remove bundled libraries
rm -rf inc
sed -i -e '/^inc\// d' MANIFEST
find -type f -exec chmod -x {} +
# Filter unwanted Provides:
cat << \EOF > %{name}-prov
#!/bin/sh
@ -61,6 +68,7 @@ EOF
chmod +x %{__perl_provides}
%build
ls
%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
make %{?_smp_mflags}
@ -83,6 +91,11 @@ make test
%changelog
* Fri Sep 14 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.46-1
- 0.46 bump
- Should fix: RT#72108, RT#74572, RT#74759, RT#77180
- Removed bundled libraries. Use perl(inc::Module::Install).
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.44-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

View File

@ -1 +1 @@
707c31839de6f4717000372421464911 perl-ldap-0.44.tar.gz
809792862f43e1c6046be7d2575ffc48 perl-ldap-0.46.tar.gz