public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-POE-Component-Client-LDAP] rawhide: Modernize a spec file
Date: Wed, 14 Oct 2026 14:31:56 GMT	[thread overview]
Message-ID: <179198831625.1.15979161239994228191.rpms-perl-POE-Component-Client-LDAP-abecce832517@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-10-14 14:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179198831625.1.15979161239994228191.rpms-perl-POE-Component-Client-LDAP-abecce832517@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox