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-Digest-SHA3] epel8: Use make_* macros
Date: Mon, 15 Jun 2026 13:37:42 GMT	[thread overview]
Message-ID: <178153066212.1.6356630175893869126.rpms-perl-Digest-SHA3-2c7738322c79@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Digest-SHA3
Branch : epel8
Commit : 2c7738322c7987beb35cdf27abd2ae7ac4e18a94
Author : Jitka Plesnikova <jplesnik@redhat.com>
Date   : 2022-01-03T16:55:28+01:00
Stats  : +9/-10 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Digest-SHA3/c/2c7738322c7987beb35cdf27abd2ae7ac4e18a94?branch=epel8

Log:
Use make_* macros

---
diff --git a/perl-Digest-SHA3.spec b/perl-Digest-SHA3.spec
index 1e91fc9..01fdbc0 100644
--- a/perl-Digest-SHA3.spec
+++ b/perl-Digest-SHA3.spec
@@ -1,6 +1,6 @@
 Name:           perl-Digest-SHA3
 Version:        1.04
-Release:        12%{?dist}
+Release:        13%{?dist}
 Summary:        Perl extension for SHA-3
 License:        GPL+ or Artistic
 URL:            https://metacpan.org/release/Digest-SHA3
@@ -27,8 +27,7 @@ BuildRequires:  perl(Test::Pod::Coverage) >= 0.08
 BuildRequires:  perl(vars)
 BuildRequires:  perl(warnings)
 BuildRequires:  perl(XSLoader)
-BuildRequires:  sed
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(Carp)
 Requires:       perl(Digest::base)
 Requires:       perl(XSLoader)
@@ -40,19 +39,16 @@ your particular processor and operating system.
 
 %prep
 %setup -q -n Digest-SHA3-%{version}
-sed -i 's|#!.*perl|#!/usr/bin/perl|' examples/dups3
+perl -MConfig -pi -e 's|^#!.*perl|$Config{startperl}|' examples/dups3
 chmod -c -x examples/dups3
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
 
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -delete
+%{make_install}
 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -78,6 +74,9 @@ This script will compute and check the SHA3 message digest of a file
 %{_bindir}/*
 
 %changelog
+* Mon Jan 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-13
+- Use make_* macros
+
 * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.04-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
 

                 reply	other threads:[~2026-06-15 13:37 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=178153066212.1.6356630175893869126.rpms-perl-Digest-SHA3-2c7738322c79@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