|
|
|
@ -8,8 +8,8 @@
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: perl-LDAP
|
|
|
|
|
Version: 0.68
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.66
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Summary: LDAP Perl module
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
@ -19,14 +19,12 @@ Source0: https://cpan.metacpan.org/authors/id/M/MA/MARSCHAP/perl-ldap-%{v
|
|
|
|
|
Patch0: perl-ldap-0.65-Configure-usr-sbin-slapd-for-tests.patch
|
|
|
|
|
# Remove an unreliable cancelling test
|
|
|
|
|
Patch1: perl-ldap-0.66-test-Remove-a-test-for-cancelling-asynchronous-calls.patch
|
|
|
|
|
# Fix resolving localhost on loopback-only machines,
|
|
|
|
|
# <https://github.com/perl-ldap/perl-ldap/pull/60>, CPAN RT#104793
|
|
|
|
|
Patch2: perl-ldap-0.68-Do-not-default-IO-Socket-IP-to-AI_ADDRCONFIG-flag.patch
|
|
|
|
|
# Fix a shell bang in a certificate generator script,
|
|
|
|
|
# <https://github.com/perl-ldap/perl-ldap/pull/55>, bug #1663063
|
|
|
|
|
Patch2: perl-ldap-0.66-Correct-a-shell-bang-in-data-regenerate_cert.sh.patch
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(inc::Module::Install)
|
|
|
|
|
BuildRequires: perl(Module::Install::AutoInstall)
|
|
|
|
|
BuildRequires: perl(Module::Install::Metadata)
|
|
|
|
@ -172,20 +170,21 @@ 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
|
|
|
|
|
perl -i -ne 'print $_ unless m{^inc/}' MANIFEST
|
|
|
|
|
sed -i -e '/^inc\// d' MANIFEST
|
|
|
|
|
# Remove tests specific for XML support if the support is disabled
|
|
|
|
|
%if !%{with perl_LDAP_enables_xml}
|
|
|
|
|
rm t/05dsml.t
|
|
|
|
|
perl -i -ne 'print $_ unless m{^t/05dsml\.t}' MANIFEST
|
|
|
|
|
sed -i -e '/^t\/05dsml\.t/ d' MANIFEST
|
|
|
|
|
%endif
|
|
|
|
|
find -type f \! -name 'regenerate_cert.sh' -exec chmod -x {} +
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 < /dev/null
|
|
|
|
|
%{make_build}
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor < /dev/null
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{make_install}
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
mkdir -p %{buildroot}/%{_libexecdir}/%{name}
|
|
|
|
|
# FIXME: Generators should scan these non-executable files
|
|
|
|
|
cp -a data t test.cfg %{buildroot}/%{_libexecdir}/%{name}
|
|
|
|
@ -227,35 +226,12 @@ make test
|
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.68-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.68-4
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Feb 16 2021 Petr Pisar <ppisar@redhat.com> - 1:0.68-3
|
|
|
|
|
- Fix resolving localhost on loopback-only machines
|
|
|
|
|
(https://github.com/perl-ldap/perl-ldap/pull/60)
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.68-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 05 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.68-1
|
|
|
|
|
- 0.68 bump
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.66-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.66-8
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.66-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
* Tue Oct 29 2019 Petr Pisar <ppisar@redhat.com> - 1:0.66-7
|
|
|
|
|
- Fix tests subpackage test script (bug #1663063)
|
|
|
|
|
- Fix a shell bang in a certificate generator script (bug #1663063)
|
|
|
|
|
|
|
|
|
|
* Tue Oct 29 2019 Petr Pisar <ppisar@redhat.com> - 1:0.66-6
|
|
|
|
|
- Fix tests subpackage test script
|
|
|
|
|
- Fix a shell bang in a certificate generator script
|
|
|
|
|
* Tue Sep 17 2019 Petr Pisar <ppisar@redhat.com> - 1:0.66-6
|
|
|
|
|
- Bump a release to replace the EPEL package (bug #1663063)
|
|
|
|
|
|
|
|
|
|
* Mon Aug 26 2019 Petr Pisar <ppisar@redhat.com> - 1:0.66-5
|
|
|
|
|
- Package tests
|
|
|
|
|