[packages/perl-Net-Ident] - updated spec
qboosh
qboosh at pld-linux.org
Sun Jun 14 09:01:59 CEST 2026
commit 9da98b81ee92887bb48bc8c30c634d9a6bffbc9b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jun 14 09:02:18 2026 +0200
- updated spec
perl-Net-Ident.spec | 40 ++++++++++++++++++++++++++++------------
1 file changed, 28 insertions(+), 12 deletions(-)
---
diff --git a/perl-Net-Ident.spec b/perl-Net-Ident.spec
index 8d86ef0..40df420 100644
--- a/perl-Net-Ident.spec
+++ b/perl-Net-Ident.spec
@@ -1,42 +1,58 @@
#
# Conditional build:
-%bcond_with tests # do not perform "make test"
+%bcond_without tests # test suite
%define pdir Net
%define pnam Ident
-Summary: Net::Ident perl module
-Summary(pl.UTF-8): Moduł perla Net::Ident
+Summary: Lookup the username on the remote end of a TCP/IP connection
+Summary(pl.UTF-8): Wyszukiwanie nazwy użytkownika po zdalnej stronie połączenia TCP/IP
Name: perl-Net-Ident
Version: 1.31
Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+Source0: https://www.cpan.org/modules/by-module/Net/TODDR/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: d6c9047a79dd1c904fba3098c5aba2fb
-URL: http://search.cpan.org/dist/Net-Ident/
-BuildRequires: perl-devel >= 1:5.8.0
+URL: https://metacpan.org/dist/Net-Ident
+BuildRequires: perl-devel >= 1:5.10
+%if %{with tests}
+BuildRequires: perl-Test-Simple
+%endif
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _noautoprov "perl(FileHandle)"
+%define _noautoprov_perl FileHandle
%description
-Net::Ident - Perl Ident.
+Net::Ident is a module that looks up the username on the remote side
+of a TCP/IP connection through the ident (auth/tap) protocol described
+in RFC 1413 (which supersedes RFC 931). Note that this requires the
+remote site to run a daemon (often called identd) to provide the
+requested information, so it is not always available for all TCP/IP
+connections.
%description -l pl.UTF-8
-Net::Ident - Ident w perlu.
+Net::Ident to moduł sprawdzający nazwę użytkownika zdalnego końca
+połączenia TCP/IP poprzez protokół ident (auth/tap), opisany w RFC 1413
+(zastępującym RFC 931). Wymaga to, aby po drugiej stronie działał
+demon (zwykle o nazwie identd), zapewniający żądane informacje, więc
+nie jest to dostępne dla wszystkich połączeń TCP/IP.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%build
-yes "" | perl Makefile.PL \
+%{__perl} Makefile.PL \
INSTALLDIRS=vendor
+
%{__make}
-%{?with_tests:%{__make} test}
+%if %{with tests}
+%{__make} test
+%endif
%install
rm -rf $RPM_BUILD_ROOT
@@ -51,4 +67,4 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc Changes README.md
%{perl_vendorlib}/Net/Ident.pm
-%{_mandir}/man3/*
+%{_mandir}/man3/Net::Ident.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Net-Ident.git/commitdiff/9da98b81ee92887bb48bc8c30c634d9a6bffbc9b
More information about the pld-cvs-commit
mailing list