fix build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ldap?expand=0&rev=48
This commit is contained in:
parent
962c587be3
commit
9e1fa6dc7c
18
cpanspec.yml
18
cpanspec.yml
@ -1,4 +1,4 @@
|
|||||||
---
|
# creates perl-perl-ldap.spec, needs manual change afterwards
|
||||||
description_paragraphs: 1
|
description_paragraphs: 1
|
||||||
#no_testing: broken upstream
|
#no_testing: broken upstream
|
||||||
#sources:
|
#sources:
|
||||||
@ -8,17 +8,17 @@ description_paragraphs: 1
|
|||||||
# foo.patch: -p1
|
# foo.patch: -p1
|
||||||
# bar.patch:
|
# bar.patch:
|
||||||
preamble: |-
|
preamble: |-
|
||||||
BuildRequires: perl-Digest-MD5
|
BuildRequires: perl(Digest::MD5)
|
||||||
BuildRequires: perl-IO-Socket-INET6
|
BuildRequires: perl(IO::Socket::INET6)
|
||||||
BuildRequires: perl-IO-Socket-IP
|
BuildRequires: perl(IO::Socket::IP)
|
||||||
BuildRequires: perl-JSON
|
BuildRequires: perl(JSON)
|
||||||
BuildRequires: perl-MIME-Base64
|
BuildRequires: perl(MIME::Base64)
|
||||||
BuildRequires: perl-URI
|
BuildRequires: perl(URI)
|
||||||
#post_prep: |-
|
post_prep: |-
|
||||||
find contrib -type f | xargs -n 1 sed -i "s@%{_prefix}/local/bin/perl@%{_bindir}/perl@"
|
find contrib -type f | xargs -n 1 sed -i "s@%{_prefix}/local/bin/perl@%{_bindir}/perl@"
|
||||||
#post_install: |-
|
#post_install: |-
|
||||||
# sed on %{name}.files
|
# sed on %{name}.files
|
||||||
#license: SUSE-NonFree
|
license: Perl
|
||||||
#skip_noarch: 1
|
#skip_noarch: 1
|
||||||
#custom_build: |-
|
#custom_build: |-
|
||||||
#./Build build flags=%{?_smp_mflags} --myflag
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 27 16:18:03 UTC 2021 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||||
|
|
||||||
|
- fix build with perl 5.34.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 27 16:11:31 UTC 2021 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||||
|
|
||||||
|
- fix build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 9 16:10:30 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
Wed Jun 9 16:10:30 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
||||||
|
|
||||||
|
@ -20,53 +20,48 @@
|
|||||||
Name: perl-ldap
|
Name: perl-ldap
|
||||||
Version: 0.68
|
Version: 0.68
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Client Interface for LDAP Servers
|
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Summary: Perl::ldap Perl module
|
||||||
URL: https://metacpan.org/release/perl-ldap
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/M/MA/MARSCHAP/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/M/MA/MARSCHAP/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
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
|
|
||||||
Provides: perl-Net-LDAP = %{version}
|
|
||||||
Provides: perl_ldp
|
|
||||||
Obsoletes: perl-Net-LDAP < %{version}
|
|
||||||
Obsoletes: perl_ldp
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# MANUAL BEGIN
|
BuildRequires: perl
|
||||||
BuildRequires: perl-Digest-MD5
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl-IO-Socket-INET6
|
BuildRequires: perl(Convert::ASN1) >= 0.2
|
||||||
BuildRequires: perl-IO-Socket-IP
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
||||||
BuildRequires: perl-JSON
|
BuildRequires: perl(Text::Soundex)
|
||||||
BuildRequires: perl-MIME-Base64
|
Requires: perl(Convert::ASN1) >= 0.2
|
||||||
BuildRequires: perl-URI
|
Recommends: perl(Authen::SASL) >= 2.00
|
||||||
# MANUAL END
|
Recommends: perl(IO::Socket::INET6)
|
||||||
|
Recommends: perl(IO::Socket::SSL) >= 1.26
|
||||||
|
Recommends: perl(URI::ldap) >= 1.10
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
# MANUAL BEGIN
|
||||||
|
BuildRequires: perl(Digest::MD5)
|
||||||
|
BuildRequires: perl(IO::Socket::INET6)
|
||||||
|
BuildRequires: perl(IO::Socket::IP)
|
||||||
|
BuildRequires: perl(JSON)
|
||||||
|
BuildRequires: perl(MIME::Base64)
|
||||||
|
BuildRequires: perl(URI)
|
||||||
|
# MANUAL END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A Client interface for LDAP servers.
|
perl::ldap Perl module
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n perl-ldap-%{version}
|
%autosetup -n %{cpan_name}-%{version}
|
||||||
find . -type f -print0 | xargs -0 chmod 644
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
find contrib -type f | xargs -n 1 sed -i "s@%{_prefix}/local/bin/perl@%{_bindir}/perl@"
|
find contrib -type f | xargs -n 1 sed -i "s@%{_prefix}/local/bin/perl@%{_bindir}/perl@"
|
||||||
|
|
||||||
# MANUAL END
|
# MANUAL END
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%make_build test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
@ -74,7 +69,6 @@ perl Makefile.PL INSTALLDIRS=vendor
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc Changes CREDITS README TODO
|
%doc Changes CREDITS README TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user