public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Text-Password-Pronounceable] epel10: Fix building on Perl without "." in @INC
Date: Mon, 27 Jul 2026 18:33:47 GMT	[thread overview]
Message-ID: <178517722774.1.3111958914530818991.rpms-perl-Text-Password-Pronounceable-6af26a704c2f@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/perl-Text-Password-Pronounceable
            Branch : epel10
            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

            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
 

                 reply	other threads:[~2026-07-27 18:33 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=178517722774.1.3111958914530818991.rpms-perl-Text-Password-Pronounceable-6af26a704c2f@fedoraproject.org \
    --to=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