public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Eval-WithLexicals] epel10: Modernize spec
@ 2026-08-05 10:08 Jitka Plesnikova
0 siblings, 0 replies; only message in thread
From: Jitka Plesnikova @ 2026-08-05 10:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-Eval-WithLexicals
Branch : epel10
Commit : b375cf66d3f537017e1e9b6963b98ce489122c5c
Author : Jitka Plesnikova <jplesnik@redhat.com>
Date : 2020-12-10T12:33:24+01:00
Stats : +11/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Eval-WithLexicals/c/b375cf66d3f537017e1e9b6963b98ce489122c5c?branch=epel10
Log:
Modernize spec
---
diff --git a/perl-Eval-WithLexicals.spec b/perl-Eval-WithLexicals.spec
index 90055b5..0b4a516 100644
--- a/perl-Eval-WithLexicals.spec
+++ b/perl-Eval-WithLexicals.spec
@@ -1,18 +1,19 @@
Name: perl-Eval-WithLexicals
Version: 1.003006
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Pure Perl eval with persistent lexical variables
License: GPL+ or Artistic
URL: https://metacpan.org/release/Eval-WithLexicals
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/Eval-WithLexicals-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: coreutils
BuildRequires: make
-BuildRequires: perl-interpreter
BuildRequires: perl-generators
+BuildRequires: perl-interpreter
+BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
-BuildRequires: sed
# Run-time
BuildRequires: perl(B)
BuildRequires: perl(Moo) >= 0.009006
@@ -32,14 +33,14 @@ Requires: perl(Moo) >= 0.009006
%prep
%setup -q -n Eval-WithLexicals-%{version}
-sed -i -e '1s|#!/usr/bin/env perl|#!perl|' bin/tinyrepl
+perl -MConfig -i -pe 's{^#!.*perl}{$Config{startperl}}' bin/tinyrepl
%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=$RPM_BUILD_ROOT
+%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@@ -53,6 +54,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Thu Dec 10 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.003006-11
+- Modernize spec
+
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.003006-10
- 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-05 10:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-05 10:08 [rpms/perl-Eval-WithLexicals] epel10: Modernize spec Jitka Plesnikova
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox