public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Text-Password-Pronounceable] epel10.2: Fix building on Perl without "." in @INC
@ 2026-07-27 19:44 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-07-27 19:44 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/perl-Text-Password-Pronounceable
            Branch : epel10.2
            Commit : 6af26a704c2ffb13bc78a0bca8855b2096adde73
            Author : Petr Písař <ppisar@redhat.com>
            Date   : 2017-05-16T13:06:02+02:00
            Stats  : +24/-8 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-Text-Password-Pronounceable/c/6af26a704c2ffb13bc78a0bca8855b2096adde73?branch=epel10.2

            Log:
            Fix building on Perl without "." in @INC

This is done by unbundling the inc modules and face-lifting the spec
file at all.

---
diff --git a/perl-Text-Password-Pronounceable.spec b/perl-Text-Password-Pronounceable.spec
index fd4ecf4..dfcc338 100644
--- a/perl-Text-Password-Pronounceable.spec
+++ b/perl-Text-Password-Pronounceable.spec
@@ -1,34 +1,47 @@
 Name:       perl-Text-Password-Pronounceable 
 Version:    0.30
-Release:    13%{?dist}
+Release:    14%{?dist}
 # lib/Text/Password/Pronounceable.pm -> GPL+ or Artistic
 License:    GPL+ or Artistic 
-Group:      Development/Libraries
 Summary:    Generate pronounceable passwords 
 Source0:    http://search.cpan.org/CPAN/authors/id/T/TS/TSIBLEY/Text-Password-Pronounceable-%{version}.tar.gz
 Url:        http://search.cpan.org/dist/Text-Password-Pronounceable
 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:  noarch
+BuildRequires: coreutils
+BuildRequires: make
+BuildRequires: perl
 BuildRequires: perl-generators
+BuildRequires: perl(inc::Module::Install)
+BuildRequires: perl(Module::Install::Metadata)
+BuildRequires: perl(Module::Install::WriteAll)
+BuildRequires: sed
+# Run-time:
 BuildRequires: perl(Carp)
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Tests:
 BuildRequires: perl(Test::More)
+# Optional tests:
+BuildRequires: perl(Test::Pod) >= 1.00
+BuildRequires: perl(Test::Pod::Coverage) >= 1.00
 
 %description
-This module generates pronuceable passwords, based on the English
+This module generates pronounceable passwords, based on the English
 digraphs by D. Edwards.
 
 %prep
 %setup -q -n Text-Password-Pronounceable-%{version}
+# Remove bundled modules
+rm -r ./inc/*
+sed -i -e '/^inc\//d' MANIFEST
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-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 ';'
+make pure_install DESTDIR=%{buildroot}
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -40,6 +53,9 @@ make test
 %{_mandir}/man3/*.3*
 
 %changelog
+* Tue May 16 2017 Petr Pisar <ppisar@redhat.com> - 0.30-14
+- Fix building on Perl without "." in @INC
+
 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.30-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-27 19:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-27 19:44 [rpms/perl-Text-Password-Pronounceable] epel10.2: Fix building on Perl without "." in @INC 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox