public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Server-Starter] rawhide: Modernize a spec file
Date: Mon, 22 Jun 2026 11:05:44 GMT	[thread overview]
Message-ID: <178212634459.1.14201231804251265045.rpms-perl-Server-Starter-e36ad4cdd532@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Server-Starter
Branch : rawhide
Commit : e36ad4cdd53214607dc8e19e97f4b8775612ff0a
Author : Petr Písař <ppisar@redhat.com>
Date   : 2026-06-22T12:26:27+02:00
Stats  : +35/-15 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Server-Starter/c/e36ad4cdd53214607dc8e19e97f4b8775612ff0a?branch=rawhide

Log:
Modernize a spec file

---
diff --git a/perl-Server-Starter.rpmlintrc b/perl-Server-Starter.rpmlintrc
new file mode 100644
index 0000000..33a7fcf
--- /dev/null
+++ b/perl-Server-Starter.rpmlintrc
@@ -0,0 +1,3 @@
+addFilter('spelling-error \(\'Superdaemon\'')
+addFilter('spelling-error \(\'superdaemon\'')
+addFilter('summary-not-capitalized perl-Server-Starter start_server')

diff --git a/perl-Server-Starter.spec b/perl-Server-Starter.spec
index 2fd0225..c2f2c4f 100644
--- a/perl-Server-Starter.spec
+++ b/perl-Server-Starter.spec
@@ -1,35 +1,43 @@
 Name:           perl-Server-Starter
 Version:        0.35
-Release:        19%{?dist}
+Release:        20%{?dist}
 Summary:        Superdaemon for hot-deploying server programs
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/Server-Starter
 Source0:        https://cpan.metacpan.org/authors/id/K/KA/KAZUHO/Server-Starter-%{version}.tar.gz
 BuildArch:      noarch
-
+BuildRequires:  coreutils
 BuildRequires:  perl-generators
+BuildRequires:  perl-interpreter
+BuildRequires:  perl(:VERSION) >= 5.8.1
+BuildRequires:  perl(base)
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(utf8)
+BuildRequires:  perl(warnings)
+# Run-time:
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Fcntl)
-BuildRequires:  perl(File::Basename)
-BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Getopt::Long)
 BuildRequires:  perl(IO::Handle)
 BuildRequires:  perl(IO::Socket::UNIX)
-BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(POSIX)
 BuildRequires:  perl(Pod::Usage)
+BuildRequires:  perl(POSIX)
 BuildRequires:  perl(Socket)
-BuildRequires:  perl(strict)
-BuildRequires:  perl(warnings)
-
-# For the tests
+# Tests:
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(IO::Select)
+BuildRequires:  perl(IO::Socket::INET)
 BuildRequires:  perl(IO::Socket::IP)
+BuildRequires:  perl(lib)
 BuildRequires:  perl(Net::EmptyPort)
-BuildRequires:  perl(Test::TCP) >= 2.08
+BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Requires)
 BuildRequires:  perl(Test::SharedFork)
-
+BuildRequires:  perl(Test::TCP) >= 2.08
 
 %package start_server
 Summary:        perl-Server-Starter start_server script
@@ -52,7 +60,8 @@ perl-Server-Starter's start_server script.
 %setup -q -n Server-Starter-%{version}
 
 %build
-%{__perl} Build.PL --installdirs=vendor
+unset RELEASE_TESTING
+perl Build.PL --installdirs=vendor
 ./Build
 
 %install
@@ -60,19 +69,27 @@ perl-Server-Starter's start_server script.
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
+unset AUTO_RESTART_INTERVAL ENABLE_AUTO_RESTART ENVDIR KILL_OLD_DELAY \
+    SERVER_STARTER_GENERATION SERVER_STARTER_PORT
+export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
 ./Build test
 
 %files
 %doc Changes README.md
 %license LICENSE
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%dir %{perl_vendorlib}/Server
+%{perl_vendorlib}/Server/Starter
+%{perl_vendorlib}/Server/Starter.pm
+%{_mandir}/man3/Server::Starter.*
 
 %files start_server
 %{_bindir}/start_server
 %{_mandir}/man1/start_server.*
 
 %changelog
+* Mon Jun 22 2026 Petr Pisar <ppisar@redhat.com> - 0.35-20
+- Modernize a spec file
+
 * Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

                 reply	other threads:[~2026-06-22 11:05 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=178212634459.1.14201231804251265045.rpms-perl-Server-Starter-e36ad4cdd532@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