public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Class-C3-Componentised] epel10.2: Modernize a spec file
@ 2026-08-03  7:09 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-03  7:09 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-Class-C3-Componentised
Branch : epel10.2
Commit : bbe35289e088b399a181e609fcc4369333ef6992
Author : Petr Písař <ppisar@redhat.com>
Date   : 2020-08-21T10:37:51+02:00
Stats  : +27/-24 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Class-C3-Componentised/c/bbe35289e088b399a181e609fcc4369333ef6992?branch=epel10.2

Log:
Modernize a spec file

---
diff --git a/perl-Class-C3-Componentised.rpmlintrc b/perl-Class-C3-Componentised.rpmlintrc
new file mode 100644
index 0000000..7b1c4c3
--- /dev/null
+++ b/perl-Class-C3-Componentised.rpmlintrc
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* Pluggable");

diff --git a/perl-Class-C3-Componentised.spec b/perl-Class-C3-Componentised.spec
index bac6faf..003b6a5 100644
--- a/perl-Class-C3-Componentised.spec
+++ b/perl-Class-C3-Componentised.spec
@@ -1,32 +1,31 @@
 Name:           perl-Class-C3-Componentised
 Version:        1.001002
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Load mix-ins or components to your C3-based class
 License:        GPL+ or Artistic
 URL:            https://metacpan.org/release/Class-C3-Componentised
 Source0:        https://cpan.metacpan.org/authors/id/H/HA/HAARG/Class-C3-Componentised-%{version}.tar.gz
 BuildArch:      noarch
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-BuildRequires: make
-BuildRequires: perl-generators
-BuildRequires: perl-interpreter
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
-BuildRequires: perl(strict)
-BuildRequires: perl(warnings)
+BuildRequires:  coreutils
+BuildRequires:  make
+BuildRequires:  perl-generators
+BuildRequires:  perl-interpreter
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
 # Run-time
-BuildRequires: perl(Carp)
-BuildRequires: perl(Class::C3) >= 0.20
-BuildRequires: perl(Class::Inspector) >= 1.32
-BuildRequires: perl(List::Util)
-BuildRequires: perl(MRO::Compat) >= 0.09
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Class::C3) >= 0.20
+BuildRequires:  perl(Class::Inspector) >= 1.32
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(MRO::Compat) >= 0.09
 # Tests
-BuildRequires: perl(base)
-BuildRequires: perl(FindBin)
-BuildRequires: perl(lib)
-BuildRequires: perl(Test::Exception) >= 0.31
-BuildRequires: perl(Test::More) >= 0.96
-
+BuildRequires:  perl(base)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Test::Exception) >= 0.31
+BuildRequires:  perl(Test::More) >= 0.96
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(Class::C3) >= 0.20
 Requires:       perl(Class::Inspector) >= 1.32
 
@@ -42,14 +41,13 @@ MooseX::Object::Pluggable.
 
 %prep
 %setup -q -n Class-C3-Componentised-%{version}
-perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
 
 %install
-make pure_install DESTDIR=%{buildroot}
+%{make_install}
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -61,6 +59,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri Aug 21 2020 Petr Pisar <ppisar@redhat.com> - 1.001002-10
+- Modernize a spec file
+
 * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.001002-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-08-03  7:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03  7:09 [rpms/perl-Class-C3-Componentised] epel10.2: 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