public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Sysadm-Install] rawhide: Use %{make_build} and %{make_install}
@ 2026-09-24 12:56 Paul Howarth
  0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-09-24 12:56 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-Sysadm-Install
Branch : rawhide
Commit : 666b614080b652c7a7408bf1531faa73129cdd7c
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-09-24T13:55:22+01:00
Stats  : +11/-10 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Sysadm-Install/c/666b614080b652c7a7408bf1531faa73129cdd7c?branch=rawhide

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

---
diff --git a/perl-Sysadm-Install.spec b/perl-Sysadm-Install.spec
index 96b83f8..e10e006 100644
--- a/perl-Sysadm-Install.spec
+++ b/perl-Sysadm-Install.spec
@@ -1,18 +1,17 @@
 Summary:	Typical installation tasks for system administrators
 Name:		perl-Sysadm-Install
 Version:	0.48
-Release:	28%{?dist}
+Release:	29%{?dist}
 License:	GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:		https://metacpan.org/release/Sysadm-Install
 Source0:	https://cpan.metacpan.org/authors/id/M/MS/MSCHILLI/Sysadm-Install-%{version}.tar.gz
 BuildArch:	noarch
 # Module Build
 BuildRequires:	coreutils
-BuildRequires:	findutils
 BuildRequires:	make
 BuildRequires:	perl-generators
 BuildRequires:	perl-interpreter
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.76
 # Module Runtime
 BuildRequires:	perl(Archive::Tar)
 BuildRequires:	perl(Cwd)
@@ -65,17 +64,16 @@ perl -pi -e 's|/usr/local/bin/perl|/usr/bin/perl|;' eg/mkperl
 # introduce any unwanted dependencies
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
-
-%check
-make test TEST_VERBOSE=1
+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
+make test TEST_VERBOSE=1
+
 %files
 %doc Changes README eg/
 # one-liner is an overly-generic name to include in %%{_bindir} and is included
@@ -85,6 +83,9 @@ find %{buildroot} -type f -name .packlist -delete
 %{_mandir}/man3/Sysadm::Install.3*
 
 %changelog
+* Thu Sep 24 2026 Paul Howarth <paul@city-fan.org> - 0.48-29
+- Use %%{make_build} and %%{make_install}
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.48-28
 - 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-09-24 12:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-24 12:56 [rpms/perl-Sysadm-Install] 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