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-MD5] rawhide: Spec tidy-up
Date: Tue, 29 Sep 2026 10:45:55 GMT	[thread overview]
Message-ID: <179067875570.1.7338437770734963847.rpms-perl-MD5-7944d01fb92c@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-09-29 10:45 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=179067875570.1.7338437770734963847.rpms-perl-MD5-7944d01fb92c@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