public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Algorithm-Dependency] rawhide: Modernize a spec file
@ 2026-06-04 12:28
0 siblings, 0 replies; only message in thread
From: @ 2026-06-04 12:28 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-04 12:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-04 12:28 [rpms/perl-Algorithm-Dependency] 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