public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Chris Weyl <cweyl@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Class-C3-Componentised] epel10: initial commit
Date: Mon, 03 Aug 2026 07:07:44 GMT [thread overview]
Message-ID: <178574086460.1.18416487080448974719.rpms-perl-Class-C3-Componentised-4680851529fa@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Class-C3-Componentised
Branch : epel10
Commit : 4680851529fa5c7c4a6e4282091c33c7b6a05de5
Author : Chris Weyl <cweyl@fedoraproject.org>
Date : 2007-12-06T21:52:46+00:00
Stats : +84/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Class-C3-Componentised/c/4680851529fa5c7c4a6e4282091c33c7b6a05de5?branch=epel10
Log:
initial commit
---
diff --git a/.cvsignore b/.cvsignore
index e69de29..578472a 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+Class-C3-Componentised-1.0001.tar.gz
diff --git a/perl-Class-C3-Componentised.spec b/perl-Class-C3-Componentised.spec
new file mode 100644
index 0000000..a01050a
--- /dev/null
+++ b/perl-Class-C3-Componentised.spec
@@ -0,0 +1,82 @@
+Name: perl-Class-C3-Componentised
+Version: 1.0001
+Release: 3%{?dist}
+Summary: Load mix-ins or components to your C3-based class
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Class-C3-Componentised/
+Source0: http://www.cpan.org/authors/id/A/AS/ASH/Class-C3-Componentised-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+# core
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::More)
+# cpan
+BuildRequires: perl(Class::C3)
+BuildRequires: perl(Class::Inspector)
+BuildRequires: perl(Test::Exception)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
+
+
+%description
+This will inject base classes to your module using the Class::C3 method
+resolution order.
+
+Please note: these are not plugins that can take precedence over methods
+declared in MyModule. If you want something like that, consider
+MooseX::Object::Pluggable.
+
+
+%prep
+%setup -q -n Class-C3-Componentised-%{version}
+
+perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t
+
+# Filter unwanted Requires:
+cat << \EOF > %{name}-req
+#!/bin/sh
+%{__perl_requires} $* |\
+ sed -e '/perl(base)/d'
+EOF
+
+%define __perl_requires %{_builddir}/Class-C3-Componentised-%{version}/%{name}-req
+chmod +x %{__perl_requires}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+
+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 \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README t/
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Dec 05 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.0001-3
+- filter perl(base). I knew there was a reason I did that...
+
+* Tue Dec 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.0001-2
+- drop errant requires filtering...
+
+* Tue Sep 18 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.0001-1
+- Specfile autogenerated by cpanspec 1.71.
diff --git a/sources b/sources
index e69de29..42b7a4d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0e006802cff4acc319d00f4082239f9d Class-C3-Componentised-1.0001.tar.gz
reply other threads:[~2026-08-03 7:07 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=178574086460.1.18416487080448974719.rpms-perl-Class-C3-Componentised-4680851529fa@fedoraproject.org \
--to=cweyl@fedoraproject.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