diff --git a/perl-ldap-0.65.tar.gz b/perl-ldap-0.65.tar.gz deleted file mode 100644 index 00e9eb4..0000000 --- a/perl-ldap-0.65.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5f57dd261dc16ebf942a272ddafe69526598df71151a51916edc37a4f2f23834 -size 311145 diff --git a/perl-ldap-0.66.tar.gz b/perl-ldap-0.66.tar.gz new file mode 100644 index 0000000..5e2ba3c --- /dev/null +++ b/perl-ldap-0.66.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09263ce6166e80c98d689d41d09995b813389fd069b784601f6dc57f8e2b4102 +size 319210 diff --git a/perl-ldap.changes b/perl-ldap.changes index f9cf7fb..d0b7b08 100644 --- a/perl-ldap.changes +++ b/perl-ldap.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Mon Jun 17 15:22:55 UTC 2019 - Pedro Monreal Gonzalez + +- 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 diff --git a/perl-ldap.spec b/perl-ldap.spec index 7788b09..3ce21db 100644 --- a/perl-ldap.spec +++ b/perl-ldap.spec @@ -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 diff --git a/perl526.patch b/perl526.patch deleted file mode 100644 index 5a82933..0000000 --- a/perl526.patch +++ /dev/null @@ -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;