[perl-DBIx-Class-IntrospectableM2M] initial import (rhbz#781795)
Iain Arnell
iarnell at fedoraproject.org
Fri Feb 3 05:23:15 UTC 2012
commit 1bbc7834319e2d6eec2133f0ed70c5b1edd198bb
Author: Iain Arnell <iarnell at gmail.com>
Date: Fri Feb 3 06:23:07 2012 +0100
initial import (rhbz#781795)
.gitignore | 1 +
perl-DBIx-Class-IntrospectableM2M.spec | 48 ++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..857bd92 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/DBIx-Class-IntrospectableM2M-0.001001.tar.gz
diff --git a/perl-DBIx-Class-IntrospectableM2M.spec b/perl-DBIx-Class-IntrospectableM2M.spec
new file mode 100644
index 0000000..7fa04c0
--- /dev/null
+++ b/perl-DBIx-Class-IntrospectableM2M.spec
@@ -0,0 +1,48 @@
+Name: perl-DBIx-Class-IntrospectableM2M
+Version: 0.001001
+Release: 1%{?dist}
+Summary: Introspect many-to-many shortcuts
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/DBIx-Class-IntrospectableM2M/
+Source0: http://www.cpan.org/authors/id/G/GR/GRODITI/DBIx-Class-IntrospectableM2M-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(DBIx::Class)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::More)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Because the many-to-many relationships are not real relationships, they can
+not be introspected with DBIx::Class. Many-to-many relationships are
+actually just a collection of convenience methods installed to bridge two
+relationships. This DBIx::Class component can be used to store all relevant
+information about these non-relationships so they can later be introspected
+and examined.
+
+%prep
+%setup -q -n DBIx-Class-IntrospectableM2M-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+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 \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Jan 13 2012 Iain Arnell <iarnell at gmail.com> 0.001001-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..8d37b30 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9c05959fdb632062ec827ec0c7335eae DBIx-Class-IntrospectableM2M-0.001001.tar.gz
More information about the scm-commits
mailing list