rpms/perl-Data-ObjectDriver/F-10 import.log, NONE, 1.1 perl-Data-ObjectDriver-sqlite-test.patch, NONE, 1.1 perl-Data-ObjectDriver.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: eseyman

Update of /cvs/pkgs/rpms/perl-Data-ObjectDriver/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5518/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-Data-ObjectDriver-sqlite-test.patch 
	perl-Data-ObjectDriver.spec 
Log Message:
Initial import.



--- NEW FILE import.log ---
perl-Data-ObjectDriver-0_06-3_fc10:F-10:perl-Data-ObjectDriver-0.06-3.fc10.src.rpm:1244102260

perl-Data-ObjectDriver-sqlite-test.patch:

--- NEW FILE perl-Data-ObjectDriver-sqlite-test.patch ---
--- t/02-basic.t.orig	2009-04-27 22:32:51.000000000 +0200
+++ t/02-basic.t	2009-04-27 22:33:26.000000000 +0200
@@ -242,7 +242,10 @@
         ok $w->save, "Saving bad_wine $name";
     }
     # note sqlite is stupid and doesn't return the number of affected rows
-    is (Wine->remove({}, { nofetch => 1 }), '0E0', 'removing all bad wine');
+    # quick hack because I can't rely on version.pm to be installed everywhere
+    my ($sqlite_version) = Wine->driver->rw_handle->{sqlite_version} =~ /(\d+(?:\.\d+))/;
+    my $count = $sqlite_version > 3.5 ? scalar @bad_wines : "0E0";
+    is (Wine->remove({}, { nofetch => 1 }), $count, 'removing all bad wine');
 }
 
 # different utilities


--- NEW FILE perl-Data-ObjectDriver.spec ---
Name:           perl-Data-ObjectDriver
Version:        0.06
Release:        3%{?dist}
Summary:        Simple, transparent data interface, with caching
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Data-ObjectDriver/
Source0:        http://www.cpan.org/authors/id/B/BT/BTROTT/Data-ObjectDriver-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(DBI)
BuildRequires:  perl(DBD::SQLite)
BuildRequires:  perl(Test::Exception)
BuildRequires:  perl(Class::Accessor::Fast)
BuildRequires:  perl(Class::Data::Inheritable)
BuildRequires:  perl(Class::Trigger)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

# https://rt.cpan.org/Ticket/Display.html?id=45186
Patch0: perl-Data-ObjectDriver-sqlite-test.patch

%description
Data::ObjectDriver is an object relational mapper, meaning that it maps object-
oriented design concepts onto a relational database.

%prep
%setup -q -n Data-ObjectDriver-%{version}

%patch0

# Filter unwanted Requires:
cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} $* |\
  sed -e '/perl(DBD::Oracle)/d'
EOF

%define __perl_requires %{_builddir}/Data-ObjectDriver-%{version}/%{name}-req
chmod +x %{__perl_requires}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Thu Apr 16 2009 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.06-3
- Re-enable auto-Requires, for real this time
- Add DBD::SQLite to the BuildRequires
- Patch t/02-basic.t to pass on sqlite 3.5.9

* Wed Apr 15 2009 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.06-2
- Re-enable auto-Requires
- Exclude DBD::Oracle from them

* Sun Apr 11 2009 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.06-1
- Use Module::Install calls rather than ./Build.PL ones
- run tests in the check section
- clean up Requires
- Update to 0.06

* Mon Dec 29 2008 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.05-1
- Specfile autogenerated by cpanspec 1.77.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Data-ObjectDriver/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	3 Jun 2009 16:53:05 -0000	1.1
+++ .cvsignore	4 Jun 2009 07:58:13 -0000	1.2
@@ -0,0 +1 @@
+Data-ObjectDriver-0.06.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Data-ObjectDriver/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	3 Jun 2009 16:53:06 -0000	1.1
+++ sources	4 Jun 2009 07:58:13 -0000	1.2
@@ -0,0 +1 @@
+ff9a34c466b0e200b14b56e1aec8bcbf  Data-ObjectDriver-0.06.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux