- drop verbose.patch: largely supersceded

- auto-update to 0.08102 (by cpan-spec-update 0.01)
- added a new br on perl(MRO::Compat) (version 0.09)
- added a new br on perl(Test::Warn) (version 0.11)
- altered br on perl(SQL::Abstract) (1.24 => 1.51)
- added a new br on perl(Sub::Name) (version 0.04)
- altered br on perl(Test::Builder) (0.32 => 0.33)
- altered br on perl(Class::C3::Componentised) (0 => 1.0005)
- altered br on perl(Class::Accessor::Grouped) (0.08002 => 0.08003)
- added a new br on perl(Path::Class) (version 0)
epel9
Chris Weyl 16 years ago
parent baca6795a6
commit af1e231a02

@ -1 +1 @@
DBIx-Class-0.08012.tar.gz DBIx-Class-0.08102.tar.gz

@ -1,48 +1,44 @@
%define _default_patch_fuzz 2 %define _default_patch_fuzz 2
Name: perl-DBIx-Class Name: perl-DBIx-Class
Version: 0.08012 Version: 0.08102
Release: 3%{?dist} Release: 1%{?dist}
Summary: Extensible and flexible object <-> relational mapper Summary: Extensible and flexible object <-> relational mapper
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/DBIx-Class/ URL: http://search.cpan.org/dist/DBIx-Class/
Source0: http://www.cpan.org/authors/id/R/RI/RIBASUSHI/DBIx-Class-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/DBIx-Class-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
## patches...
# make tests skip a little more verbosely
Patch3: verbose.patch
# core # core
BuildRequires: perl >= 1:5.6.1 BuildRequires: perl >= 1:5.6.1
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Storable) BuildRequires: perl(Storable)
BuildRequires: perl(Test::Builder) >= 0.32 BuildRequires: perl(Test::Builder) >= 0.33
BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Deep)
## Dependencies ## Dependencies
BuildRequires: perl(Carp::Clan) BuildRequires: perl(Carp::Clan)
BuildRequires: perl(Class::Accessor::Grouped) >= 0.08002 BuildRequires: perl(Class::Accessor::Grouped) >= 0.08003
BuildRequires: perl(Class::C3) >= 0.2 BuildRequires: perl(Class::C3) >= 0.2
BuildRequires: perl(Class::C3::Componentised) BuildRequires: perl(Class::C3::Componentised) >= 1.0005
# for CDBI-compat bits... # for CDBI-compat bits...
BuildRequires: perl(Class::Data::Inheritable) BuildRequires: perl(Class::Data::Inheritable)
BuildRequires: perl(Class::Inspector) BuildRequires: perl(Class::Inspector)
BuildRequires: perl(Class::Trigger) BuildRequires: perl(Class::Trigger)
BuildRequires: perl(Data::Page) >= 2 BuildRequires: perl(Data::Page) >= 2
# see BZ#245699 -- requires patched version, not CPAN # see BZ#245699 -- requires patched version, not CPAN
BuildRequires: perl(DBD::SQLite) >= 1.13 BuildRequires: perl(DBD::SQLite) >= 1.13
BuildRequires: perl(DBI) >= 1.4 BuildRequires: perl(DBI) >= 1.4
BuildRequires: perl(DBIx::ContextualFetch) BuildRequires: perl(DBIx::ContextualFetch)
BuildRequires: perl(JSON::Any) >= 1.17 BuildRequires: perl(JSON::Any) >= 1.17
BuildRequires: perl(List::Util) >= 1.19 BuildRequires: perl(List::Util) >= 1.19
BuildRequires: perl(Module::Find) BuildRequires: perl(Module::Find)
BuildRequires: perl(Scope::Guard) >= 0.03 BuildRequires: perl(Scope::Guard) >= 0.03
BuildRequires: perl(SQL::Abstract) >= 1.24 BuildRequires: perl(SQL::Abstract) >= 1.51
# darn RPM version compares... # darn RPM version compares...
#BuildRequires: perl(SQL::Abstract::Limit) >= 0.13 #BuildRequires: perl(SQL::Abstract::Limit) >= 0.13
BuildRequires: perl(SQL::Abstract::Limit) >= 0.13 BuildRequires: perl(SQL::Abstract::Limit) >= 0.13
@ -64,10 +60,16 @@ Requires: perl(Class::Accessor::Grouped) >= 0.05002
Requires: perl(Class::C3::Componentised) Requires: perl(Class::C3::Componentised)
Requires: perl(SQL::Abstract) >= 1.2 Requires: perl(SQL::Abstract) >= 1.2
# not picked up automagically (yet)... # not picked up automagically (yet)...
Provides: perl(DBIx::Class::ClassResolver::PassThrough) = 0 Provides: perl(DBIx::Class::ClassResolver::PassThrough) = 0
Provides: perl(DBIx::Class::Storage::TxnScopeGuard) = 0 Provides: perl(DBIx::Class::Storage::TxnScopeGuard) = 0
### auto-added brs!
BuildRequires: perl(MRO::Compat) >= 0.09
BuildRequires: perl(Test::Warn) >= 0.11
BuildRequires: perl(Sub::Name) >= 0.04
BuildRequires: perl(Path::Class)
%description %description
This is an SQL to OO mapper with an object API inspired by Class::DBI This is an SQL to OO mapper with an object API inspired by Class::DBI
(and a compatibility layer as a springboard for porting) and a (and a compatibility layer as a springboard for porting) and a
@ -81,24 +83,20 @@ DISTINCT, GROUP BY and HAVING support.
%prep %prep
%setup -q -n DBIx-Class-%{version} %setup -q -n DBIx-Class-%{version}
# tell us why we're skipping, eh?
%patch3
find t/ -type f -exec perl -pi -e 's|\r||; s|^#!perl|#!/usr/bin/perl|' {} + find t/ -type f -exec perl -pi -e 's|\r||; s|^#!perl|#!/usr/bin/perl|' {} +
find . -type f -exec chmod -c -x {} + find . -type f -exec chmod -c -x {} +
find t/ -type f -name '*.orig' -exec rm -v {} + find t/ -type f -name '*.orig' -exec rm -v {} +
# utf8 issues # utf8 issues
BAD='README ./lib/DBIx/Class/Storage/DBI/Replication.pm ./lib/DBIx/Class.pm' for i in `find . -type f` ; do
for i in $BAD ; do
iconv -f iso8859-1 -t UTF-8 $i > foo iconv -f iso8859-1 -t UTF-8 $i > foo
mv foo $i mv foo $i
done done
# Filter unwanted Provides: # Filter unwanted Provides:
cat << \EOF > %{name}-prov cat << \EOF > %{name}-prov
#!/bin/sh #!/bin/sh
%{__perl_provides} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'` %{__perl_provides} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'`
EOF EOF
%define __perl_provides %{_builddir}/DBIx-Class-%{version}/%{name}-prov %define __perl_provides %{_builddir}/DBIx-Class-%{version}/%{name}-prov
@ -108,7 +106,7 @@ chmod +x %{__perl_provides}
cat << \EOF > %{name}-req cat << \EOF > %{name}-req
#!/bin/sh #!/bin/sh
%{__perl_requires} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'` |\ %{__perl_requires} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'` |\
sed -e '/perl(DBD::Pg)/d' sed -e '/perl(DBD::Pg)/d'
EOF EOF
%define __perl_requires %{_builddir}/DBIx-Class-%{version}/%{name}-req %define __perl_requires %{_builddir}/DBIx-Class-%{version}/%{name}-req
@ -123,7 +121,7 @@ rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} + find %{buildroot} -type f -name .packlist -exec rm -f {} +
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
@ -137,13 +135,25 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc Changes README t/ %doc Changes README examples/ t/
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_bindir}/* %{_bindir}/*
%{_mandir}/man[13]/* %{_mandir}/man[13]/*
%changelog %changelog
* Sun May 24 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.08102-1
- drop verbose.patch: largely supersceded
- auto-update to 0.08102 (by cpan-spec-update 0.01)
- added a new br on perl(MRO::Compat) (version 0.09)
- added a new br on perl(Test::Warn) (version 0.11)
- altered br on perl(SQL::Abstract) (1.24 => 1.51)
- added a new br on perl(Sub::Name) (version 0.04)
- altered br on perl(Test::Builder) (0.32 => 0.33)
- altered br on perl(Class::C3::Componentised) (0 => 1.0005)
- altered br on perl(Class::Accessor::Grouped) (0.08002 => 0.08003)
- added a new br on perl(Path::Class) (version 0)
* Sun Mar 22 2009 Robert Scheck <robert@fedoraproject.org> 0.08012-3 * Sun Mar 22 2009 Robert Scheck <robert@fedoraproject.org> 0.08012-3
- Added missing build requirement perl(Test::Deep) for make tests - Added missing build requirement perl(Test::Deep) for make tests
- Re-diffed make tests patch for more verbosity when skipping tests - Re-diffed make tests patch for more verbosity when skipping tests
@ -155,7 +165,7 @@ rm -rf %{buildroot}
- update to 0.08012 - update to 0.08012
* Thu Oct 16 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.08010-9 * Thu Oct 16 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.08010-9
- stop filtering perl(DBD::Multi) - stop filtering perl(DBD::Multi)
* Sun Oct 05 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.08010-8 * Sun Oct 05 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.08010-8
- filter all prov/req from anything under _docdir - filter all prov/req from anything under _docdir

@ -1 +1 @@
8d8c526f812d6213a04c6644d52a44b1 DBIx-Class-0.08012.tar.gz b264dff25843c2a83d1bc7fa5ff96479 DBIx-Class-0.08102.tar.gz

@ -1,38 +0,0 @@
--- t/86sqlt.t 2009-02-11 00:33:56.000000000 +0100
+++ t/86sqlt.t.verbose 2009-03-22 18:52:18.000000000 +0100
@@ -6,7 +6,7 @@
use DBICTest;
eval "use SQL::Translator";
-plan skip_all => 'SQL::Translator required' if $@;
+plan skip_all => "SQL::Translator required: $@" if $@;
my $schema = DBICTest->init_schema;
--- t/94versioning.t 2009-02-11 00:33:56.000000000 +0100
+++ t/94versioning.t.verbose 2009-03-22 18:52:47.000000000 +0100
@@ -7,7 +7,7 @@
BEGIN {
eval "use DBD::SQLite; use SQL::Translator 0.09003;";
plan $@
- ? ( skip_all => 'needs DBD::SQLite and SQL::Translator 0.09003 for testing' )
+ ? ( skip_all => "needs DBD::SQLite and SQL::Translator 0.09003 for testing: $@" )
: ( tests => 6 );
}
--- t/cdbi-t/03-subclassing.t 2009-02-11 00:33:49.000000000 +0100
+++ t/cdbi-t/03-subclassing.t.verbose 2009-03-22 18:53:24.000000000 +0100
@@ -8,11 +8,11 @@
BEGIN {
eval "use DBIx::Class::CDBICompat;";
if ($@) {
- plan (skip_all => 'Class::Trigger and DBIx::ContextualFetch required');
+ plan (skip_all => "Class::Trigger and DBIx::ContextualFetch required: $@");
next;
}
eval "use DBD::SQLite";
- plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 6);
+ plan $@ ? (skip_all => "needs DBD::SQLite for testing: $@") : (tests => 6);
}
use lib 't/testlib';
Loading…
Cancel
Save