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-Crypt-Cracklib] rawhide: Use %{make_build} and %{make_install}
Date: Thu, 08 Oct 2026 11:08:02 GMT	[thread overview]
Message-ID: <179145768239.1.9744798452689427130.rpms-perl-Crypt-Cracklib-e1a94f8ee767@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Crypt-Cracklib
Branch : rawhide
Commit : e1a94f8ee7676ca876a09ca928b6fcf9ef6dcc78
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-10-08T12:07:45+01:00
Stats  : +9/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Crypt-Cracklib/c/e1a94f8ee7676ca876a09ca928b6fcf9ef6dcc78?branch=rawhide

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

---
diff --git a/perl-Crypt-Cracklib.spec b/perl-Crypt-Cracklib.spec
index d029f49..d44cab6 100644
--- a/perl-Crypt-Cracklib.spec
+++ b/perl-Crypt-Cracklib.spec
@@ -1,6 +1,6 @@
 Name:           perl-Crypt-Cracklib
 Version:        1.7
-Release:        51%{?dist}
+Release:        52%{?dist}
 Summary:        Crypt-Cracklib - Perl interface to Alec Muffett's Cracklib
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/Crypt-Cracklib
@@ -15,6 +15,7 @@ BuildRequires:  make
 BuildRequires:  perl-devel
 BuildRequires:  perl-generators
 BuildRequires:  perl-interpreter
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(inc::Module::Install)
 # Run-time:
 BuildRequires:  perl(DynaLoader)
@@ -45,15 +46,14 @@ This module providers interaction with the system cracklib libraries.
 %patch -P1 -p1
 
 # Unbundle bundled modules
-rm -rf inc/
+rm -rv inc/
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor --skipdeps < /dev/null
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}" --skipdeps < /dev/null
+%{make_build}
 
 %install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -delete
+%{make_install}
 find %{buildroot} -name Cracklib.bs -empty -delete
 %{_fixperms} -c %{buildroot}
 
@@ -67,6 +67,9 @@ make test
 %{_mandir}/man3/Crypt::Cracklib.3*
 
 %changelog
+* Thu Oct  8 2026 Paul Howarth <paul@city-fan.org> - 1.7-52
+- Use %%{make_build} and %%{make_install}
+
 * Wed Jul 22 2026 Jitka Plesnikova <jplesnik@redhat.com> - 1.7-51
 - Perl 5.44 rebuild
 

                 reply	other threads:[~2026-10-08 11:08 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=179145768239.1.9744798452689427130.rpms-perl-Crypt-Cracklib-e1a94f8ee767@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