public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Digest-MD5-File] rawhide: Use %{make_build} and %{make_install}
@ 2026-10-07  9:25 Paul Howarth
  0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-10-07  9:25 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-Digest-MD5-File
Branch : rawhide
Commit : 05366e2d9b173e341bc7ba02a2313891e7e08f65
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-10-07T10:24:13+01:00
Stats  : +8/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Digest-MD5-File/c/05366e2d9b173e341bc7ba02a2313891e7e08f65?branch=rawhide

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

---
diff --git a/perl-Digest-MD5-File.spec b/perl-Digest-MD5-File.spec
index 3df0709..8160054 100644
--- a/perl-Digest-MD5-File.spec
+++ b/perl-Digest-MD5-File.spec
@@ -1,6 +1,6 @@
 Name:		perl-Digest-MD5-File
 Version:	0.08
-Release:	40%{?dist}
+Release:	41%{?dist}
 Summary:	Perl extension for getting MD5 sums for files and URLs
 License:	GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:		https://metacpan.org/release/Digest-MD4
@@ -8,11 +8,10 @@ Source0:	https://cpan.metacpan.org/modules/by-module/Digest/Digest-MD5-File-%{ve
 BuildArch:	noarch
 # Module Install
 BuildRequires:	coreutils
-BuildRequires:	findutils
 BuildRequires:	make
 BuildRequires:	perl-generators
 BuildRequires:	perl-interpreter
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.76
 # Module
 BuildRequires:	perl(Carp)
 BuildRequires:	perl(Digest::MD5)
@@ -25,7 +24,6 @@ BuildRequires:	perl(Test::More)
 # Perl version anchor
 # Not picked up by rpm (required rather than used)
 Requires:	perl(Encode)
-Requires:	perl(Exporter)
 Requires:	perl(File::Spec)
 
 %description
@@ -35,12 +33,11 @@ Get MD5 sums for files of a given path or content of a given URL.
 %setup -q -n Digest-MD5-File-%{version}
 
 %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
@@ -52,6 +49,9 @@ make test
 %{_mandir}/man3/Digest::MD5::File.3*
 
 %changelog
+* Wed Oct  7 2026 Paul Howarth <paul@city-fan.org> - 0.08-41
+- Use %%{make_build} and %%{make_install}
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-40
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-10-07  9:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07  9:25 [rpms/perl-Digest-MD5-File] rawhide: Use %{make_build} and %{make_install} Paul Howarth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox