public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Test-Exports] rawhide: Modernize a spec file
Date: Thu, 11 Jun 2026 07:49:44 GMT	[thread overview]
Message-ID: <178116418472.1.15203313537050323204.rpms-perl-Test-Exports-316b535b64a3@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Test-Exports
Branch : rawhide
Commit : 316b535b64a3f6f73b68139176da7c7a61c00a81
Author : Petr Písař <ppisar@redhat.com>
Date   : 2026-06-11T09:39:36+02:00
Stats  : +20/-20 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Test-Exports/c/316b535b64a3f6f73b68139176da7c7a61c00a81?branch=rawhide

Log:
Modernize a spec file

---
diff --git a/perl-Test-Exports.spec b/perl-Test-Exports.spec
index 2311362..b7ed140 100644
--- a/perl-Test-Exports.spec
+++ b/perl-Test-Exports.spec
@@ -1,41 +1,37 @@
 Name:           perl-Test-Exports
 Version:        1
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Test that modules export the right symbols
-# 2-clause BSD with advertising
-# c.f. lib/Test/Exports.pm
+# lib/Test/Exports.pm:  BSD-2-Clause
 License:        BSD-2-Clause
-
-URL:            http://metacpan.org/dist/Test-Exports/
-Source0:        http://cpan.metacpan.org/authors/id/B/BM/BMORROW/Test-Exports-%{version}.tar.gz
-
+URL:            https://metacpan.org/dist/Test-Exports
+Source0:        https://cpan.metacpan.org/authors/id/B/BM/BMORROW/Test-Exports-%{version}.tar.gz
 BuildArch:      noarch
-
+BuildRequires:  coreutils
 BuildRequires:  perl-generators
 BuildRequires:  perl-interpreter
-
-BuildRequires:  perl(B)
 BuildRequires:  perl(Module::Build)
+# Run-time:
+BuildRequires:  perl(B)
 BuildRequires:  perl(parent)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::Builder::Module)
+BuildRequires:  perl(warnings)
+# Tests:
 BuildRequires:  perl(Test::More) >= 0.65
 BuildRequires:  perl(Test::Most) >= 0.23
 BuildRequires:  perl(Test::Tester) >= 0.08
 
-BuildRequires:  perl(strict)
-BuildRequires:  perl(warnings)
-
-
 %description
-This module provides simple test functions for testing other modules'
-import methods. Testing is currently limited to checking which subs have
-been imported.
+This module provides simple test functions for testing other modules' import
+methods. Testing is currently limited to checking which subroutines have been
+imported.
 
 %prep
 %setup -q -n Test-Exports-%{version}
 
 %build
-%{__perl} Build.PL --installdirs=vendor
+perl Build.PL --installdirs=vendor
 ./Build
 
 %install
@@ -47,10 +43,14 @@ been imported.
 
 %files
 %doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%dir %{perl_vendorlib}/Test
+%{perl_vendorlib}/Test/Exports.pm
+%{_mandir}/man3/Test::Exports.*
 
 %changelog
+* Thu Jun 11 2026 Petr Pisar <ppisar@redhat.com> - 1-12
+- Modernize a spec file
+
 * Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

                 reply	other threads:[~2026-06-11  7:49 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=178116418472.1.15203313537050323204.rpms-perl-Test-Exports-316b535b64a3@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