public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Cache-Cache] rawhide: Use %{make_build} and %{make_install}
Date: Thu, 08 Oct 2026 15:16:04 GMT	[thread overview]
Message-ID: <179147256496.1.11346212397983212307.rpms-perl-Cache-Cache-8cdf2cfe1fd9@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Cache-Cache
Branch : rawhide
Commit : 8cdf2cfe1fd9ed7e35860f25f94648f1f9d05f8e
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-10-08T16:15:20+01:00
Stats  : +10/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Cache-Cache/c/8cdf2cfe1fd9ed7e35860f25f94648f1f9d05f8e?branch=rawhide

Log:
Use %{make_build} and %{make_install}

---
diff --git a/perl-Cache-Cache.spec b/perl-Cache-Cache.spec
index 1e5bd56..b86b7d1 100644
--- a/perl-Cache-Cache.spec
+++ b/perl-Cache-Cache.spec
@@ -1,20 +1,18 @@
 Name:           perl-Cache-Cache
 Version:        1.08
-Release:        34%{?dist}
+Release:        35%{?dist}
 Summary:        Generic cache interface and implementations
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/Cache-Cache
 Source0:        https://cpan.metacpan.org/modules/by-module/Cache/Cache-Cache-%{version}.tar.gz
-# Bug #112967 for Cache-Cache: Digest::SHA1 -> Digest::SHA - https://rt.cpan.org/Public/Bug/Display.html?id=112967
 Patch0:         Cache-Cache-1.08-Rewrite_from_SHA1_to_SHA.patch
 BuildArch:      noarch
 # Build
 BuildRequires:  coreutils
-BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl-generators
 BuildRequires:  perl-interpreter
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 # Runtime
 BuildRequires:  perl(Digest::SHA)
 BuildRequires:  perl(Error)
@@ -43,15 +41,16 @@ of the filesystem or shared memory.
 
 %prep
 %setup -q -n Cache-Cache-%{version}
+
+# Bug #112967 for Cache-Cache: Digest::SHA1 -> Digest::SHA - https://rt.cpan.org/Public/Bug/Display.html?id=112967
 %patch -P0 -p1
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
 
 %install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -delete
+%{make_install}
 %{_fixperms} -c %{buildroot}
 
 %check
@@ -83,6 +82,9 @@ make test
 %{_mandir}/man3/Cache::SizeAwareSharedMemoryCache.3*
 
 %changelog
+* Thu Oct  8 2026 Paul Howarth <paul@city-fan.org> - 1.08-35
+- Use %%{make_build} and %%{make_install}
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.08-34
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-10-08 15:16 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=179147256496.1.11346212397983212307.rpms-perl-Cache-Cache-8cdf2cfe1fd9@fedoraproject.org \
    --to=paul@city-fan.org \
    --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