public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jitka Plesnikova <jplesnik@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Eval-WithLexicals] epel10.2: Modernize spec
Date: Wed, 05 Aug 2026 10:09:07 GMT [thread overview]
Message-ID: <178592454763.1.284265095625938316.rpms-perl-Eval-WithLexicals-b375cf66d3f5@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Eval-WithLexicals
Branch : epel10.2
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.2
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
reply other threads:[~2026-08-05 10:09 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=178592454763.1.284265095625938316.rpms-perl-Eval-WithLexicals-b375cf66d3f5@fedoraproject.org \
--to=jplesnik@redhat.com \
--cc=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