461834
# Run optional test
461834
%bcond_without perl_DBD_SQLite_enables_optional_test
461834
461834
Name:           perl-DBD-SQLite
461834
Version:        1.58
461834
Release:        2%{?dist}
461834
Summary:        SQLite DBI Driver
461834
# lib/DBD/SQLite.pm:        GPL+ or Artistic
461834
# LICENSE:                  GPL+ or Artistic
461834
## unbundled
461834
# inc/Test/NoWarnings.pm:   LGPLv2+
461834
# sqlite3.c:                Public Domain (copied from sqlite)
461834
# sqlite3.h:                Public Domain (copied from sqlite)
461834
# sqlite3ext.h:             Public Domain (copied from sqlite)
461834
License:        (GPL+ or Artistic) and Public Domain
461834
URL:            http://search.cpan.org/dist/DBD-SQLite/
461834
Source0:        http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/DBD-SQLite-%{version}.tar.gz
461834
Patch0:         perl-DBD-SQLite-bz543982.patch
461834
# Remove notes about bundled sqlite C source from man page and README
461834
Patch1:         DBD-SQLite-1.50-Remove-bundled-source-extentions.patch
461834
# Adapt tests to unbundled Test::NoWarnings
461834
Patch2:         DBD-SQLite-1.58-Unbundle-Test-NoWarnings.patch
461834
# if sqlite >= 3.6.0 then
461834
#   perl-DBD-SQLite uses the external library
461834
# else
461834
#   perl-DBD-SQLite is self-contained (uses the sqlite local copy)
461834
# But we always unbundle sqlite.
461834
BuildRequires:  sqlite-devel
461834
BuildRequires:  coreutils
461834
BuildRequires:  findutils
461834
BuildRequires:  gcc
461834
BuildRequires:  make
461834
BuildRequires:  perl-devel
461834
BuildRequires:  perl-generators
461834
BuildRequires:  perl-interpreter
461834
BuildRequires:  perl(:VERSION) >= 5.6
461834
BuildRequires:  perl(base)
461834
BuildRequires:  perl(Config)
461834
BuildRequires:  perl(constant)
461834
# Prevent bug #443495
461834
BuildRequires:  perl(DBI) >= 1.607
461834
BuildRequires:  perl(DBI::DBD)
461834
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
461834
BuildRequires:  perl(File::Spec) >= 0.82
461834
BuildRequires:  perl(strict)
461834
# Run-time:
461834
BuildRequires:  perl(DynaLoader)
461834
# File::Basename not used
461834
BuildRequires:  perl(locale)
461834
BuildRequires:  perl(Scalar::Util)
461834
BuildRequires:  perl(Tie::Hash)
461834
BuildRequires:  perl(warnings)
461834
BuildRequires:  sed
461834
# Tests only
461834
BuildRequires:  perl(bytes)
461834
BuildRequires:  perl(Carp)
461834
BuildRequires:  perl(Data::Dumper)
461834
BuildRequires:  perl(Encode)
461834
BuildRequires:  perl(Exporter)
461834
BuildRequires:  perl(File::Spec::Functions)
461834
BuildRequires:  perl(File::Temp)
461834
BuildRequires:  perl(FindBin)
461834
BuildRequires:  perl(lib)
461834
# POSIX not used
461834
BuildRequires:  perl(Test::More)
461834
BuildRequires:  perl(Test::NoWarnings) >= 0.081
461834
# Win32 not used
461834
%if %{with perl_DBD_SQLite_enables_optional_test}
461834
# Optional tests
461834
BuildRequires:  perl(Unicode::UCD)
461834
%endif
461834
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
461834
461834
%{?perl_default_filter}
461834
461834
%description
461834
SQLite is a public domain RDBMS database engine that you can find at
461834
http://www.hwaci.com/sw/sqlite/.
461834
461834
This module provides a SQLite RDBMS module that uses the system SQLite 
461834
libraries.
461834
461834
%prep
461834
%setup -q -n DBD-SQLite-%{version}
461834
%patch0 -p1
461834
%patch1 -p1
461834
%patch2 -p1
461834
# Remove bundled sqlite libraries (BZ#1059154)
461834
# System libraries will be used
461834
rm sqlite*
461834
sed -i -e '/^sqlite/ d' MANIFEST
461834
# Remove bundled modules
461834
rm -rf inc
461834
sed -i -e '/^inc\// d' MANIFEST
461834
461834
%build
461834
CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
461834
make %{?_smp_mflags} OPTIMIZE="%{optflags}"
461834
461834
%install
461834
make pure_install DESTDIR=%{buildroot}
461834
find %{buildroot} -type f  -name '*.bs' -size 0 -delete
461834
%{_fixperms} %{buildroot}/*
461834
461834
%check
461834
make test
461834
461834
%files
461834
%license LICENSE
461834
%doc Changes README
461834
%{perl_vendorarch}/auto/*
461834
%{perl_vendorarch}/DBD/
461834
%{_mandir}/man3/*.3pm*
461834
461834
%changelog
461834
* Thu Mar 28 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.58-2
461834
- Add missing LICENSE file (bug #1691279)
461834
461834
* Thu Mar 29 2018 Petr Pisar <ppisar@redhat.com> - 1.58-1
461834
- 1.58 bump
461834
461834
* Thu Mar  1 2018 Florian Weimer <fweimer@redhat.com> - 1.56-2
461834
- Rebuild with new redhat-rpm-config/perl build flags
461834
461834
* Thu Mar 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.56-1
461834
- 1.56 bump
461834
461834
* Mon Feb 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.54-7
461834
- Add build-require gcc
461834
461834
* Thu Feb 08 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.54-6
461834
- Adjust to sqlite-3.22.0 (bug #1543286)
461834
- Add new index constraint ops introduced in SQLite 3.21.0 to PerlData
461834
461834
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.54-5
461834
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
461834
461834
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.54-4
461834
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
461834
461834
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.54-3
461834
- Perl 5.26 rebuild
461834
461834
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.54-2
461834
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
461834
461834
* Mon Jan 02 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.54-1
461834
- 1.54 bump
461834
461834
* Wed Nov 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.52-1
461834
- 1.52 bump
461834
461834
* Sun Jul 24 2016 Petr Pisar <ppisar@redhat.com> - 1.50-4
461834
- Enable perl FTS3 tokenizer with sqlite older than 3.11.0 (CPAN RT#112474)
461834
461834
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.50-3
461834
- Perl 5.24 rebuild
461834
461834
* Thu Feb 18 2016 Petr Pisar <ppisar@redhat.com> - 1.50-2
461834
- Adjust to sqlite-3.11.0 (bug #1309675)
461834
- Rebase Remove-bundled-source-extentions.patch to prevent from packing backup
461834
  files
461834
461834
* Thu Feb 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.50-1
461834
- 1.50 bump
461834
461834
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.48-4
461834
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
461834
461834
* Fri Jan 15 2016 Petr Pisar <ppisar@redhat.com> - 1.48-3
461834
- Adapt to sqlite-3.10.0 by adding DBD::SQLite::strlike() (bug #1298628)
461834
461834
* Fri Jun 19 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.48-2
461834
- Updated patch
461834
461834
* Thu Jun 18 2015 Tom Callaway <spot@fedoraproject.org> - 1.48-1
461834
- update to 1.48
461834
461834
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.46-4
461834
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
461834
461834
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.46-3
461834
- Perl 5.22 rebuild
461834
461834
* Fri Mar 20 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.46-2
461834
- Correct license from (GPL+ or Artistic) to ((GPL+ or Artistic) and
461834
  Public Domain)
461834
461834
* Wed Dec 10 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.46-1
461834
- 1.46 bump
461834
461834
* Wed Oct 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-1
461834
- 1.44 bump
461834
461834
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.42-5
461834
- Perl 5.20 rebuild
461834
461834
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-4
461834
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
461834
461834
* Tue Jul 15 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.42-3
461834
- Removed bundled sqlite library and updated man page (BZ#1059154)
461834
461834
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-2
461834
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
461834
461834
* Thu Mar 20 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.42-1
461834
- 1.42 bump
461834
461834
* Wed Jan 29 2014 Petr Pisar <ppisar@redhat.com> - 1.40-3
461834
- Fix tests with sqlite >= 3.8.2 (bug #1058709)
461834
461834
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.40-2
461834
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
461834
461834
* Wed Jul 31 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-1
461834
- 1.40 bump
461834
461834
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 1.39-2
461834
- Perl 5.18 rebuild
461834
461834
* Mon Jun 10 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.39-1
461834
- 1.39 bump
461834
- Use DESTDIR rather than PERL_INSTALL_ROOT
461834
- Update source URL
461834
461834
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-4
461834
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
461834
461834
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-3
461834
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
461834
461834
* Sat Jun 16 2012 Petr Pisar <ppisar@redhat.com> - 1.37-2
461834
- Perl 5.16 rebuild
461834
461834
* Tue Jun 12 2012 Petr Šabata <contyk@redhat.com> - 1.37-1
461834
- 1.37 bump (sqlite3.7.11 and various bugfixes)
461834
- Drop command macros
461834
- Fix dependencies
461834
461834
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.35-2
461834
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
461834
461834
* Tue Nov 29 2011 Petr Šabata <contyk@redhat.com> - 1.35-1
461834
- 1.35 bump
461834
461834
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.33-2
461834
- Perl mass rebuild
461834
461834
* Mon May 30 2011 Petr Sabata <contyk@redhat.com> - 1.33-1
461834
- 1.33 bump
461834
- BuildRoot and defattr cleanup
461834
- Dropping the FTS3 tests patch; included upstream
461834
461834
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.31-3
461834
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
461834
461834
* Wed Sep 29 2010 jkeating - 1.31-2
461834
- Rebuilt for gcc bug 634757
461834
461834
* Wed Sep 15 2010 Petr Sabata <psabata@redhat.com> - 1.31-1
461834
- New release, v1.31
461834
- Significant FTS3 changes -- might break compatibility with pre-1.30 applications using FTS3
461834
- New FTS3 tests patch by Paul Howarth
461834
461834
* Tue Aug 24 2010 Adam Tkac <atkac redhat com> - 1.29-4
461834
- fix testsuite to run with the latest sqlite (bugs.debian.org/591111)
461834
461834
* Tue Aug 24 2010 Adam Tkac <atkac redhat com> - 1.29-3
461834
- rebuild
461834
461834
* Mon Jun 28 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.29-2
461834
- fix description/summary
461834
461834
* Thu Jun 10 2010 Petr Sabata <psabata@redhat.com> - 1.29-1
461834
- Update to the latest release
461834
461834
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.27-4
461834
- Mass rebuild with perl-5.12.0
461834
461834
* Mon Jan 11 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.27-3
461834
- 543982 change Makefile.PL to compile with system sqlite
461834
461834
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.27-2
461834
- rebuild against perl 5.10.1
461834
461834
* Wed Nov 25 2009 Stepan Kasal <skasal@redhat.com> 1.27-1
461834
- new upstream version
461834
461834
* Fri Sep 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 1.25-4
461834
- Filtering errant private provides
461834
461834
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-3
461834
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
461834
461834
* Wed Jun 10 2009 Stepan Kasal <skasal@redhat.com> 1.25-2
461834
- rebuild against DBI 1.609
461834
461834
* Fri May 29 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.25-1
461834
- 1.25 needed for DBIx::Class 0.08103
461834
- auto-update to 1.25 (by cpan-spec-update 0.01)
461834
- added a new br on perl(File::Spec) (version 0.82)
461834
- altered br on perl(Test::More) (0 => 0.42)
461834
- added a new br on perl(DBI) (version 1.57)
461834
461834
* Mon Apr 20 2009 Marcela Maslanova <mmaslano@redhat.com> 1.23-1
461834
- update to the latest version
461834
461834
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-9
461834
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
461834
461834
* Mon Jun  2 2008 Marcela Maslanova <mmaslano@redhat.com> 1.14-8
461834
461834
* Wed Mar 19 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.14-7
461834
- reenable tests
461834
461834
* Tue Mar 18 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.14-6
461834
- apply sanity patches derived from RT#32100
461834
461834
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.14-5.1
461834
- Rebuild for perl 5.10 (again)
461834
461834
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.14-4.1
461834
- Autorebuild for GCC 4.3
461834
461834
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.14-3.1
461834
- tests disabled, due to x86_64 failures
461834
461834
* Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.14-3
461834
- rebuild for new perl
461834
461834
* Wed Dec 19 2007 Steven Pritchard <steve@kspei.com> 1.14-2
461834
- Fix find option order.
461834
- Use fixperms macro instead of our own chmod incantation.
461834
461834
* Mon Dec 10 2007 Robin Norwood <rnorwood@redhat.com> - 1.14-1
461834
- Update to latest upstream version: 1.14
461834
- Remove patch - no longer needed.
461834
461834
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-2.1
461834
- correct license tag
461834
- add BR: perl(ExtUtils::MakeMaker)
461834
461834
* Thu Sep 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.12-2
461834
- Rebuild for FC6.
461834
461834
* Tue Apr 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.12-1
461834
- Update to 1.12.
461834
461834
* Wed Apr  5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.11-4
461834
- Patch to build with system sqlite 3.3.x (#183530).
461834
- Patch to avoid type information segv (#187873).
461834
461834
* Thu Mar  9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.11-3
461834
- DBD::SQLite fails to build with the current FC-5 sqlite version (3.3.3);
461834
  see bugzilla entry #183530.
461834
  Forcing package rebuild with the included version of sqlite (3.2.7).
461834
461834
* Sat Feb 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.11-2
461834
- Rebuild for FC5 (perl 5.8.8).
461834
461834
* Fri Dec  2 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.11-1
461834
- Update to 1.11.
461834
461834
* Fri Dec  2 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.10-1
461834
- Update to 1.10.
461834
461834
* Fri Jul 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.09-2
461834
- Build requirement added: sqlite-devel.
461834
- Doc file added: Changes.
461834
461834
* Fri Jul 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.09-1
461834
- Update to 1.09.
461834
- This new version can use an external SQLite library (>= 3.1.3).
461834
461834
* Sun Jun 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.08-2
461834
- temporary maintainership.
461834
461834
* Sat Jun 11 2005 Michael A. Peters <mpeters@mac.com> 1.08-1.1
461834
- minor changes for initial cvs checkin (removed tabs, better url in
461834
- url tag and description tag)
461834
461834
* Tue Apr 12 2005 Michael A. Peters <mpeters@mac.com> 1.08-1
461834
- created initial spec file from Fedora spectemplate-perl.spec