public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jitka Plesnikova <jplesnik@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Class-C3-Componentised] epel10.2: Fix building on Perl without '.' in @INC (CPAN RT#121696)
Date: Mon, 03 Aug 2026 07:09:31 GMT [thread overview]
Message-ID: <178574097144.1.8251460337255432079.rpms-perl-Class-C3-Componentised-b6d7dcc937b6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Class-C3-Componentised
Branch : epel10.2
Commit : b6d7dcc937b602322baed0cf9ab700841e953ad6
Author : Jitka Plesnikova <jplesnik@redhat.com>
Date : 2017-05-16T10:53:20+02:00
Stats : +30/-11 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Class-C3-Componentised/c/b6d7dcc937b602322baed0cf9ab700841e953ad6?branch=epel10.2
Log:
Fix building on Perl without '.' in @INC (CPAN RT#121696)
---
diff --git a/perl-Class-C3-Componentised.spec b/perl-Class-C3-Componentised.spec
index ac2b77f..5b1f229 100644
--- a/perl-Class-C3-Componentised.spec
+++ b/perl-Class-C3-Componentised.spec
@@ -1,6 +1,6 @@
Name: perl-Class-C3-Componentised
Version: 1.001000
-Release: 14%{?dist}
+Release: 15%{?dist}
Summary: Load mix-ins or components to your C3-based class
License: GPL+ or Artistic
Group: Development/Libraries
@@ -9,17 +9,31 @@ Source0: http://search.cpan.org/CPAN/authors/id/F/FR/FREW/Class-C3-Compon
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
+BuildRequires: perl
BuildRequires: perl-generators
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
-BuildRequires: perl(Test::More)
+BuildRequires: perl(inc::Module::Install)
+BuildRequires: perl(Module::Install::Metadata)
+BuildRequires: perl(Module::Install::WriteAll)
+BuildRequires: sed
+# Run-time
BuildRequires: perl(Carp)
BuildRequires: perl(Class::C3) >= 0.20
BuildRequires: perl(Class::Inspector)
+BuildRequires: perl(List::Util)
BuildRequires: perl(MRO::Compat)
-# testing
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Tests
+BuildRequires: perl(base)
+BuildRequires: perl(FindBin)
+BuildRequires: perl(lib)
BuildRequires: perl(Test::Exception)
-BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Pod::Coverage)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod) >= 1.14
+BuildRequires: perl(Test::Pod::Coverage) >= 1.04
Requires: perl(Class::C3) >= 0.20
Requires: perl(Class::Inspector)
@@ -37,6 +51,11 @@ MooseX::Object::Pluggable.
%prep
%setup -q -n Class-C3-Componentised-%{version}
+
+# Remove bundled libraries
+rm -r inc
+sed -i -e '/^inc\// d' MANIFEST
+
perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t
%build
@@ -44,11 +63,8 @@ perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t
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}
+find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot}/*
%check
@@ -60,6 +76,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Tue May 16 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.001000-15
+- Fix building on Perl without '.' in @INC
+
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.001000-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
reply other threads:[~2026-08-03 7:09 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=178574097144.1.8251460337255432079.rpms-perl-Class-C3-Componentised-b6d7dcc937b6@fedoraproject.org \
--to=jplesnik@redhat.com \
--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