public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Test-HasVersion] rawhide: Use %{make_build} and %{make_install}
@ 2026-09-23 12:44 Paul Howarth
0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-09-23 12:44 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-Test-HasVersion
Branch : rawhide
Commit : 62ca0b3718815ce36e71f1c802d63c3fb004d8a0
Author : Paul Howarth <paul@city-fan.org>
Date : 2026-09-23T13:42:38+01:00
Stats : +8/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Test-HasVersion/c/62ca0b3718815ce36e71f1c802d63c3fb004d8a0?branch=rawhide
Log:
Use %{make_build} and %{make_install}
---
diff --git a/perl-Test-HasVersion.spec b/perl-Test-HasVersion.spec
index e20628c..4440879 100644
--- a/perl-Test-HasVersion.spec
+++ b/perl-Test-HasVersion.spec
@@ -1,6 +1,6 @@
Name: perl-Test-HasVersion
Version: 0.014
-Release: 31%{?dist}
+Release: 32%{?dist}
Summary: Check Perl modules have version numbers
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Test-HasVersion
@@ -8,12 +8,11 @@ Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-HasVersion
BuildArch: noarch
# Module Build
BuildRequires: coreutils
-BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
# Module Runtime
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Find)
BuildRequires: perl(strict)
BuildRequires: perl(Test::Builder)
@@ -41,12 +40,11 @@ you.
%setup -q -n Test-HasVersion-%{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}
# test_version described in Test::HasVersion manpage
mkdir -p %{buildroot}%{_mandir}/man1
echo ".so man3/Test::HasVersion.$(perl -MConfig -e 'print $Config{man3ext}')" > %{buildroot}%{_mandir}/man1/test_version.1
@@ -64,6 +62,9 @@ make test
%{_mandir}/man3/Test::HasVersion.3*
%changelog
+* Wed Sep 23 2026 Paul Howarth <paul@city-fan.org> - 0.014-32
+- Use %%{make_build} and %%{make_install}
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-31
- 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-23 12:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 12:44 [rpms/perl-Test-HasVersion] 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