public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-MD5] rawhide: Spec tidy-up
@ 2026-09-29 10:45 Paul Howarth
0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-09-29 10:45 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-MD5
Branch : rawhide
Commit : 7944d01fb92c88fa9689217f191b07c9219107b9
Author : Paul Howarth <paul@city-fan.org>
Date : 2026-09-29T11:44:45+01:00
Stats : +28/-16 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-MD5/c/7944d01fb92c88fa9689217f191b07c9219107b9?branch=rawhide
Log:
Spec tidy-up
- License confirmed as "same as perl"
- Classify buildreqs by usage
- Use %{make_build} and %{make_install}
- Drop redundant buildroot cleaning in %install section
- Fix permissions verbosely
- Make %files list more explicit
---
diff --git a/perl-MD5.spec b/perl-MD5.spec
index fbaf458..345cc3d 100644
--- a/perl-MD5.spec
+++ b/perl-MD5.spec
@@ -1,16 +1,25 @@
Name: perl-MD5
Version: 2.03
-Release: 51%{?dist}
+Release: 52%{?dist}
Summary: Perl interface to the MD5 Message-Digest Algorithm
-# Automatically converted from old format: GPL+ or Artistic - review is highly recommended.
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/MD5
Source0: https://cpan.metacpan.org/modules/by-module/MD5/GAAS/MD5-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: make
+# Build
+BuildRequires: coreutils
+BuildRequires: make
BuildRequires: perl-generators
+BuildRequires: perl-interpreter
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+# Module
BuildRequires: perl(Digest::MD5) >= 2.00
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+# Test Suite
+# (no additional requirements)
+# Dependencies
+# (none)
%description
This module (MD5.pm) is just a thin wrapper around the Digest::MD5
@@ -21,28 +30,31 @@ interface continue to work with the speed benefit of the new module.
%setup -q -n MD5-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
%install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} %{buildroot}/*
+%{make_install}
+%{_fixperms} -c %{buildroot}
%check
make test
%files
%doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/MD5.pm
+%{_mandir}/man3/MD5.3*
%changelog
+* Tue Sep 29 2026 Paul Howarth <paul@city-fan.org> - 2.03-52
+- Spec tidy-up
+ - License confirmed as "same as perl"
+ - Classify buildreqs by usage
+ - Use %%{make_build} and %%{make_install}
+ - Drop redundant buildroot cleaning in %%install section
+ - Fix permissions verbosely
+ - Make %%files list more explicit
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.03-51
- 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-29 10:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 10:45 [rpms/perl-MD5] rawhide: Spec tidy-up Paul Howarth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox