[perl-LDAP] Update to 0.46

Jitka Plesnikova jplesnik at fedoraproject.org
Mon Sep 17 08:39:27 UTC 2012


commit 3a6307f7782b3a7f22447d27527dd16951bbd088
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Mon Sep 17 10:39:14 2012 +0200

    Update to 0.46

 .gitignore     |    1 +
 perl-LDAP.spec |   19 ++++++++++++++++---
 sources        |    2 +-
 3 files changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index febb362..fd7023c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 perl-ldap-0.40.tar.gz
 /perl-ldap-0.44.tar.gz
+/perl-ldap-0.46.tar.gz
diff --git a/perl-LDAP.spec b/perl-LDAP.spec
index 13aa998..821ee70 100644
--- a/perl-LDAP.spec
+++ b/perl-LDAP.spec
@@ -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 at 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 at lists.fedoraproject.org> - 1:0.44-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 3d92b02..a7937cf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-707c31839de6f4717000372421464911  perl-ldap-0.44.tar.gz
+809792862f43e1c6046be7d2575ffc48  perl-ldap-0.46.tar.gz


More information about the scm-commits mailing list