|
|
|
@ -1,28 +1,35 @@
|
|
|
|
|
Name: perl-DBD-SQLite
|
|
|
|
|
Version: 1.37
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 1.39
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: SQLite DBI Driver
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: http://search.cpan.org/dist/DBD-SQLite/
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/DBD-SQLite-%{version}.tar.gz
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/DBD-SQLite-%{version}.tar.gz
|
|
|
|
|
patch0: perl-DBD-SQLite-bz543982.patch
|
|
|
|
|
# if sqlite >= 3.1.3 then
|
|
|
|
|
# perl-DBD-SQLite uses the external library
|
|
|
|
|
# else
|
|
|
|
|
# perl-DBD-SQLite is self-contained (uses the sqlite local copy)
|
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
|
BuildRequires: perl(DynaLoader)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
# Prevent bug #443495
|
|
|
|
|
BuildRequires: perl(DBI) >= 1.607
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Tests only
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.82
|
|
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
BuildRequires: perl(locale)
|
|
|
|
|
BuildRequires: perl(Test::Builder)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.42
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
@ -44,10 +51,9 @@ CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags} OPTIMIZE="%{optflags}"
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f \( -name .packlist -o \
|
|
|
|
|
-name '*.bs' -size 0 \) -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -depth -type d -empty -exec rmdir {} ';'
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -60,6 +66,11 @@ make test
|
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jun 10 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.39-1
|
|
|
|
|
- 1.39 bump
|
|
|
|
|
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
|
|
- Update source URL
|
|
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|