|
|
14b93c |
Name: perl-DBD-MySQL
|
|
|
14b93c |
Version: 4.023
|
|
|
14b93c |
Release: 6%{?dist}
|
|
|
14b93c |
Summary: A MySQL interface for Perl
|
|
|
14b93c |
Group: Development/Libraries
|
|
|
14b93c |
License: GPL+ or Artistic
|
|
|
14b93c |
URL: http://search.cpan.org/dist/DBD-mysql/
|
|
|
14b93c |
Source0: http://www.cpan.org/authors/id/C/CA/CAPTTOFU/DBD-mysql-%{version}.tar.gz
|
|
|
14b93c |
# Fix transferring MYSQL_TYPE_LONG values on 64-bit big endian systems,
|
|
|
14b93c |
# bug #1311646, CPAN RT#57266, in upstream 4.033_03.
|
|
|
14b93c |
Patch0: DBD-mysql-4.033_02-Fix-transferring-MYSQL_TYPE_LONG-values-on-64-bit-bi.patch
|
|
|
14b93c |
# Tests for transferring MYSQL_TYPE_LONG, bug #1311646, CPAN RT#57266,
|
|
|
14b93c |
# in upstream 4.035_02.
|
|
|
14b93c |
Patch1: DBD-mysql-4.023-Tests-for-little-endian-platform.patch
|
|
|
14b93c |
BuildRequires: mariadb, mariadb-devel, zlib-devel
|
|
|
14b93c |
BuildRequires: perl
|
|
|
14b93c |
BuildRequires: perl(Carp)
|
|
|
14b93c |
BuildRequires: perl(Config)
|
|
|
14b93c |
BuildRequires: perl(Data::Dumper)
|
|
|
14b93c |
BuildRequires: perl(DBI) >= 1.08
|
|
|
14b93c |
BuildRequires: perl(DBI::DBD)
|
|
|
14b93c |
BuildRequires: perl(DynaLoader)
|
|
|
14b93c |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
14b93c |
BuildRequires: perl(File::Basename)
|
|
|
14b93c |
BuildRequires: perl(File::Copy)
|
|
|
14b93c |
BuildRequires: perl(File::Path)
|
|
|
14b93c |
BuildRequires: perl(File::Spec)
|
|
|
14b93c |
BuildRequires: perl(Getopt::Long)
|
|
|
14b93c |
BuildRequires: perl(strict)
|
|
|
14b93c |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
14b93c |
Provides: perl-DBD-mysql = %{version}-%{release}
|
|
|
14b93c |
|
|
|
14b93c |
%{?perl_default_filter}
|
|
|
14b93c |
|
|
|
14b93c |
%description
|
|
|
14b93c |
DBD::mysql is the Perl5 Database Interface driver for the MySQL database. In
|
|
|
14b93c |
other words: DBD::mysql is an interface between the Perl programming language
|
|
|
14b93c |
and the MySQL programming API that comes with the MySQL relational database
|
|
|
14b93c |
management system.
|
|
|
14b93c |
|
|
|
14b93c |
%prep
|
|
|
14b93c |
%setup -q -n DBD-mysql-%{version}
|
|
|
14b93c |
%patch0 -p1
|
|
|
14b93c |
%patch1 -p1
|
|
|
14b93c |
# Correct file permissions
|
|
|
14b93c |
find . -type f | xargs chmod -x
|
|
|
14b93c |
|
|
|
14b93c |
for file in lib/DBD/mysql.pm ChangeLog; do
|
|
|
14b93c |
iconv -f iso-8859-1 -t utf-8 <$file >${file}_
|
|
|
14b93c |
touch -r ${file}{,_}
|
|
|
14b93c |
mv -f ${file}{_,}
|
|
|
14b93c |
done
|
|
|
14b93c |
|
|
|
14b93c |
%build
|
|
|
14b93c |
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" --ssl
|
|
|
14b93c |
make %{?_smp_mflags}
|
|
|
14b93c |
|
|
|
14b93c |
%install
|
|
|
14b93c |
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
14b93c |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
14b93c |
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|
|
14b93c |
%{_fixperms} %{buildroot}/*
|
|
|
14b93c |
|
|
|
14b93c |
%check
|
|
|
14b93c |
# Full test coverage requires a live MySQL database
|
|
|
14b93c |
#make test
|
|
|
14b93c |
|
|
|
14b93c |
%files
|
|
|
14b93c |
%doc ChangeLog eg README TODO
|
|
|
14b93c |
%{perl_vendorarch}/Bundle/
|
|
|
14b93c |
%{perl_vendorarch}/DBD/
|
|
|
14b93c |
%{perl_vendorarch}/auto/DBD/
|
|
|
14b93c |
%{_mandir}/man3/*.3*
|
|
|
14b93c |
|
|
|
14b93c |
%changelog
|
|
|
14b93c |
* Thu Oct 06 2016 Petr Pisar <ppisar@redhat.com> - 4.023-6
|
|
|
14b93c |
- Fix transferring MYSQL_TYPE_LONG values on 64-bit big endian systems
|
|
|
14b93c |
(bug #1311646)
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.023-5
|
|
|
14b93c |
- Mass rebuild 2014-01-24
|
|
|
14b93c |
|
|
|
14b93c |
* Wed Jan 15 2014 Honza Horak <hhorak@redhat.com> - 4.023-4
|
|
|
14b93c |
- Rebuild for mariadb-libs
|
|
|
14b93c |
Related: #1045013
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.023-3
|
|
|
14b93c |
- Mass rebuild 2013-12-27
|
|
|
14b93c |
|
|
|
14b93c |
* Mon Apr 29 2013 Petr Šabata <contyk@redhat.com> - 4.023-2
|
|
|
14b93c |
- Force MariaDB dependency as a workaround for f19 compose
|
|
|
14b93c |
|
|
|
14b93c |
* Mon Apr 15 2013 Petr Pisar <ppisar@redhat.com> - 4.023-1
|
|
|
14b93c |
- 4.023 bump
|
|
|
14b93c |
|
|
|
14b93c |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.022-2
|
|
|
14b93c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Thu Aug 30 2012 Petr Šabata <contyk@redhat.com> - 4.022-1
|
|
|
14b93c |
- 4.022 bump
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.021-3
|
|
|
14b93c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Sat Jun 16 2012 Petr Pisar <ppisar@redhat.com> - 4.021-2
|
|
|
14b93c |
- Perl 5.16 rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Wed May 02 2012 Petr Šabata <contyk@redhat.com> - 4.021-1
|
|
|
14b93c |
- 4.021 bump
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.020-2
|
|
|
14b93c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Mon Aug 22 2011 Petr Sabata <contyk@redhat.com> - 4.020-1
|
|
|
14b93c |
- 4.020 bump
|
|
|
14b93c |
|
|
|
14b93c |
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.019-3
|
|
|
14b93c |
- Perl mass rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Fri May 13 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.019-2
|
|
|
14b93c |
- apply tested patch from F-15 (is_prefix replaced by strncmp) #703185
|
|
|
14b93c |
- remove deffattr
|
|
|
14b93c |
|
|
|
14b93c |
* Mon May 9 2011 Petr Sabata <psabata@redhat.com> - 4.019-1
|
|
|
14b93c |
- 4.019 bump
|
|
|
14b93c |
- Removing the clean section
|
|
|
14b93c |
- Adding DynaLoader to BR
|
|
|
14b93c |
|
|
|
14b93c |
* Tue Mar 22 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.018-3
|
|
|
14b93c |
- rebuilt for libmysqlclient
|
|
|
14b93c |
|
|
|
14b93c |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.018-2
|
|
|
14b93c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Wed Oct 27 2010 Marcela Mašláňová <mmaslano@redhat.com> - 4.018-1
|
|
|
14b93c |
- update
|
|
|
14b93c |
|
|
|
14b93c |
* Thu Aug 12 2010 Petr Pisar <ppisar@redhat.com> - 4.017-1
|
|
|
14b93c |
- 4.017 bump (bug #623614)
|
|
|
14b93c |
- Preserve time stamps while converting character set
|
|
|
14b93c |
|
|
|
14b93c |
* Mon Jul 12 2010 Petr Pisar <ppisar@redhat.com> - 4.016-1
|
|
|
14b93c |
- 4.016 bump (bug #597759)
|
|
|
14b93c |
|
|
|
14b93c |
* Mon May 31 2010 Petr Pisar <ppisar@redhat.com> - 4.014-1
|
|
|
14b93c |
- 4.014 bump (bug #597759)
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 4.013-5
|
|
|
14b93c |
- Mass rebuild with perl-5.12.0
|
|
|
14b93c |
|
|
|
14b93c |
* Sun Mar 07 2010 Chris Weyl <cweyl@alumni.drew.edu> - 4.013-4
|
|
|
14b93c |
- add perl_default_filter (remove mysql.so provides)
|
|
|
14b93c |
|
|
|
14b93c |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 4.013-3
|
|
|
14b93c |
- rebuild against perl 5.10.1
|
|
|
14b93c |
|
|
|
14b93c |
* Mon Oct 26 2009 Stepan Kasal <skasal@redhat.com> - 4.013-2
|
|
|
14b93c |
- new upstream version
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 4.011-3
|
|
|
14b93c |
- rebuilt with new openssl
|
|
|
14b93c |
|
|
|
14b93c |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.011-2
|
|
|
14b93c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Wed Jun 10 2009 Stepan Kasal <skasal@redhat.com> - 4.011-1
|
|
|
14b93c |
- new upstream version
|
|
|
14b93c |
- apply iconv on primary source
|
|
|
14b93c |
|
|
|
14b93c |
* Mon Apr 6 2009 Marcela Mašláňová <mmaslano@redhat.com> - 4.010-1
|
|
|
14b93c |
- update to the latest version
|
|
|
14b93c |
|
|
|
14b93c |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.005-10
|
|
|
14b93c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Thu Jan 22 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.005-9
|
|
|
14b93c |
- respin (mysql)
|
|
|
14b93c |
|
|
|
14b93c |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 4.005-8
|
|
|
14b93c |
- Rebuild for perl 5.10 (again)
|
|
|
14b93c |
|
|
|
14b93c |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.005-7
|
|
|
14b93c |
- Autorebuild for GCC 4.3
|
|
|
14b93c |
|
|
|
14b93c |
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 4.005-6
|
|
|
14b93c |
- rebuild for new perl
|
|
|
14b93c |
|
|
|
14b93c |
* Wed Dec 5 2007 Robin Norwood <rnorwood@redhat.com> - 4.005-5
|
|
|
14b93c |
- Rebuild for new openssl
|
|
|
14b93c |
|
|
|
14b93c |
* Wed Oct 24 2007 Robin Norwood <rnorwood@redhat.com> - 4.005-4
|
|
|
14b93c |
- Fix utf-8 rpmlint warning
|
|
|
14b93c |
|
|
|
14b93c |
* Tue Oct 23 2007 Robin Norwood <rnorwood@redhat.com> - 4.005-3
|
|
|
14b93c |
- Use fixperms macro
|
|
|
14b93c |
- Remove BR: perl
|
|
|
14b93c |
|
|
|
14b93c |
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 4.005-2.1
|
|
|
14b93c |
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Aug 24 2007 Robin Norwood <rnorwood@redhat.com> - 4.005-2
|
|
|
14b93c |
- rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Mon Aug 13 2007 Robin Norwood <rnorwood@redhat.com> - 4.005-1
|
|
|
14b93c |
- New version from CPAN: 4.005
|
|
|
14b93c |
|
|
|
14b93c |
* Thu Jun 07 2007 Robin Norwood <rnorwood@redhat.com> - 4.004-1
|
|
|
14b93c |
- New version from CPAN: 4.004
|
|
|
14b93c |
- Move requires filter into spec file
|
|
|
14b93c |
|
|
|
14b93c |
* Sat Dec 02 2006 Robin Norwood <rnorwood@redhat.com> - 3.0008-1
|
|
|
14b93c |
- New version from CPAN: 3.0008
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Sep 29 2006 Robin Norwood <rnorwood@redhat.com> - 3.0007-1
|
|
|
14b93c |
- Bugzilla: 208633
|
|
|
14b93c |
- Upgrade to upstream version 3.0007 version to fix some minor bugs.
|
|
|
14b93c |
|
|
|
14b93c |
* Mon Jul 17 2006 Jason Vas Dias <jvdias@redhat.com> - 3.0006-1.FC6
|
|
|
14b93c |
- Upgrade to 3.0006
|
|
|
14b93c |
|
|
|
14b93c |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com>
|
|
|
14b93c |
- rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Wed May 31 2006 Jason Vas Dias <jvdias@redhat.com> - 3.0004-1.FC6
|
|
|
14b93c |
- upgrade to upstream version 3.0004
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.0002-2.2.2
|
|
|
14b93c |
- bump again for double-long bug on ppc(64)
|
|
|
14b93c |
|
|
|
14b93c |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.0002-2.2.1
|
|
|
14b93c |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 3.0002-2.2
|
|
|
14b93c |
- rebuild for new perl-5.8.8
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
14b93c |
- rebuilt for new gcc
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
14b93c |
- rebuilt for new gcj
|
|
|
14b93c |
|
|
|
14b93c |
* Thu Nov 10 2005 Tomas Mraz <tmraz@redhat.com> - 3.0002-2
|
|
|
14b93c |
- rebuilt against new openssl
|
|
|
14b93c |
|
|
|
14b93c |
* Mon Jul 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 3.0002-1
|
|
|
14b93c |
- Update to 3.0002.
|
|
|
14b93c |
|
|
|
14b93c |
* Wed Apr 27 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.9007-1
|
|
|
14b93c |
- Update to 2.9007. (#156059)
|
|
|
14b93c |
|
|
|
14b93c |
* Thu Apr 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.9006-1
|
|
|
14b93c |
- Update to 2.9006.
|
|
|
14b93c |
- Specfile cleanup. (#154755)
|
|
|
14b93c |
|
|
|
14b93c |
* Thu Nov 25 2004 Miloslav Trmac <mitr@redhat.com> - 2.9004-4
|
|
|
14b93c |
- Convert man page to UTF-8
|
|
|
14b93c |
|
|
|
14b93c |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
14b93c |
- rebuilt
|
|
|
14b93c |
|
|
|
14b93c |
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
14b93c |
- rebuilt
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 2.9003-1
|
|
|
14b93c |
- update to 2.9003
|
|
|
14b93c |
|
|
|
14b93c |
* Mon Jul 7 2003 Chip Turner <cturner@redhat.com> 2.9002-1
|
|
|
14b93c |
- move to 2.9002
|
|
|
14b93c |
|
|
|
14b93c |
* Thu Jul 3 2003 Chip Turner <cturner@redhat.com> 2.1021-5
|
|
|
14b93c |
- rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
|
|
|
14b93c |
- version bump and rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Wed Jan 1 2003 Chip Turner <cturner@redhat.com>
|
|
|
14b93c |
- turn ssl on and allow Makefile.PL to yse mysql_config to find proper link flags
|
|
|
14b93c |
- update to 2.1021
|
|
|
14b93c |
|
|
|
14b93c |
* Sat Dec 14 2002 Chip Turner <cturner@redhat.com>
|
|
|
14b93c |
- don't use internal rpm dep generator
|
|
|
14b93c |
|
|
|
14b93c |
* Wed Nov 20 2002 Chip Turner <cturner@redhat.com>
|
|
|
14b93c |
- rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Wed Aug 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.1017-3
|
|
|
14b93c |
- Rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Tue Jun 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.1017-2
|
|
|
14b93c |
- Rebuild, to fix #66304
|
|
|
14b93c |
|
|
|
14b93c |
* Wed Jun 5 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.1017-1
|
|
|
14b93c |
- New version - no longer integrated into msql-mysql modules
|
|
|
14b93c |
|
|
|
14b93c |
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
14b93c |
- automated rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Feb 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.2219-6
|
|
|
14b93c |
- Rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Feb 8 2002 Chip Turner <cturner@minbar.devel.redhat.com>
|
|
|
14b93c |
- filter out "soft" dependencies: perl(Data::ShowTable)
|
|
|
14b93c |
|
|
|
14b93c |
* Thu Feb 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.2219-4
|
|
|
14b93c |
- Rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Tue Jan 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.2219-3
|
|
|
14b93c |
- Rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
14b93c |
- automated rebuild
|
|
|
14b93c |
|
|
|
14b93c |
* Tue Jan 8 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.2219-1
|
|
|
14b93c |
- 1.2219
|
|
|
14b93c |
|
|
|
14b93c |
* Fri Jul 20 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
14b93c |
- Add zlib-devel to buildrequires (#49536)
|
|
|
14b93c |
|
|
|
14b93c |
* Sun Jul 1 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
14b93c |
- Add perl and perl-DBI to BuildRequires
|
|
|
14b93c |
|
|
|
14b93c |
* Wed May 30 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
14b93c |
- Change Group to Applications/Databases
|
|
|
14b93c |
|
|
|
14b93c |
* Tue May 1 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
14b93c |
- 1.2216
|
|
|
14b93c |
- Add doc files
|
|
|
14b93c |
- Minor cleanups
|
|
|
14b93c |
|
|
|
14b93c |
* Thu Nov 30 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
14b93c |
- First cut
|