public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Crypt-Cracklib] rawhide: Use %{make_build} and %{make_install}
@ 2026-10-08 11:08 Paul Howarth
0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-10-08 11:08 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-08 11:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 11:08 [rpms/perl-Crypt-Cracklib] 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