Accepting request 710407 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/710407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-ldap?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2019-06-20 16:53:56 +00:00 committed by Git OBS Bridge
commit e37041074f
5 changed files with 34 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f57dd261dc16ebf942a272ddafe69526598df71151a51916edc37a4f2f23834
size 311145

3
perl-ldap-0.66.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09263ce6166e80c98d689d41d09995b813389fd069b784601f6dc57f8e2b4102
size 319210

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Mon Jun 17 15:22:55 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
- update to 0.66
Enhancements
* Entry.pm: accept more options in ldif()
* inc/: refresh install tools
* contrib/ldifsort: new option -h
* documentation extensions
* typo fixes
Bug Fixes
* contrib/schema2ad: fix syntax calculation
* Refresh.pm: fix get_ttl() method
* DSML: fix detection of auxiliary object classes
- Dropped patch fixed upstream perl526.patch
- Updated URL to MetaCPAN
- Updated spec file with spec-cleaner
-------------------------------------------------------------------
Fri Sep 29 10:36:07 UTC 2017 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-ldap
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,25 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-ldap
%define cpan_name perl-ldap
Version: 0.65
Name: perl-ldap
Version: 0.66
Release: 0
Summary: Client Interface for LDAP Servers
License: GPL-1.0+ or Artistic-1.0
License: GPL-1.0-or-later OR Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/~marschap/perl-ldap/
Source: perl-ldap-%{version}.tar.gz
Patch0: perl526.patch
URL: https://metacpan.org/release/perl-ldap
Source0: https://cpan.metacpan.org/authors/id/M/MA/MARSCHAP/%{cpan_name}-%{version}.tar.gz
BuildRequires: perl-Authen-SASL
BuildRequires: perl-Convert-ASN1
BuildRequires: perl-IO-Socket-SSL
BuildRequires: perl-XML-Parser
BuildRequires: perl-macros
BuildRequires: perl(XML::SAX::Base)
BuildRequires: perl(XML::SAX::Writer)
Requires: perl-Convert-ASN1
Requires: perl-URI
Requires: perl-XML-Parser
@ -38,7 +39,6 @@ Provides: perl-Net-LDAP = %{version}
Provides: perl_ldp
Obsoletes: perl-Net-LDAP < %{version}
Obsoletes: perl_ldp
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%description
@ -46,17 +46,16 @@ A Client interface for LDAP servers.
%prep
%setup -q -n perl-ldap-%{version}
%patch0 -p1
find . -type f -print0 | xargs -0 chmod 644
# MANUAL
find contrib -type f | xargs -n 1 sed -i "s@/usr/local/bin/perl@/usr/bin/perl@"
find contrib -type f | xargs -n 1 sed -i "s@/usr/local/bin/perl@%{_bindir}/perl@"
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
%{__make} test
make %{?_smp_mflags} test
%install
%perl_make_install

View File

@ -1,11 +0,0 @@
Index: perl-ldap-0.65/Makefile.PL
===================================================================
--- perl-ldap-0.65.orig/Makefile.PL
+++ perl-ldap-0.65/Makefile.PL
@@ -1,5 +1,6 @@
# -*- perl -*-
+use lib '.';
use inc::Module::Install;
perl_version 5.008001;