This commit is contained in:
Petr Písař 2012-11-26 12:47:44 +01:00
parent b10dda19d7
commit ed4e449ac4
3 changed files with 35 additions and 24 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ perl-ldap-0.40.tar.gz
/perl-ldap-0.46.tar.gz
/perl-ldap-0.47.tar.gz
/perl-ldap-0.49.tar.gz
/perl-ldap-0.50.tar.gz

View File

@ -1,6 +1,6 @@
Name: perl-LDAP
Version: 0.49
Release: 2%{?dist}
Version: 0.50
Release: 1%{?dist}
Epoch: 1
Summary: LDAP Perl module
Group: Development/Libraries
@ -8,46 +8,53 @@ License: GPL+ or Artistic
URL: http://search.cpan.org/dist/perl-ldap/
Source0: http://www.cpan.org/authors/id/M/MA/MARSCHAP/perl-ldap-%{version}.tar.gz
BuildArch: noarch
# [Core Features]
BuildRequires: perl(inc::Module::Install)
# Run-time:
# Not needed for tests perl(Authen::SASL) >= 2.00
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Convert::ASN1)
BuildRequires: perl(Convert::ASN1) >= 0.2
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
BuildRequires: perl(HTTP::Status)
BuildRequires: perl(HTTP::Negotiate)
BuildRequires: perl(HTTP::Response)
BuildRequires: perl(inc::Module::Install)
BuildRequires: perl(IO::File)
# Not needed for tests perl(HTTP::Negotiate)
# Not needed for tests perl(HTTP::Response)
# Not needed for tests perl(HTTP::Status)
BuildRequires: perl(IO::Select)
BuildRequires: perl(IO::Socket)
BuildRequires: perl(IO::Socket::SSL)
BuildRequires: perl(IO::Socket::INET6)
BuildRequires: perl(JSON)
BuildRequires: perl(LWP::MediaTypes)
BuildRequires: perl(LWP::Protocol)
# Not needed for tests perl(IO::Socket::SSL) >= 1.26
# Not needed for tests perl(JSON)
# Not needed for tests perl(LWP::MediaTypes)
# Not needed for tests perl(LWP::Protocol)
# Not needed for tests perl(MIME::Base64)
BuildRequires: perl(Socket)
# [optional modules]
BuildRequires: perl(Authen::SASL) >= 2.00
BuildRequires: perl(URI::ldap) >= 1.1
BuildRequires: perl(MIME::Base64)
# Prefer core Text::Soundex
# Not needed for tests perl(Text::Soundex)
BuildRequires: perl(XML::SAX::Base)
BuildRequires: perl(XML::SAX::Writer)
# [test]
BuildRequires: perl(Data::Dumper)
# Optional:
# Not needed for tests perl(IO::Socket::INET6)
# Tests:
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::File)
BuildRequires: perl(Test::More)
BuildRequires: perl(LWP::UserAgent)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Authen::SASL)
Requires: perl(Authen::SASL) >= 2.00
Requires: perl(Convert::ASN1) >= 0.2
Requires: perl(IO::Socket::SSL) >= 1.26
Requires: perl(JSON)
Requires: perl(MIME::Base64)
# Prefer core Text::Soundex
Requires: perl(Text::Soundex)
Requires: perl(XML::SAX::Writer)
# Remove under-specified dependencies
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Net::LDAP::Filter\\)$
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Convert::ASN1\\)$
%description
Net::LDAP is a collection of modules that implements a LDAP services API
Net::LDAP is a collection of modules that implements an LDAP services API
for Perl programs. The module may be used to search directories or perform
maintenance functions such as adding, deleting or modifying entries.
@ -81,6 +88,9 @@ make test
%{_mandir}/man3/*.3pm*
%changelog
* Mon Nov 26 2012 Petr Pisar <ppisar@redhat.com> - 1:0.50-1
- 0.50 bump
* Tue Nov 20 2012 Petr Šabata <contyk@redhat.com> - 1:0.49-2
- Add a few missing deps
- Drop command macros

View File

@ -1 +1 @@
191f33fdd3b70156699f4620d8d10cca perl-ldap-0.49.tar.gz
2ec4b97ea8c054a45c647990e00de81b perl-ldap-0.50.tar.gz