From 8780ceb7018080dbd0f4f591460c3936aacdbd99 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 17 2022 09:55:48 +0000 Subject: import perl-DBD-MySQL-4.050-13.el9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cd8707b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/DBD-mysql-4.050.tar.gz diff --git a/.perl-DBD-MySQL.metadata b/.perl-DBD-MySQL.metadata new file mode 100644 index 0000000..71f12b4 --- /dev/null +++ b/.perl-DBD-MySQL.metadata @@ -0,0 +1 @@ +ff19efb5c5a9add075eafa1ad082cc74c2214f2a SOURCES/DBD-mysql-4.050.tar.gz diff --git a/SOURCES/DBD-mysql-4.050-Remove-a-useless-shebang-from-DBD-mysql.patch b/SOURCES/DBD-mysql-4.050-Remove-a-useless-shebang-from-DBD-mysql.patch new file mode 100644 index 0000000..61f19ea --- /dev/null +++ b/SOURCES/DBD-mysql-4.050-Remove-a-useless-shebang-from-DBD-mysql.patch @@ -0,0 +1,34 @@ +From fc754728272e776b48b3a432ada9954335b783b6 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Fri, 13 Mar 2020 13:41:17 +0100 +Subject: [PATCH] Remove a useless shebang from DBD::mysql +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Shebang has only a meaning for an executable script. DBD::mysql Perl +module is not an executable script that someone would run as an +standalone program. Morover, the file would have to have set an +executable bit. It seems the erroneous shebang was added by a mistake +when removing an Emacs configuration line. + +This patch removes the shebang. + +Signed-off-by: Petr Písař +--- + lib/DBD/mysql.pm | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/lib/DBD/mysql.pm b/lib/DBD/mysql.pm +index 2277fbe..5c90f3e 100644 +--- a/lib/DBD/mysql.pm ++++ b/lib/DBD/mysql.pm +@@ -1,5 +1,3 @@ +-#!/usr/bin/perl +- + use strict; + use warnings; + require 5.008_001; # just as DBI +-- +2.21.1 + diff --git a/SPECS/perl-DBD-MySQL.spec b/SPECS/perl-DBD-MySQL.spec new file mode 100644 index 0000000..d3f244e --- /dev/null +++ b/SPECS/perl-DBD-MySQL.spec @@ -0,0 +1,503 @@ +Name: perl-DBD-MySQL +Version: 4.050 +Release: 13%{?dist} +Summary: A MySQL interface for Perl +License: GPL+ or Artistic +URL: https://metacpan.org/release/DBD-mysql +Source0: https://cpan.metacpan.org/authors/id/D/DV/DVEEDEN/DBD-mysql-%{version}.tar.gz +# Remove a useless shebang, bug #1813195, +# +Patch0: DBD-mysql-4.050-Remove-a-useless-shebang-from-DBD-mysql.patch +BuildRequires: make +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: gcc +BuildRequires: mariadb-connector-c +BuildRequires: mariadb-connector-c-devel +BuildRequires: openssl-devel +BuildRequires: perl-devel +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(DBI) >= 1.609 +BuildRequires: perl(DBI::DBD) +BuildRequires: perl(Devel::CheckLib) >= 1.09 +BuildRequires: perl(DynaLoader) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(strict) +BuildRequires: perl(utf8) +BuildRequires: perl(warnings) +BuildRequires: zlib-devel +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Provides: perl-DBD-mysql = %{version}-%{release} + +%{?perl_default_filter} + +%description +DBD::mysql is the Perl5 Database Interface driver for the MySQL database. In +other words: DBD::mysql is an interface between the Perl programming language +and the MySQL programming API that comes with the MySQL relational database +management system. + +%prep +%setup -q -n DBD-mysql-%{version} +%patch0 -p1 + +# Correct file permissions +find . -type f | xargs chmod -x + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" \ + NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +find %{buildroot} -type f -name '*.bs' -empty -delete +%{_fixperms} %{buildroot}/* + +%check +# Full test coverage requires a live MySQL database +#make test + +%files +%license LICENSE +%doc Changes README.md +%{perl_vendorarch}/Bundle/ +%{perl_vendorarch}/DBD/ +%{perl_vendorarch}/auto/DBD/ +%{_mandir}/man3/*.3* + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 4.050-13 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Tue Jun 22 2021 Mohan Boddu - 4.050-12 +- Rebuilt for RHEL 9 BETA for openssl 3.0 + Related: rhbz#1971065 + +* Fri Apr 16 2021 Mohan Boddu - 4.050-11 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Wed Jan 27 2021 Fedora Release Engineering - 4.050-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 4.050-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 4.050-8 +- Perl 5.32 rebuild + +* Fri Mar 13 2020 Petr Pisar - 4.050-7 +- Remove a useless shebang (bug #1813195) + +* Tue Feb 04 2020 Tom Stellard - 4.050-6 +- Use make_build/make_install macros + +* Wed Jan 29 2020 Fedora Release Engineering - 4.050-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 4.050-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 4.050-3 +- Perl 5.30 rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 4.050-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jan 10 2019 Jitka Plesnikova - 4.050-1 +- 4.050 bump + +* Mon Nov 19 2018 Jitka Plesnikova - 4.049-1 +- 4.049 bump + +* Mon Sep 17 2018 Jitka Plesnikova - 4.048-1 +- 4.048 bump + +* Mon Sep 10 2018 Jitka Plesnikova - 4.047-1 +- 4.047 bump + +* Fri Jul 13 2018 Fedora Release Engineering - 4.046-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 4.046-3 +- Perl 5.28 rebuild + +* Mon Feb 19 2018 Jitka Plesnikova - 4.046-2 +- Add build-require gcc + +* Fri Feb 09 2018 Petr Pisar - 4.046-1 +- 4.046 bump + +* Thu Feb 08 2018 Jitka Plesnikova - 4.045-1 +- 4.045 bump + +* Tue Jan 23 2018 Jitka Plesnikova - 4.044-1 +- 4.044 bump + +* Tue Dec 19 2017 Petr Pisar - 4.043-7 +- Fix building against mariadb-5.5.56 + +* Mon Dec 04 2017 Jitka Plesnikova - 4.043-6 +- Fixed CVE-2017-10789 (bug #1467600) + +* Tue Sep 05 2017 Jitka Plesnikova - 4.043-5 +- Replace mariadb/-devel by mariadb-connector-c/-devel + +* Thu Aug 03 2017 Fedora Release Engineering - 4.043-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 4.043-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Jul 13 2017 Jitka Plesnikova - 4.043-2 +- Fix for new version of MariaDB 10.2 (bug #1470196) + +* Fri Jun 30 2017 Jitka Plesnikova - 4.043-1 +- 4.043 bump +- Fixed CVE-2017-10788 (bug #1467600) + +* Mon Jun 05 2017 Jitka Plesnikova - 4.042-2 +- Perl 5.26 rebuild + +* Thu Mar 09 2017 Jitka Plesnikova - 4.042-1 +- 4.042 bump + +* Sat Feb 11 2017 Fedora Release Engineering - 4.041-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Nov 29 2016 Petr Pisar - 4.041-1 +- 4.041 bump (fixes CVE-2016-1251) + +* Mon Nov 21 2016 Jitka Plesnikova - 4.040-1 +- 4.040 bump + +* Wed Nov 16 2016 Jitka Plesnikova - 4.039-1 +- 4.039 bump + +* Thu Oct 20 2016 Jitka Plesnikova - 4.038-1 +- 4.038 bump + +* Mon Oct 03 2016 Jitka Plesnikova - 4.037-1 +- 4.037 bump + +* Mon Aug 29 2016 Jitka Plesnikova - 4.036-1 +- 4.036 bump + +* Thu Aug 18 2016 Jitka Plesnikova - 4.035-3 +- Remove using of iconv, because it is not needed (bug #1368046) + +* Tue Aug 16 2016 Jitka Plesnikova - 4.035-2 +- Fix default value for nossl option (bug #1366773) + +* Mon Jul 11 2016 Jitka Plesnikova - 4.035-1 +- 4.035 bump + +* Thu Jul 07 2016 Jitka Plesnikova - 4.034-1 +- 4.034 bump + +* Sun May 15 2016 Jitka Plesnikova - 4.033-3 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 4.033-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Oct 27 2015 Jitka Plesnikova - 4.033-1 +- 4.033 bump + +* Wed Jul 22 2015 Jitka Plesnikova - 4.032-1 +- 4.032 bump + +* Thu Jun 18 2015 Fedora Release Engineering - 4.031-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 05 2015 Jitka Plesnikova - 4.031-2 +- Perl 5.22 rebuild + +* Thu Mar 12 2015 Jitka Plesnikova - 4.031-1 +- 4.031 bump + +* Thu Dec 11 2014 Jitka Plesnikova - 4.029-1 +- 4.029 bump + +* Thu Aug 28 2014 Jitka Plesnikova - 4.028-3 +- Perl 5.20 rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 4.028-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Tue Aug 05 2014 Jitka Plesnikova - 4.028-1 +- 4.028 bump + +* Sat Jun 07 2014 Fedora Release Engineering - 4.027-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Mar 20 2014 Jitka Plesnikova - 4.027-1 +- 4.027 bump + +* Tue Jan 21 2014 Jitka Plesnikova - 4.026-1 +- 4.026 bump + +* Tue Nov 05 2013 Jitka Plesnikova - 4.025-1 +- 4.025 bump + +* Thu Sep 19 2013 Jitka Plesnikova - 4.024-1 +- 4.024 bump + +* Sat Aug 03 2013 Fedora Release Engineering - 4.023-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 24 2013 Petr Pisar - 4.023-3 +- Perl 5.18 rebuild + +* Mon Apr 29 2013 Petr Šabata - 4.023-2 +- Force MariaDB dependency as a workaround for f19 compose + +* Mon Apr 15 2013 Petr Pisar - 4.023-1 +- 4.023 bump + +* Thu Feb 14 2013 Fedora Release Engineering - 4.022-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Aug 30 2012 Petr Šabata - 4.022-1 +- 4.022 bump + +* Fri Jul 20 2012 Fedora Release Engineering - 4.021-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jun 16 2012 Petr Pisar - 4.021-2 +- Perl 5.16 rebuild + +* Wed May 02 2012 Petr Šabata - 4.021-1 +- 4.021 bump + +* Fri Jan 13 2012 Fedora Release Engineering - 4.020-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Aug 22 2011 Petr Sabata - 4.020-1 +- 4.020 bump + +* Tue Jun 21 2011 Marcela Mašláňová - 4.019-3 +- Perl mass rebuild + +* Fri May 13 2011 Marcela Mašláňová - 4.019-2 +- apply tested patch from F-15 (is_prefix replaced by strncmp) #703185 +- remove deffattr + +* Mon May 9 2011 Petr Sabata - 4.019-1 +- 4.019 bump +- Removing the clean section +- Adding DynaLoader to BR + +* Tue Mar 22 2011 Marcela Mašláňová - 4.018-3 +- rebuilt for libmysqlclient + +* Tue Feb 08 2011 Fedora Release Engineering - 4.018-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Oct 27 2010 Marcela Mašláňová - 4.018-1 +- update + +* Thu Aug 12 2010 Petr Pisar - 4.017-1 +- 4.017 bump (bug #623614) +- Preserve time stamps while converting character set + +* Mon Jul 12 2010 Petr Pisar - 4.016-1 +- 4.016 bump (bug #597759) + +* Mon May 31 2010 Petr Pisar - 4.014-1 +- 4.014 bump (bug #597759) + +* Fri Apr 30 2010 Marcela Maslanova - 4.013-5 +- Mass rebuild with perl-5.12.0 + +* Sun Mar 07 2010 Chris Weyl - 4.013-4 +- add perl_default_filter (remove mysql.so provides) + +* Mon Dec 7 2009 Stepan Kasal - 4.013-3 +- rebuild against perl 5.10.1 + +* Mon Oct 26 2009 Stepan Kasal - 4.013-2 +- new upstream version + +* Fri Aug 21 2009 Tomas Mraz - 4.011-3 +- rebuilt with new openssl + +* Sat Jul 25 2009 Fedora Release Engineering - 4.011-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Jun 10 2009 Stepan Kasal - 4.011-1 +- new upstream version +- apply iconv on primary source + +* Mon Apr 6 2009 Marcela Mašláňová - 4.010-1 +- update to the latest version + +* Thu Feb 26 2009 Fedora Release Engineering - 4.005-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Jan 22 2009 Rex Dieter - 4.005-9 +- respin (mysql) + +* Wed Feb 27 2008 Tom "spot" Callaway - 4.005-8 +- Rebuild for perl 5.10 (again) + +* Tue Feb 19 2008 Fedora Release Engineering - 4.005-7 +- Autorebuild for GCC 4.3 + +* Mon Jan 28 2008 Tom "spot" Callaway - 4.005-6 +- rebuild for new perl + +* Wed Dec 5 2007 Robin Norwood - 4.005-5 +- Rebuild for new openssl + +* Wed Oct 24 2007 Robin Norwood - 4.005-4 +- Fix utf-8 rpmlint warning + +* Tue Oct 23 2007 Robin Norwood - 4.005-3 +- Use fixperms macro +- Remove BR: perl + +* Mon Oct 15 2007 Tom "spot" Callaway - 4.005-2.1 +- add BR: perl(ExtUtils::MakeMaker) + +* Fri Aug 24 2007 Robin Norwood - 4.005-2 +- rebuild + +* Mon Aug 13 2007 Robin Norwood - 4.005-1 +- New version from CPAN: 4.005 + +* Thu Jun 07 2007 Robin Norwood - 4.004-1 +- New version from CPAN: 4.004 +- Move requires filter into spec file + +* Sat Dec 02 2006 Robin Norwood - 3.0008-1 +- New version from CPAN: 3.0008 + +* Fri Sep 29 2006 Robin Norwood - 3.0007-1 +- Bugzilla: 208633 +- Upgrade to upstream version 3.0007 version to fix some minor bugs. + +* Mon Jul 17 2006 Jason Vas Dias - 3.0006-1.FC6 +- Upgrade to 3.0006 + +* Wed Jul 12 2006 Jesse Keating +- rebuild + +* Wed May 31 2006 Jason Vas Dias - 3.0004-1.FC6 +- upgrade to upstream version 3.0004 + +* Fri Feb 10 2006 Jesse Keating - 3.0002-2.2.2 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 3.0002-2.2.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Feb 03 2006 Jason Vas Dias - 3.0002-2.2 +- rebuild for new perl-5.8.8 + +* Fri Dec 16 2005 Jesse Keating +- rebuilt for new gcc + +* Fri Dec 16 2005 Jesse Keating +- rebuilt for new gcj + +* Thu Nov 10 2005 Tomas Mraz - 3.0002-2 +- rebuilt against new openssl + +* Mon Jul 11 2005 Jose Pedro Oliveira - 3.0002-1 +- Update to 3.0002. + +* Wed Apr 27 2005 Jose Pedro Oliveira - 2.9007-1 +- Update to 2.9007. (#156059) + +* Thu Apr 14 2005 Jose Pedro Oliveira - 2.9006-1 +- Update to 2.9006. +- Specfile cleanup. (#154755) + +* Thu Nov 25 2004 Miloslav Trmac - 2.9004-4 +- Convert man page to UTF-8 + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Chip Turner 2.9003-1 +- update to 2.9003 + +* Mon Jul 7 2003 Chip Turner 2.9002-1 +- move to 2.9002 + +* Thu Jul 3 2003 Chip Turner 2.1021-5 +- rebuild + +* Mon Jan 27 2003 Chip Turner +- version bump and rebuild + +* Wed Jan 1 2003 Chip Turner +- turn ssl on and allow Makefile.PL to yse mysql_config to find proper link flags +- update to 2.1021 + +* Sat Dec 14 2002 Chip Turner +- don't use internal rpm dep generator + +* Wed Nov 20 2002 Chip Turner +- rebuild + +* Wed Aug 7 2002 Trond Eivind Glomsrød 2.1017-3 +- Rebuild + +* Tue Jun 25 2002 Trond Eivind Glomsrød 2.1017-2 +- Rebuild, to fix #66304 + +* Wed Jun 5 2002 Trond Eivind Glomsrød 2.1017-1 +- New version - no longer integrated into msql-mysql modules + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Fri Feb 22 2002 Trond Eivind Glomsrød 1.2219-6 +- Rebuild + +* Fri Feb 8 2002 Chip Turner +- filter out "soft" dependencies: perl(Data::ShowTable) + +* Thu Feb 7 2002 Trond Eivind Glomsrød 1.2219-4 +- Rebuild + +* Tue Jan 22 2002 Trond Eivind Glomsrød 1.2219-3 +- Rebuild + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Tue Jan 8 2002 Trond Eivind Glomsrød 1.2219-1 +- 1.2219 + +* Fri Jul 20 2001 Trond Eivind Glomsrød +- Add zlib-devel to buildrequires (#49536) + +* Sun Jul 1 2001 Trond Eivind Glomsrød +- Add perl and perl-DBI to BuildRequires + +* Wed May 30 2001 Trond Eivind Glomsrød +- Change Group to Applications/Databases + +* Tue May 1 2001 Trond Eivind Glomsrød +- 1.2216 +- Add doc files +- Minor cleanups + +* Thu Nov 30 2000 Trond Eivind Glomsrød +- First cut