]> git.pld-linux.org Git - packages/perl-ldap.git/blobdiff - perl-ldap.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-ldap.git] / perl-ldap.spec
index 89ce571d852b4f55287b52c5fb3e529076c92759..6904bedbb1ad7ee48b6f1e031d58d34218153d7e 100644 (file)
@@ -2,30 +2,34 @@
 # Conditional build:
 %bcond_with    tests   # perform "make test" (requires working ldap server and gnupg configured with key retrieval with hkp)
 #
-%include       /usr/lib/rpm/macros.perl
 Summary:       perl-ldap module - a client interface to LDAP servers
 Summary(pl.UTF-8):     Moduł perl-ldap - kliencki interfejs do serwerów LDAP
 Name:          perl-ldap
-Version:       0.56
+Version:       0.57
 Release:       1
 Epoch:         3
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/Net/%{name}-%{version}.tar.gz
-# Source0-md5: 4ea517a844bad34b79f05afcfd24cc05
+# Source0-md5: deff50f0de5d4cf95145765b6edd67d1
+Patch0:                non-unicode-dump.patch
+Patch1:                ignore-uninitialized.patch
 URL:           http://ldap.perl.org/
 BuildRequires: perl-Authen-SASL >= 2.00
-BuildRequires: perl-Convert-ASN1 >= 0.07
+BuildRequires: perl-Convert-ASN1 >= 0.20
 BuildRequires: perl-Digest-MD5
-BuildRequires: perl-IO-Socket-SSL >= 0.81
+BuildRequires: perl-IO-Socket-INET6
+BuildRequires: perl-IO-Socket-SSL >= 1.26
 BuildRequires: perl-JSON
+BuildRequires: perl-MIME-Base64
 BuildRequires: perl-URI >= 1.1
 BuildRequires: perl-XML-SAX-Writer
 BuildRequires: perl-devel >= 1:5.18.0
 BuildRequires: rpm-perlprov >= 4.1-13
 %if %{with tests}
 BuildRequires: perl-Module-Signature
+BuildRequires: perl-Test-Simple
 BuildRequires: perl-libwww
 %endif
 Obsoletes:     perl-LDAP
@@ -42,6 +46,8 @@ poziomu programów w Perlu.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 %{__perl} Makefile.PL \
@@ -61,9 +67,9 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
        DESTDIR=$RPM_BUILD_ROOT
 cp -r {contrib,bin} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/Bundle::Net::LDAP.3pm
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/{Bundle/Net/LDAP.pm,Net/{,LDAP/}*.pod}
 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Net/LDAP/.packlist
-rm -f $RPM_BUILD_ROOT%{_mandir}/man3/Bundle::Net::LDAP.3pm
-rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/{Bundle/Net/LDAP.pm,Net/{,LDAP/}*.pod}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.195572 seconds and 4 git commands to generate.