public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Test-Exports] rawhide: Modernize a spec file
@ 2026-06-11  7:49 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-11  7:49 UTC (permalink / raw)
  To: git-commits

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-11  7:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-11  7:49 [rpms/perl-Test-Exports] 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