public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-POE-Component-Client-LDAP] rawhide: Modernize a spec file
@ 2026-10-14 14:31
0 siblings, 0 replies; only message in thread
From: @ 2026-10-14 14:31 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-POE-Component-Client-LDAP
Branch : rawhide
Commit : abecce832517005ac6f0c58a5684d1166582c661
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-10-14T16:17:58+02:00
Stats : +29/-20 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-POE-Component-Client-LDAP/c/abecce832517005ac6f0c58a5684d1166582c661?branch=rawhide
Log:
Modernize a spec file
---
diff --git a/perl-POE-Component-Client-LDAP.spec b/perl-POE-Component-Client-LDAP.spec
index e87eefe..a1ebdf4 100644
--- a/perl-POE-Component-Client-LDAP.spec
+++ b/perl-POE-Component-Client-LDAP.spec
@@ -1,21 +1,19 @@
Name: perl-POE-Component-Client-LDAP
Version: 0.04
-Release: 53%{?dist}
+Release: 54%{?dist}
Summary: Async LDAP access for POE
-# Automatically converted from old format: GPL+ or Artistic - review is highly recommended.
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/POE-Component-Client-LDAP
-Source0: https://cpan.metacpan.org/authors/id/H/HA/HACHI/POE-Component-Client-LDAP-%{version}.tar.gz
+Source0: https://cpan.metacpan.org/authors/id/H/HA/HACHI/POE-Component-Client-LDAP-%{version}.tar.gz
Patch0: POE-Component-Client-LDAP-0.04-Fix-building-on-Perl-without-dot-in-INC.patch
BuildArch: noarch
-BuildRequires: findutils
+BuildRequires: coreutils
+BuildRequires: dos2unix
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
-BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
-BuildRequires: perl(Convert::ASN1)
BuildRequires: perl(CPAN)
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -26,7 +24,12 @@ BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
BuildRequires: perl(FindBin)
BuildRequires: perl(Module::Build)
-BuildRequires: perl(Net::LDAP)
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+# Run-time:
+BuildRequires: perl(base)
+BuildRequires: perl(Convert::ASN1)
+BuildRequires: perl(Net::LDAP) >= 0.31
BuildRequires: perl(Net::LDAP::ASN)
BuildRequires: perl(Net::LDAP::Constant)
BuildRequires: perl(POE)
@@ -35,11 +38,9 @@ BuildRequires: perl(POE::Filter::Stream)
BuildRequires: perl(POE::Wheel::Null)
BuildRequires: perl(POE::Wheel::ReadWrite)
BuildRequires: perl(POE::Wheel::SocketFactory)
-BuildRequires: perl(strict)
-BuildRequires: perl(Test::More)
-BuildRequires: perl(vars)
BuildRequires: perl(warnings)
-BuildRequires: dos2unix
+# Tests:
+BuildRequires: perl(Test::More)
%description
POE::Component::Client::LDAP->new() starts up a new POE::Session and
@@ -47,29 +48,37 @@ POE::Wheel to manage socket communications for an underlying Net::LDAP
object, allowing it to be used in async mode properly within a POE program.
%prep
-%setup -q -n POE-Component-Client-LDAP-%{version}
-%patch -P0 -p1
+%autosetup -p1 -n POE-Component-Client-LDAP-%{version}
# fix line endings...
dos2unix scripts/search.pl
%build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
%install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -delete
+%{make_install}
chmod -R u+w %{buildroot}/*
%check
+unset LDAP_DEBUG
make test
%files
-%doc Changes LICENSE README Todo scripts
-%{perl_vendorlib}/*
-%{_mandir}/man3/*.3*
+%license LICENSE
+%doc Changes README Todo scripts
+%dir %{perl_vendorlib}/POE
+%dir %{perl_vendorlib}/POE/Component
+%dir %{perl_vendorlib}/POE/Component/Client
+%{perl_vendorlib}/POE/Component/Client/LDAP.pm
+%dir %{perl_vendorlib}/POE/Filter
+%{perl_vendorlib}/POE/Filter/ASN1.pm
+%{_mandir}/man3/POE::Component::Client::LDAP.3*
%changelog
+* Wed Oct 14 2026 Petr Pisar <ppisar@redhat.com> - 0.04-54
+- Modernize a spec file
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.04-53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-14 14:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 14:31 [rpms/perl-POE-Component-Client-LDAP] rawhide: Modernize a spec file
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox