public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Algorithm-Dependency] rawhide: Modernize a spec file
Date: Thu, 04 Jun 2026 12:28:41 GMT [thread overview]
Message-ID: <178057612154.1.6752207332369276207.rpms-perl-Algorithm-Dependency-e1dfc8b40825@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Algorithm-Dependency
Branch : rawhide
Commit : e1dfc8b408257275f2c5fc736273165043be0143
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-06-04T14:20:36+02:00
Stats : +45/-30 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Algorithm-Dependency/c/e1dfc8b408257275f2c5fc736273165043be0143?branch=rawhide
Log:
Modernize a spec file
---
diff --git a/perl-Algorithm-Dependency.spec b/perl-Algorithm-Dependency.spec
index 0575da0..7582d32 100644
--- a/perl-Algorithm-Dependency.spec
+++ b/perl-Algorithm-Dependency.spec
@@ -1,28 +1,35 @@
-Name: perl-Algorithm-Dependency
-Version: 1.112
-Release: 13%{?dist}
-Summary: Algorithmic framework for implementing dependency trees
-License: GPL-1.0-or-later OR Artistic-1.0-Perl
-URL: https://metacpan.org/release/Algorithm-Dependency
-Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Algorithm-Dependency-%{version}.tar.gz
-
-BuildArch: noarch
-
-BuildRequires: %{__perl}
-BuildRequires: %{__make}
-
-BuildRequires: perl-generators
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(File::Spec) >= 0.80
-BuildRequires: perl(Test::ClassAPI) >= 0.6
-BuildRequires: perl(Test::More) >= 0.47
-BuildRequires: perl(Params::Util) >= 0.31
-BuildRequires: perl(List::Util) >= 1.11
-
-BuildRequires: perl(Test::Pod) >= 1.00
-BuildRequires: perl(Test::CPAN::Meta) >= 0.12
-BuildRequires: perl(Perl::MinimumVersion) >= 1.20
-BuildRequires: perl(Test::MinimumVersion) >= 0.008
+Name: perl-Algorithm-Dependency
+Version: 1.112
+Release: 14%{?dist}
+Summary: Algorithmic framework for implementing dependency trees
+License: GPL-1.0-or-later OR Artistic-1.0-Perl
+URL: https://metacpan.org/release/Algorithm-Dependency
+Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Algorithm-Dependency-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: coreutils
+BuildRequires: make
+BuildRequires: perl-generators
+BuildRequires: perl-interpreter
+BuildRequires: perl(:VERSION) >= 5.6
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Runt-time:
+BuildRequires: perl(List::Util) >= 1.11
+BuildRequires: perl(Params::Util) >= 0.31
+# Tests:
+BuildRequires: perl(File::Spec) >= 0.80
+BuildRequires: perl(File::Spec::Functions)
+BuildRequires: perl(Test::ClassAPI) >= 0.6
+BuildRequires: perl(Test::More) >= 0.47
+# Optional tests:
+# CPAN::Meta 2.120900 not helpful
+# CPAN::Meta::Prereqs not helpful
+Requires: perl(List::Util) >= 1.11
+Requires: perl(Params::Util) >= 0.31
+
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((List::Util|Params::Util)\\)$
%description
Algorithm::Dependency is a framework for creating simple read-only
@@ -33,7 +40,7 @@ items in the set, and require actions on them as well.
%setup -q -n Algorithm-Dependency-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
@@ -41,15 +48,23 @@ items in the set, and require actions on them as well.
chmod -R u+w $RPM_BUILD_ROOT/*
%check
-%{__make} test AUTOMATED_TESTING=1
+unset AUTHOR_TESTING
+export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
+make test
%files
-%doc Changes
+%doc Changes CONTRIBUTING README
%license LICENSE
-%{perl_vendorlib}/Algorithm
-%{_mandir}/man3/*
+%dir %{perl_vendorlib}/Algorithm
+%{perl_vendorlib}/Algorithm/Dependency
+%{perl_vendorlib}/Algorithm/Dependency.pm
+%{_mandir}/man3/Algorithm::Dependency.*
+%{_mandir}/man3/Algorithm::Dependency::*
%changelog
+* Thu Jun 04 2026 Petr Pisar <ppisar@redhat.com> - 1.112-14
+- Modernize a spec file
+
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.112-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
reply other threads:[~2026-06-04 12:28 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=178057612154.1.6752207332369276207.rpms-perl-Algorithm-Dependency-e1dfc8b40825@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