From 468769ab484ecab40b91deb594220bc2f3c4d5ca Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 31 2019 06:48:06 +0000 Subject: import perl-DBD-SQLite-1.39-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..02c53ef --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/DBD-SQLite-1.39.tar.gz diff --git a/.perl-DBD-SQLite.metadata b/.perl-DBD-SQLite.metadata new file mode 100644 index 0000000..fc442c4 --- /dev/null +++ b/.perl-DBD-SQLite.metadata @@ -0,0 +1 @@ +73c6a48ce0f05ccfef50bb656b72f2c050ddf9fe SOURCES/DBD-SQLite-1.39.tar.gz diff --git a/SOURCES/perl-DBD-SQLite-bz543982.patch b/SOURCES/perl-DBD-SQLite-bz543982.patch new file mode 100644 index 0000000..6057ce0 --- /dev/null +++ b/SOURCES/perl-DBD-SQLite-bz543982.patch @@ -0,0 +1,12 @@ +diff -up DBD-SQLite-1.27/Makefile.PL.old DBD-SQLite-1.27/Makefile.PL +--- DBD-SQLite-1.27/Makefile.PL.old 2009-11-23 12:08:05.000000000 +0100 ++++ DBD-SQLite-1.27/Makefile.PL 2010-01-11 15:40:56.456399143 +0100 +@@ -123,7 +123,7 @@ if ( $@ or DBI->VERSION < $DBI_required + # a system sqlite is also sophisticated enough to have a patching system + # that can change the if ( 0 ) to if ( 1 ) + my ($sqlite_local, $sqlite_base, $sqlite_lib, $sqlite_inc); +-if ( 0 ) { ++if ( 1 ) { + require File::Spec; + if ( $sqlite_base = (grep(/SQLITE_LOCATION=.*/, @ARGV))[0] ) { + $sqlite_base =~ /=(.*)/; diff --git a/SPECS/perl-DBD-SQLite.spec b/SPECS/perl-DBD-SQLite.spec new file mode 100644 index 0000000..ccb922d --- /dev/null +++ b/SPECS/perl-DBD-SQLite.spec @@ -0,0 +1,237 @@ +Name: perl-DBD-SQLite +Version: 1.39 +Release: 3%{?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/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)) + +%{?perl_default_filter} + +%description +SQLite is a public domain RDBMS database engine that you can find at +http://www.hwaci.com/sw/sqlite/. + +This module provides a SQLite RDBMS module that uses the system SQLite +libraries. + +%prep +%setup -q -n DBD-SQLite-%{version} +%patch0 -p1 -b .bz543982 + +%build +CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} OPTIMIZE="%{optflags}" + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f \( -name .packlist -o \ + -name '*.bs' -size 0 \) -exec rm -f {} ';' +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/DBD/ +%{_mandir}/man3/*.3pm* + +%changelog +* Fri Jan 24 2014 Daniel Mach - 1.39-3 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 1.39-2 +- Mass rebuild 2013-12-27 + +* Mon Jun 10 2013 Jitka Plesnikova - 1.39-1 +- 1.39 bump +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Update source URL + +* Thu Feb 14 2013 Fedora Release Engineering - 1.37-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 1.37-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jun 16 2012 Petr Pisar - 1.37-2 +- Perl 5.16 rebuild + +* Tue Jun 12 2012 Petr Šabata - 1.37-1 +- 1.37 bump (sqlite3.7.11 and various bugfixes) +- Drop command macros +- Fix dependencies + +* Fri Jan 13 2012 Fedora Release Engineering - 1.35-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Nov 29 2011 Petr Šabata - 1.35-1 +- 1.35 bump + +* Tue Jun 21 2011 Marcela Mašláňová - 1.33-2 +- Perl mass rebuild + +* Mon May 30 2011 Petr Sabata - 1.33-1 +- 1.33 bump +- BuildRoot and defattr cleanup +- Dropping the FTS3 tests patch; included upstream + +* Tue Feb 08 2011 Fedora Release Engineering - 1.31-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Sep 29 2010 jkeating - 1.31-2 +- Rebuilt for gcc bug 634757 + +* Wed Sep 15 2010 Petr Sabata - 1.31-1 +- New release, v1.31 +- Significant FTS3 changes -- might break compatibility with pre-1.30 applications using FTS3 +- New FTS3 tests patch by Paul Howarth + +* Tue Aug 24 2010 Adam Tkac - 1.29-4 +- fix testsuite to run with the latest sqlite (bugs.debian.org/591111) + +* Tue Aug 24 2010 Adam Tkac - 1.29-3 +- rebuild + +* Mon Jun 28 2010 Tom "spot" Callaway - 1.29-2 +- fix description/summary + +* Thu Jun 10 2010 Petr Sabata - 1.29-1 +- Update to the latest release + +* Fri Apr 30 2010 Marcela Maslanova - 1.27-4 +- Mass rebuild with perl-5.12.0 + +* Mon Jan 11 2010 Marcela Mašláňová - 1.27-3 +- 543982 change Makefile.PL to compile with system sqlite + +* Mon Dec 7 2009 Stepan Kasal - 1.27-2 +- rebuild against perl 5.10.1 + +* Wed Nov 25 2009 Stepan Kasal 1.27-1 +- new upstream version + +* Fri Sep 11 2009 Chris Weyl - 1.25-4 +- Filtering errant private provides + +* Sat Jul 25 2009 Fedora Release Engineering - 1.25-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Jun 10 2009 Stepan Kasal 1.25-2 +- rebuild against DBI 1.609 + +* Fri May 29 2009 Chris Weyl 1.25-1 +- 1.25 needed for DBIx::Class 0.08103 +- auto-update to 1.25 (by cpan-spec-update 0.01) +- added a new br on perl(File::Spec) (version 0.82) +- altered br on perl(Test::More) (0 => 0.42) +- added a new br on perl(DBI) (version 1.57) + +* Mon Apr 20 2009 Marcela Maslanova 1.23-1 +- update to the latest version + +* Thu Feb 26 2009 Fedora Release Engineering - 1.14-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Jun 2 2008 Marcela Maslanova 1.14-8 + +* Wed Mar 19 2008 Chris Weyl 1.14-7 +- reenable tests + +* Tue Mar 18 2008 Chris Weyl 1.14-6 +- apply sanity patches derived from RT#32100 + +* Wed Feb 27 2008 Tom "spot" Callaway - 1.14-5.1 +- Rebuild for perl 5.10 (again) + +* Tue Feb 19 2008 Fedora Release Engineering - 1.14-4.1 +- Autorebuild for GCC 4.3 + +* Sun Jan 20 2008 Tom "spot" Callaway 1.14-3.1 +- tests disabled, due to x86_64 failures + +* Tue Jan 15 2008 Tom "spot" Callaway 1.14-3 +- rebuild for new perl + +* Wed Dec 19 2007 Steven Pritchard 1.14-2 +- Fix find option order. +- Use fixperms macro instead of our own chmod incantation. + +* Mon Dec 10 2007 Robin Norwood - 1.14-1 +- Update to latest upstream version: 1.14 +- Remove patch - no longer needed. + +* Mon Oct 15 2007 Tom "spot" Callaway - 1.12-2.1 +- correct license tag +- add BR: perl(ExtUtils::MakeMaker) + +* Thu Sep 14 2006 Jose Pedro Oliveira - 1.12-2 +- Rebuild for FC6. + +* Tue Apr 11 2006 Jose Pedro Oliveira - 1.12-1 +- Update to 1.12. + +* Wed Apr 5 2006 Jose Pedro Oliveira - 1.11-4 +- Patch to build with system sqlite 3.3.x (#183530). +- Patch to avoid type information segv (#187873). + +* Thu Mar 9 2006 Jose Pedro Oliveira - 1.11-3 +- DBD::SQLite fails to build with the current FC-5 sqlite version (3.3.3); + see bugzilla entry #183530. + Forcing package rebuild with the included version of sqlite (3.2.7). + +* Sat Feb 18 2006 Jose Pedro Oliveira - 1.11-2 +- Rebuild for FC5 (perl 5.8.8). + +* Fri Dec 2 2005 Jose Pedro Oliveira - 1.11-1 +- Update to 1.11. + +* Fri Dec 2 2005 Jose Pedro Oliveira - 1.10-1 +- Update to 1.10. + +* Fri Jul 29 2005 Jose Pedro Oliveira - 1.09-2 +- Build requirement added: sqlite-devel. +- Doc file added: Changes. + +* Fri Jul 29 2005 Jose Pedro Oliveira - 1.09-1 +- Update to 1.09. +- This new version can use an external SQLite library (>= 3.1.3). + +* Sun Jun 12 2005 Jose Pedro Oliveira - 1.08-2 +- temporary maintainership. + +* Sat Jun 11 2005 Michael A. Peters 1.08-1.1 +- minor changes for initial cvs checkin (removed tabs, better url in +- url tag and description tag) + +* Tue Apr 12 2005 Michael A. Peters 1.08-1 +- created initial spec file from Fedora spectemplate-perl.spec