[perl-DBD-ODBC] Fix formatting of Changes
Jan Holcapek
holcapek at fedoraproject.org
Mon Feb 24 10:42:07 UTC 2014
commit 650b6075293bb84393eff4ac7137864c6dc0d14b
Author: Jan Holcapek <holcapek at gmail.com>
Date: Mon Feb 24 11:42:52 2014 +0100
Fix formatting of Changes
Changes.patch | 1294 ++++++++++++++++++++++++++++++++++++++++++++++++++++
perl-DBD-ODBC.spec | 8 +-
2 files changed, 1301 insertions(+), 1 deletions(-)
---
diff --git a/Changes.patch b/Changes.patch
new file mode 100644
index 0000000..caeeb55
--- /dev/null
+++ b/Changes.patch
@@ -0,0 +1,1294 @@
+--- ./Changes 2014-02-24 11:29:10.083463035 +0100
++++ ./Changes 2014-02-24 11:30:29.734483239 +0100
+@@ -3,9 +3,11 @@
+
+ =encoding utf8
+
++=head1 NAME
++
+ DBD::ODBC::Changes - Log of significant changes to the DBD::ODBC
+
+-1.47 2014-02-19
++=head2 1.47 2014-02-19
+
+ Full release of the 1.46 development releases.
+
+@@ -17,7 +19,7 @@
+ NOTE the changes.cpanhq.com site does not yet support "unknown" for
+ dates.
+
+-1.46_2 2013-12-17
++=head2 1.46_2 2013-12-17
+
+ [BUG FIXES]
+
+@@ -30,7 +32,7 @@
+
+ Added test 90_trace_flag.t
+
+-1.46_1 2013-11-16
++=head2 1.46_1 2013-11-16
+
+ [CHANGE IN BEHAVIOUR]
+
+@@ -63,7 +65,7 @@
+
+ Added test 45_unicode_varchar.t for MS SQL Server only so far.
+
+-1.45 2013-10-28
++=head2 1.45 2013-10-28
+
+ [CHANGE IN BEHAVIOUR]
+
+@@ -88,7 +90,7 @@
+ Small changes to 20SqlServer.t test to skip some tests and note the
+ problem if SQLExecute returns SQL_NO_DATA on a non searched update.
+
+-1.44_4 2013-10-16
++=head2 1.44_4 2013-10-16
+
+ [BUG FIXES]
+
+@@ -107,7 +109,7 @@
+ Updates to the odbc_more_results pod to help clarify its use after
+ some confusion was seen in a perlmonks thread.
+
+-1.44_3 2013-10-11
++=head2 1.44_3 2013-10-11
+
+ [CHANGE IN BEHAVIOUR]
+
+@@ -143,7 +145,7 @@
+ SQLGetTypeInfo. It also issues a warning. See
+ http://www.postgresql.org/message-id/524EF455.6050409@ntlworld.com
+
+-1.44_3 2013-10-11
++=head2 1.44_3 2013-10-11
+
+ [MISCELLANEOUS]
+
+@@ -152,7 +154,7 @@
+
+ Fixed some compiler warnings when attempting to print/trace SvCUR.
+
+-1.44_2 2013-09-07
++=head2 1.44_2 2013-09-07
+
+ [BUG FIXES]
+
+@@ -180,7 +182,7 @@
+
+ Added 87_odbc_log_read.t test.
+
+-1.44_1 2013-06-06
++=head2 1.44_1 2013-06-06
+
+ Moved from subversion to github as svn.perl.org is closing down.
+ Changed docs to show new repository.
+@@ -194,7 +196,7 @@
+ probably only see this if you are using fetchall_arrayref with a
+ slice and setting TYPE or attributes in bind_col first.
+
+-1.43 2013-03-06
++=head2 1.43 2013-03-06
+
+ This is a full release of all the 1.42_* development releases.
+
+@@ -205,20 +207,20 @@
+ Minor fix to 10handler.t test suite which relied on a native error
+ being true instead of defined.
+
+-1.42_5 2013-01-25
++=head2 1.42_5 2013-01-25
+
+ [BUG FIXES]
+
+ Not all modules used in test code were specified in build_requires.
+
+-1.42_4 2013-01-21
++=head2 1.42_4 2013-01-21
+
+ [ENHANCEMENTS]
+
+ odbc_trace and odbc_trace_file are now full connection attributes
+ so you can set them any time you like, not just in connect.
+
+-1.42_3 2013-01-17
++=head2 1.42_3 2013-01-17
+
+ [ENHANCEMENTS]
+
+@@ -228,7 +230,7 @@
+ only enable ODBC API tracing in the application which made the call
+ unlike the ODBC Driver Manager settings.
+
+-1.42_2 2012-12-17
++=head2 1.42_2 2012-12-17
+
+ [MISCELLANEOUS]
+
+@@ -236,7 +238,7 @@
+ from Dave Mitchell and posting at
+ http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2012-12/msg00424.html.
+
+-1.42_1 2012-12-12
++=head2 1.42_1 2012-12-12
+
+ [BUG FIXES]
+
+@@ -265,7 +267,7 @@
+
+ New rt_81911.t test case.
+
+-1.42_0 2012-11-28
++=head2 1.42_0 2012-11-28
+
+ [BUG FIXES]
+
+@@ -298,11 +300,11 @@
+
+ RT 80446 - fix spelling mistake - thanks to Xavier Guimar.
+
+-1.41 2012-10-23
++=head2 1.41 2012-10-23
+
+ A full release of the 1.40 development release series.
+
+-1.40_3 2012-10-08
++=head2 1.40_3 2012-10-08
+
+ [BUG FIXES]
+
+@@ -325,7 +327,7 @@
+
+ More documentation for odbc_out_connect_string.
+
+-1.40_2 2012-09-06
++=head2 1.40_2 2012-09-06
+
+ [BUG FIXES]
+
+@@ -344,7 +346,7 @@
+
+ Added Test::NoWarnings to some tests where it was missing.
+
+-1.40_1 2012-09-04
++=head2 1.40_1 2012-09-04
+
+ [BUG FIXES]
+
+@@ -370,7 +372,7 @@
+ If you attempt to bind an rv without amagic DBD::ODBC will now
+ croak - related to rt 78838.
+
+-1.39 2012-07-07
++=head2 1.39 2012-07-07
+
+ [BUG FIXES]
+
+@@ -380,7 +382,7 @@
+ execute_for_fetch.pl example had not be changed since
+ odbc_disable_array_operations became odbc_array_operations.
+
+-1.38_3 2012-06-25
++=head2 1.38_3 2012-06-25
+
+ [BUG FIXES]
+
+@@ -396,14 +398,14 @@
+
+ Made pod.t an author test.
+
+-1.38_2 2012-05-24
++=head2 1.38_2 2012-05-24
+
+ [ENHANCEMENTS]
+
+ Added support for Oracle TAF (assuming your ODBC driver supports it)
+ - see odbc_taf_callback.
+
+-1.38_1 2012-05-19
++=head2 1.38_1 2012-05-19
+
+ [BUG FIXES]
+
+@@ -445,13 +447,13 @@
+
+ sql_type_cast tests rewritten due to fixes above.
+
+-1.37 2012-04-07
++=head2 1.37 2012-04-07
+
+ A full release of the 1.36 dev releases.
+
+ Please note the changes in behaviour below.
+
+-1.36_2 2012-03-31
++=head2 1.36_2 2012-03-31
+
+ [BUG FIXES]
+
+@@ -473,7 +475,7 @@
+
+ * Changed ordering of some of the pod sections.
+
+-1.36_1 2012-03-21
++=head2 1.36_1 2012-03-21
+
+ [BUG FIXES]
+
+@@ -545,18 +547,18 @@
+
+ * Made the 2 unicode tests work with DB2 ODBC driver.
+
+-1.35 2012-03-06
++=head2 1.35 2012-03-06
+
+ Full release of the 1.34 development releases
+
+-1.34_7 2012-03-02
++=head2 1.34_7 2012-03-02
+
+ [BUG FIXES]
+
+ * Fixed more compiler errors highlighed by a smoker using MS Visual
+ C where some code come before a variable definition.
+
+-1.34_6 2012-02-27
++=head2 1.34_6 2012-02-27
+
+ [BUG FIXES]
+
+@@ -564,7 +566,7 @@
+ smoker using MS Visual C where some code come before a variable
+ definition.
+
+-1.34_5 2012-02-17
++=head2 1.34_5 2012-02-17
+
+ [BUG FIXES]
+
+@@ -612,7 +614,7 @@
+
+ * Add 80_odbc_diags.t based on the same file in examples
+
+-1.34_4 2012-02-05
++=head2 1.34_4 2012-02-05
+
+ [BUG FIXES]
+
+@@ -620,7 +622,7 @@
+ into DBI but did not set IMP_KEEP_ERR so calling them cleared
+ DBI's errors.
+
+-1.34_3 2012-02-03
++=head2 1.34_3 2012-02-03
+
+ [BUG FIXES]
+
+@@ -642,7 +644,7 @@
+
+ * New FAQ entries.
+
+-1.34_2 2012-01-25
++=head2 1.34_2 2012-01-25
+
+ [BUG FIXES]
+
+@@ -665,19 +667,19 @@
+
+ * Added example execute_for_fetch.pl
+
+-1.34_1 2011-12-11
++=head2 1.34_1 2011-12-11
+
+ [ENHANCEMENTS]
+
+ * Added experimental execute_for_fetch support and associated
+ attributes odbc_batch_size and odbc_disable_array_operations.
+
+-1.33 2011-12-01
++=head2 1.33 2011-12-01
+
+ This is simply the official release of the 1.32 development
+ releases.
+
+-1.32_5 2011-11-24
++=head2 1.32_5 2011-11-24
+
+ [ENHANCEMENTS]
+
+@@ -687,7 +689,7 @@
+ * Change column_info to support Unicode catalog/schema/table/column
+ names.
+
+-1.32_4 2011-11-22
++=head2 1.32_4 2011-11-22
+
+ [BUG FIXES]
+
+@@ -701,7 +703,7 @@
+
+ * Use SQLGetTypeInfoW on unicode builds.
+
+-1.32_3 2011-11-15
++=head2 1.32_3 2011-11-15
+
+ [BUG FIXES]
+
+@@ -715,7 +717,7 @@
+ passed to table_info. Of course they will only reliably work with
+ a supporting Unicode ODBC driver.
+
+-1.32_2 2011-10-22
++=head2 1.32_2 2011-10-22
+
+ [ENHANCEMENTS]
+
+@@ -734,7 +736,7 @@
+ * added note saying you cannot pass unicode schema/table/column
+ names to metadata calls like table_info/column_info currently.
+
+-1.32_1 2011-06-24
++=head2 1.32_1 2011-06-24
+
+ [BUG FIXES]
+
+@@ -750,7 +752,7 @@
+
+ * Added unicode_sql.pl and unicode_params.pl examples
+
+-1.31 2011-06-21
++=head2 1.31 2011-06-21
+
+ [BUG FIXES]
+
+@@ -760,7 +762,7 @@
+ Minor change to Makefile.PL to avoid use of unitialised warning on
+ $ENV{LD_LIBRARY_PATH} in warning when it is not set.
+
+-1.30_7 2011-06-15
++=head2 1.30_7 2011-06-15
+
+ [BUG FIXES]
+
+@@ -780,7 +782,7 @@
+ SQL_ERROR (-1) for errors or SQL_SUCCESS_WITH_INFO (1) for
+ informational messages.
+
+-1.30_6 2011-06-04
++=head2 1.30_6 2011-06-04
+
+ [BUG FIXES]
+
+@@ -806,7 +808,7 @@
+ * pod example of odbc_err_handler incorrectly used \$err_handler
+ instead of \&err_handler.
+
+-1.30_5 2011-05-24
++=head2 1.30_5 2011-05-24
+
+ [BUG FIXES]
+
+@@ -815,7 +817,7 @@
+ http://rt.cpan.org/Ticket/Display.html?id=67994). It was working
+ for SQL_CHAR described columns but not SQL_VARCHAR.
+
+-1.30_4 2011-05-18
++=head2 1.30_4 2011-05-18
+
+ [BUG FIXES]
+
+@@ -839,19 +841,19 @@
+
+ * TreatAsLob was incorrectly documented as BindAsLob.
+
+-1.30_3 2011-05-17
++=head2 1.30_3 2011-05-17
+
+ [BUG FIXES]
+
+ * Made the new odbc_describe_parameters work and added test case.
+
+-1.30_2 2011-05-16
++=head2 1.30_2 2011-05-16
+
+ [ENHANCEMENTS]
+
+ * Added the new odbc_describe_parameters attribute.
+
+-1.30_1 2011-05-12
++=head2 1.30_1 2011-05-12
+
+ [BUG FIXES]
+
+@@ -906,7 +908,7 @@
+ * Removed some unused variables and added some missing function
+ prototypes
+
+-1.29 2011-03-08
++=head2 1.29 2011-03-08
+
+ * An official release of the 1.28 development releases.
+
+@@ -921,7 +923,7 @@
+ because SQLRowCount returns an error after "ROLLBACK TO SAVEPOINT
+ savepoint_0"; before this error was missed.
+
+-1.28_5 2011-03-06
++=head2 1.28_5 2011-03-06
+
+ [BUG FIXES]
+
+@@ -966,7 +968,7 @@
+ * Improvements in tracing to take account of DBI's neatsvpv lops 5
+ characters off maxsize on a string.
+
+-1.28_4 2011-02-24
++=head2 1.28_4 2011-02-24
+
+ [BUG FIXES]
+
+@@ -1067,7 +1069,7 @@
+
+ Official release of the 1.26 development releases.
+
+-1.26_4 2010-12-14
++=head2 1.26_4 2010-12-14
+
+ Fixed bug highlighted by investigation into rt 62033 where the
+ active flag was sometimes not set on the statement after
+@@ -1083,19 +1085,19 @@
+ Fix a possible snprintf buffer overflow in GetTypeInfo when
+ the type is specified and it is negative.
+
+-1.26_3 2010-11-18
++=head2 1.26_3 2010-11-18
+
+ Fixed rt 63108. The change to column binding in 1.24_2 was not
+ complete and causes bound columns to be rebound on each execute
+ wasting time and leaking memory. Found, diagnosed and proposed fix
+ by Steve Bentley.
+
+-1.26_2 2010-11-09
++=head2 1.26_2 2010-11-09
+
+ Fixed bug found by frew where an snprintf can overflow when binding
+ a lot of parameters.
+
+-1.26_1 2010-10-24
++=head2 1.26_1 2010-10-24
+
+ There are over 200 block changes in the source code for this release
+ from the previous one (see below). If you are using DBD::ODBC in
+@@ -1178,17 +1180,17 @@
+ Removed dbd_caution as it was no used
+ Localised more variable declarations
+
+-1.25 2010-09-22
++=head2 1.25 2010-09-22
+
+ Official release of 1.25 combining all the changes in the 1.24_x
+ development releases.
+
+-1.24_6 2010-09-16
++=head2 1.24_6 2010-09-16
+
+ rt 61370 - default XML type parameters in SQL Server to SQL_WCHAR so
+ they accept unicode strings.
+
+-1.24_5 2010-09-15
++=head2 1.24_5 2010-09-15
+
+ Fixed missing SvSETMAGIC on a bound scalar which was causing length() to
+ return the wrong result - see http://www.perlmonks.org/?node_id=860211
+@@ -1197,13 +1199,13 @@
+ Changed bind_col so it actually pays attention to the TYPE attribute as
+ you could not override the bind type of a bound column before.
+
+-1.24_4 2010-09-08
++=head2 1.24_4 2010-09-08
+
+ Left a sv_undef in - thanks smoke testers for finding that.
+
+ Change sprintf to snprintf for safety.
+
+-1.24_3 2010-09-06
++=head2 1.24_3 2010-09-06
+
+ Added note from Robert Freimuth for obtaining the last insert ID in MS
+ Access.
+@@ -1216,7 +1218,7 @@
+ Added a FAQ entry for how "use regional settings" in MS SQL Server
+ breaks things.
+
+-1.24_2 2010-07-23
++=head2 1.24_2 2010-07-23
+
+ Fix rt57957 reported by Marc Prewitt. DBD::ODBC was not ignoring named
+ placeholders and ? inside comments. Comments are deemed as text between
+@@ -1259,7 +1261,7 @@
+ Added note on do method implementation in DBD::ODBC and how some may
+ consider it to deviate from the DBI specification.
+
+-1.24_1 2010-05-27
++=head2 1.24_1 2010-05-27
+
+ Corrected pod and private attributes for the odbc_SQL_DRIVER_ODBC_VER
+ attribute which was documented as SQL_DRIVER_ODBC_VER.
+@@ -1273,14 +1275,14 @@
+ error. Thanks to anonymous for spotting this and producing a standalone
+ example of the problem that made it so much easier to find.
+
+-1.24 2010-05-14
++=head2 1.24 2010-05-14
+
+ Minor change in Makefile.PL to only use NO_META if ExtUtils::MakeMaker
+ is at least at version 6.10. Reported by Chunmei Wu.
+
+ Minor change to test rt_50852 which had wrong skip count.
+
+-1.23_5 2010-05-06
++=head2 1.23_5 2010-05-06
+
+ Added advice from Jan Dubois (ActiveState) on building DBD::ODBC for
+ ActivePerl (see README.windows).
+@@ -1293,7 +1295,7 @@
+ Hopefully fixed problems building on windows 32 bit platforms that have
+ old sql header files not mentioning SQLLEN/SQLULEN.
+
+-1.23_4 2010-04-13
++=head2 1.23_4 2010-04-13
+
+ Added more FAQs.
+
+@@ -1318,7 +1320,7 @@
+ parameter is varXXX(max) if SQLDescribeParam failed in the Microsoft
+ Native Client driver.
+
+-1.23_3 2010-03-24
++=head2 1.23_3 2010-03-24
+
+ Minor changes to Makefile.PL and dbdimp.c to remove some compiler
+ warnings.
+@@ -1334,7 +1336,7 @@
+ consistent wrt to case - (as someone had turned on case-sensitivity in
+ SQL Server) Similar changes in rt_38977.t and rt_50852.t
+
+-1.23_2 2010-01-26
++=head2 1.23_2 2010-01-26
+
+ Fixed bug in Makefile.PL which could fail to find unixODBC/iODBC header
+ files but not report it as a problem. Thanks to Thomas J. Dillman and
+@@ -1347,7 +1349,7 @@
+ ODBC Drivers which support SQLDescribeParam but describe the parameters
+ incorrectly (see rt 50852). Test case also added as rt_50852.t.
+
+-1.23_1 2009-10-21
++=head2 1.23_1 2009-10-21
+
+ makefile.PL changes:
+ some formatting changes to output warn if unixodbc headers are not
+@@ -1381,12 +1383,12 @@
+ PostgreSQL) which returns all strings as UTF-8 encoded unicode. Thanks
+ to Noel Burton-Krahn.
+
+-1.23 2009-09-11
++=head2 1.23 2009-09-11
+
+ Only a readme change and version bumped to 1.23. This is a full release
+ of all the 1.22_x development releases.
+
+-1.22_3 2009-08-19
++=head2 1.22_3 2009-08-19
+
+ Fix skip count in rt_38977.t and typo in ok call.
+
+@@ -1430,7 +1432,7 @@
+ driver to pull the username/password from elsewhere e.g., like the
+ odbc.ini file.
+
+-1.22_1 2009-06-16
++=head2 1.22_1 2009-06-16
+
+ Applied a slightly modified version of patch from Jens Rehsack to
+ improve support for finding the iODBC driver manager.
+@@ -1452,7 +1454,7 @@
+ rt_null_varchar had wrong skip count meaning non-sql-server drivers or
+ sql server drivers too old skipped 2 tests more than were planned.
+
+-1.22 2009-06-10
++=head2 1.22 2009-06-10
+
+ Fixed bug which led to "Use of uninitialized value in subroutine entry"
+ warnings when writing a NULL into a NVARCHAR with a unicode-enabled
+@@ -1470,7 +1472,7 @@
+ If you use a UNICODE enabled DBD::ODBC (the default on Windows) and
+ unicode strings larger than 64K you should definitely upgrade now.
+
+-1.21_1 2009-06-02
++=head2 1.21_1 2009-06-02
+
+ Fixed bug referred to in rt 46597 reported by taioba and identified by
+ Tim Bunce. In Calls to bind_param for a given statement handle if you
+@@ -1489,7 +1491,7 @@
+ some DBDs allow the parameter to be rebound with a different type -
+ DBD::ODBC is one of those drivers.
+
+-1.21 2009-04-27
++=head2 1.21 2009-04-27
+
+ Change 02simple test to output Perl, DBI and DBD::ODBC versions.
+
+@@ -1503,7 +1505,7 @@
+
+ Added test_results.txt containing some supplied make test results.
+
+-1.20 2009-04-20
++=head2 1.20 2009-04-20
+
+ Fix bug in handling of SQL_WLONGVARCHAR when not built with unicode
+ support. The column was not identified as a long column and hence the
+@@ -1532,7 +1534,7 @@
+
+ Double the buffer size used for column names if built with unicode.
+
+-1.19 2009-04-02
++=head2 1.19 2009-04-02
+
+ Some minor diagnostic output during tests when running against freeTDS
+ to show we know of issues in freeTDS.
+@@ -1573,7 +1575,7 @@
+ Added diagnostic output to 02simple.t to show the state of
+ odbc_has_unicode.
+
+-1.18_4 2009-03-13
++=head2 1.18_4 2009-03-13
+
+ A mistake in the MANIFEST lead to the rt_43384.t test being omitted.
+
+@@ -1600,13 +1602,13 @@
+ which was not done after testing if we are using SQL Server - this was
+ breaking tests to MS Access.
+
+-1.18_2 2009-03-09
++=head2 1.18_2 2009-03-09
+
+ Added yet another workaround for the SQL Server Native Client driver
+ version 2007.100.1600.22 and 2005.90.1399.00 (driver version 09.00.1399)
+ which leads to HY104, "Invalid precision value" in the rt_39841.t test.
+
+-1.18_1 2009-03-06
++=head2 1.18_1 2009-03-06
+
+ Fixed bug reported by Toni Salomäki leading to a describe failed error
+ when calling procedures with no results. Test cases added to
+@@ -1616,11 +1618,11 @@
+ more than 127 characters into a Microsoft Access text(255) column when
+ DBD::ODBC is built in unicode mode.
+
+-1.18 2009-01-16
++=head2 1.18 2009-01-16
+
+ Major release of all the 1.17 development releases below.
+
+-1.17_3 2008-12-19
++=head2 1.17_3 2008-12-19
+
+ Reinstated the answer in the FAQ for "Why do I get invalid value for
+ cast specification" which had got lost - thanks to EvanCarroll in
+@@ -1650,7 +1652,7 @@
+ One of the rt tests was not skipping the correct number of tests if the
+ driver was not SQL Server.
+
+-1.17_2 2008-11-17
++=head2 1.17_2 2008-11-17
+
+ Changed ParamTypes attribute to be as specification i.e.,
+
+@@ -1669,7 +1671,7 @@
+ Added patch from Spicy Jack to workaround problems with Strawberry Perl
+ setting INC on the command line when running Makefile.PL.
+
+-1.17_1 2008-10-10
++=head2 1.17_1 2008-10-10
+
+ Missing newline from end of META.yml upsets cpan
+
+@@ -1699,7 +1701,7 @@
+
+ Added a test case for rt 39897.
+
+-1.17 2008-09-22
++=head2 1.17 2008-09-22
+
+ In the absence of any bug reports since 1.16_4 this is the official 1.17
+ release. See below for changes since 1.16.
+@@ -1708,7 +1710,7 @@
+
+ Added support for ParamTypes (see DBI spec) and notes in DBD::ODBC pod.
+
+-1.16_4 2008-09-12
++=head2 1.16_4 2008-09-12
+
+ Small change to Makefile.PL to work around problem in darwin 8 with
+ iODBC which leads to "Symbol not found: _SQLGetPrivateProfileString"
+@@ -1734,7 +1736,7 @@
+
+ Fixed bug in 20SqlServer.t when DBI_DSN is defined including "DSN=".
+
+-1.16_3 2008-09-03
++=head2 1.16_3 2008-09-03
+
+ Changed Makefile.PL to add "-framework CoreFoundation" to linker line on
+ OSX/darwin.
+@@ -1773,7 +1775,7 @@
+ varchar(max) column. Thanks to Julian Lishev for finding the problem and
+ identifying 2 possible solutions.
+
+-1.16_2 2008-09-02
++=head2 1.16_2 2008-09-02
+
+ Removed szDummyBuffer field from imp_fbh_st and code in dbd_describe
+ which clears it. It was never used so this was a waste of time.
+@@ -1839,7 +1841,7 @@
+ New odbc_out_connect_string attribute for connections which returns the
+ ODBC driver out connection string.
+
+-1.16_1 2008-08-28
++=head2 1.16_1 2008-08-28
+
+ Fixed bug in odbc_cancel which was checking the ACTIVE flag was on
+ before calling SQLCancel. Non-select statements can also be cancelled so
+@@ -1891,7 +1893,7 @@
+
+ New tests in 30Oracle.t for oracle procedures.
+
+-1.16 2008-05-13
++=head2 1.16 2008-05-13
+
+ [TESTS]
+
+@@ -1996,7 +1998,7 @@
+ execute and some drivers (SQL Server) insist a procedure is not finished
+ until SQLMoreResults returns SQL_NO_DATA.
+
+-1.15 2008-01-29
++=head2 1.15 2008-01-29
+
+ 1.15 final release.
+
+@@ -2024,7 +2026,7 @@
+ Now if DBI::DBD is not installed we just warn and exit 0 to avoid a
+ cpan-testers failure.
+
+-1.15_2 2007-11-14
++=head2 1.15_2 2007-11-14
+
+ Fix bug in DBD::ODBC's private function data_sources which was returning
+ data sources prefixed with "DBI:ODBC" instead of "dbi:ODBC".
+@@ -2066,7 +2068,7 @@
+
+ Fix a possible typo, used once in 10handler.t.
+
+-1.15_1 2007-11-06
++=head2 1.15_1 2007-11-06
+
+ Minor changes to 20SqlServer.t test for SQL Server 2008 (Katmai).
+ Timestamps now return an extra 4 digits of precision (all 0000) and the
+@@ -2129,7 +2131,7 @@
+ Changed dual tests on SQL_SUCCESS and SQL_SUCCESS_WITH_INFO to use
+ SQL_SUCCEEDED.
+
+-1.14 2007-07-17
++=head2 1.14 2007-07-17
+
+ Fix bug reported where ping crashes after disconnect thanks to Steffen
+ Goeldner.
+@@ -2208,7 +2210,7 @@
+
+ Add some HTTP links to useful tutorials on DBD::ODBC
+
+-1.13 2004-11-08
++=head2 1.13 2004-11-08
+
+ Fix inconsistency/bug with odbc_exec_direct vs. odbc_execdirect
+ settings. Now made consistent with odbc_exec_direct. For now, will
+@@ -2228,7 +2230,7 @@
+ Fix Oracle integral/numeric output params so that warning not printed
+ about value not being numeric (even though it is!)
+
+-1.12 2004-10-26
++=head2 1.12 2004-10-26
+
+ Fix bug with odbc_execdirect attributed thanks to Martin Evans
+
+@@ -2236,11 +2238,11 @@
+ tests failed with setting timeout. Probably not handled by Oracle's
+ ODBC driver
+
+-1.11 2004-10-11
++=head2 1.11 2004-10-11
+
+ Added odbc_timeout, but untested
+
+-1.10 2004-09-08
++=head2 1.10 2004-09-08
+
+ Fixed bug in Makefile.PL.
+
+@@ -2250,12 +2252,12 @@
+
+ Fixed bug in bind_param_inout
+
+-1.09 2004-03-10
++=head2 1.09 2004-03-10
+
+ Duh. I forgot to add new dbivport.h to MANIFEST and SVN before
+ submitting. Fixed.
+
+-1.08 2004-03-06
++=head2 1.08 2004-03-06
+
+ Added check in Makefile.PL to detect if the environment variable LANG is
+ Set. If so, prints a warning about potential makefile generation
+@@ -2268,7 +2270,7 @@
+ permit them -- tested with SQL Server. Thanks to Martin Busik! See
+ odbc_cursortype information in the ODBC POD.
+
+-1.07 2004-02-19
++=head2 1.07 2004-02-19
+
+ Added to Subversion version control hosted by perl.org. Thanks Robert!
+ See ODBC.pm POD for more information.
+@@ -2282,7 +2284,7 @@
+
+ Fix for SQLForeignKeys thanks to Kevin Shepherd.
+
+-1.06 2003-06-19
++=head2 1.06 2003-06-19
+
+ Fixed test in t/02simple.t to skip if the DSN defined by the user has
+ DSN= in it.
+@@ -2299,7 +2301,7 @@
+ Updated Makefile.PL for dmake, per patch by Steffen Goldner. Thanks
+ Steffen!
+
+-1.05 2003-03-14
++=head2 1.05 2003-03-14
+
+ Cleaned up Makefile.PL and added Informix support thanks to Jonathan
+ Leffler (see README.informix)
+@@ -2319,7 +2321,7 @@
+ Ensured files are in Unix format, with the exception of the README type
+ information and Makefile.PL
+
+-1.04 2003-01-24
++=head2 1.04 2003-01-24
+
+ It seems that case insensitive string comparison with a limit causes
+ problems for multiple platforms. strncmpi, strncasecmp, _strcmpin are
+@@ -2327,12 +2329,12 @@
+ to upper case the string then do strncmp, which should be safe...sheesh.
+ A simple thing turned into a headache...
+
+-1.03 2003-01-17
++=head2 1.03 2003-01-17
+
+ Add automatic detection of DRIVER= or DSN= to add user id and password
+ to connect string.
+
+-1.02 2003-01-06
++=head2 1.02 2003-01-06
+
+ Fix to call finish() automatically if execute is re-called in a loop
+ (and test in t/02simple.t to ensure it's fixed)
+@@ -2342,11 +2344,11 @@
+
+ Fixes for build under Win32 with Perl5.8.
+
+-1.01 2002-12-09
++=head2 1.01 2002-12-09
+
+ Forgot to fix require DBI 1.201 in ODBC.pm to work for perl 5.8. Fixed
+
+-1.00 2002-12-08
++=head2 1.00 2002-12-08
+
+ (Please see all changes since version 0.43)
+
+@@ -2383,24 +2385,24 @@
+ on systems which already have ODBC drivers in their standard include
+ path.
+
+-0.45_18 2002-09-26
++=head2 0.45_18 2002-09-26
+
+ Updated MANIFEST to include more of the mytest/* files (examples, tests)
+
+ Fixed problem when attempting to get NUM_OF_FIELDS after execute returns
+ no rows/columns.
+
+-0.45_17 2002-08-26
++=head2 0.45_17 2002-08-26
+
+ More fixes for multiple result sets. Needed to clear the DBIc_FIELDS_AV
+ when re-executing the multiple-result set stored procedure/query.
+
+-0.45_16 2002-08-26
++=head2 0.45_16 2002-08-26
+
+ Updated to fix output parameters with multiple result sets. The output
+ parameters are not set until the last result set has been retrieved.
+
+-0.45_15 2002-08-20
++=head2 0.45_15 2002-08-20
+
+ Updated for new DBIc_STATE macros (all debug, as it turned out) to be
+ thread safer in the long run
+@@ -2423,7 +2425,7 @@
+ Updated the DBD::ODBC POD documentation to document DBD::ODBC private
+ attributes and usage.
+
+-0.45_14 2002-08-13
++=head2 0.45_14 2002-08-13
+
+ Added support to handle (better) DBI begin_work().
+
+@@ -2432,7 +2434,7 @@
+ Fix bug when connecting twice in the same script. Trying to set the
+ environment ODBC version twice against the same henv caused an error.
+
+-0.45_13 2002-08-09
++=head2 0.45_13 2002-08-09
+
+ Workaround problem with iODBC where SQLAllocHandleStd is not present in
+ iODBC.
+@@ -2441,11 +2443,11 @@
+ near future the change log will be removed from here and put in changes
+ to tidy up a bit.
+
+-0.45_12 2002-08-09
++=head2 0.45_12 2002-08-09
+
+ Fixed global destruction access violation (which was seemingly random).
+
+-0.45_11 2002-08-08
++=head2 0.45_11 2002-08-08
+
+ Updated manifest to include more samples.
+
+@@ -2461,7 +2463,7 @@
+ upgrade your driver to the latest version on Microsoft's website (MDAC
+ 2.7 or above) http://www.microsoft.com/data
+
+-0.45_10 2002-07-30
++=head2 0.45_10 2002-07-30
+
+ Added database specific tests to ensure things are working. Some of the
+ tests may not work for all people or may not be desirable. I have tried
+@@ -2472,12 +2474,12 @@
+ SQL_API_ODBC3_ALL_FUNCTIONS. Would have caused a memory overwrite on
+ the stack if it was called.
+
+-0.45_9 2002-07-30
++=head2 0.45_9 2002-07-30
+
+ Fixed bug in procedure handling for SQLServer. Was not re-describing
+ the result sets if the SQLMoreResults in the execute needs to be called.
+
+-0.45_8 2002-07-25
++=head2 0.45_8 2002-07-25
+
+ Fixed bug in tracing code when binding an undef parameter which did not
+ happen to have a valid buffer with tracing level >= 2
+@@ -2493,7 +2495,7 @@
+ Fixed SQL Server issue when binding a null and the length was set to 0
+ instead of 1
+
+-0.45_7 2002-07-25
++=head2 0.45_7 2002-07-25
+
+ Adding support for array binding, but not finished.
+
+@@ -2504,11 +2506,11 @@
+ Fixed bug where binding the empty string would cuase a problem. Fixed
+ and added test in t/07bind.t.
+
+-0.45_6 2002-07-24
++=head2 0.45_6 2002-07-24
+
+ Added support for new DBI ParamValues feature.
+
+-0.45_5 2002-07-23
++=head2 0.45_5 2002-07-23
+
+ Added odbc_err_handler and odbc_async_exec thanks to patches by David
+ L. Good. See example in mytest/testerrhandler.pl
+@@ -2541,11 +2543,11 @@
+ check it's value. If the value is 1, your ODBC driver can do
+ asynchronous execution. If the value is 0, your ODBC driver cannot.
+
+-0.45_4 2002-07-22
++=head2 0.45_4 2002-07-22
+
+ More fixes for DB2 tests and timestamp handling.
+
+-0.45_3 2002-07-22
++=head2 0.45_3 2002-07-22
+
+ Changes to internal timestamp type handling and test structure to ensure
+ tests work for all platforms. DB2 was giving me fits due to bad
+@@ -2553,12 +2555,12 @@
+ problems and helping research solutions. This includes the
+ scale/precision values to correctly store full timestamps.
+
+-0.45_2 2002-07-19
++=head2 0.45_2 2002-07-19
+
+ Moving API usage to ODBC 3.0 specifications. With lots of help from
+ Martin Evans (again!). Thanks Martin!!!!!
+
+-0.44 2002-07-18
++=head2 0.44 2002-07-18
+
+ .44 was never officially released.
+
+@@ -2567,7 +2569,7 @@
+
+ Partly moving towards defaulting to ODBC 3.x standards.
+
+-0.43 2002-07-18
++=head2 0.43 2002-07-18
+
+ Fix for FoxPro (and potentially other) Drivers!!!!!
+
+@@ -2577,14 +2579,14 @@
+
+ Fix to make all bound columns word (int) aligned in the buffer.
+
+-0.42 2002-07-08
++=head2 0.42 2002-07-08
+
+ Added patches to the tests to support ActiveState's automated build
+ process.
+
+ Fix ping() to try SQLTables for a test, instead of a strange query.
+
+-0.41 2002-04-15
++=head2 0.41 2002-04-15
+
+ Fixed problem where SQLDescribeParam would fail (probably bug in ODBC
+ driver). Now reverts to SQL_VARCHAR if that happens, instead of failing
+@@ -2594,7 +2596,7 @@
+ problem. Left the error on the test, but added warning indicating it's
+ a known problem.
+
+-0.40 2002-04-12
++=head2 0.40 2002-04-12
+
+ Most significant change is the change in the default binding type which
+ forces DBD::ODBC to attempt to determine the bind type if one is not
+@@ -2608,7 +2610,7 @@
+ this, but if someone has the problem, please let me know (and hopefully
+ send a patch with it).
+
+-0.39 2002-03-12
++=head2 0.39 2002-03-12
+
+ See mytest/longbin.pl for demonstration of inserting and retrieving long
+ binary files to/from the db. Uses MD5 algorithm to verify data. Please
+@@ -2626,11 +2628,11 @@
+ Changes to connect sequence to provide better error messages for those
+ using DSN-less connections.
+
+-0.38 2002-02-12
++=head2 0.38 2002-02-12
+
+ Fixed do function (again) thanks to work by Martin Evans.
+
+-0.37 2002-02-10
++=head2 0.37 2002-02-10
+
+ Patches for get_info where return type is string. Patches thanks to
+ Steffen Goldner. Thanks Steffen!
+@@ -2646,12 +2648,12 @@
+ Additionally, a random core dump occurred in the tests, based upon the
+ new SQLExecDirect code. This has been fixed.
+
+-0.36 2002-02-10
++=head2 0.36 2002-02-10
+
+ Fixed build for ODBC 2.x drivers. The new SQLExecDirect code had
+ SQLFreeHandle which is a 3.x function, not a 2.x function.
+
+-0.35 2002-02-09
++=head2 0.35 2002-02-09
+
+ Fixed (finally) multiple result sets with differing numbers of columns.
+ The final fix was to call SQLFreeStmt(SQL_UNBIND) before repreparing the
+@@ -2668,7 +2670,7 @@
+ ensure SQLExecDirect is being called. Patches thanks to Merijn Broeren.
+ Thanks Merijn!
+
+-0.34 2002-02-07
++=head2 0.34 2002-02-07
+
+ Further revamped tests to attempt to determine if SQLDescribeParam will
+ work to handle the binding types. The t/08bind.t attempts to determine
+@@ -2684,13 +2686,13 @@
+
+ Support for upcoming dbi get_info.
+
+-0.33_3 2002-02-04
++=head2 0.33_3 2002-02-04
+
+ Revamped tests to include tests for multiple result sets. The tests are
+ ODBC driver platform specific and will be skipped for drivers which do
+ not support multiple result sets.
+
+-0.33_2 2002-02-04
++=head2 0.33_2 2002-02-04
+
+ Finally tested new binding techniques with SQL Server 2000, but there is
+ a nice little bug in their MDAC and ODBC drivers according to the
+@@ -2711,7 +2713,7 @@
+
+ Please comment soon...
+
+-0.33_1 2002-02-04
++=head2 0.33_1 2002-02-04
+
+ *** WARNING: ***
+
+@@ -2739,14 +2741,14 @@
+ '01-JAN-1987 00:00:00'
+ 'Does anyone insert a ?'
+
+-0.32 2002-01-22
++=head2 0.32 2002-01-22
+
+ More SAP patches to Makfile.PL to eliminate the call to Data Sources
+
+ A patch to the test (for SAP and potentially others), to allow fallback
+ to SQL_TYPE_DATE in the tests
+
+-0.31 2002-01-18
++=head2 0.31 2002-01-18
+
+ Added SAP patches to build directly against SAP driver instead of driver
+ manager thanks to Flemming Frandsen (thanks!)
+@@ -2755,7 +2757,7 @@
+ please report this as soon as possible. The downside is that we need to
+ actually execute the dummy query.
+
+-0.30 2002-01-08
++=head2 0.30 2002-01-08
+
+ Added ping patch for Solid courtesy of Marko Asplund
+
+@@ -2779,7 +2781,7 @@
+ # ignores :foo, :new, etc, but not :1 or ?
+ $dbh->do("create or replace etc :new.D = sysdate etc");
+
+-0.29 2001-08-22
++=head2 0.29 2001-08-22
+
+ Cygwin patches from Neil Lunn (untested by me). Thanks Neil!
+
+@@ -2848,7 +2850,7 @@
+
+ Updated t/02simple.t to not print an error, when there is not one.
+
+-0.28 2000-03-23
++=head2 0.28 2000-03-23
+
+ Added support for SQLSpecialColumns thanks to patch provided by Martin
+ J. Evans
+@@ -2856,7 +2858,7 @@
+ Fixed bug introduced in 0.26 which was introduced of SQLMoreResults was
+ not supported by the driver.
+
+-0.27 2000-03-08
++=head2 0.27 2000-03-08
+
+ Examined patch for ping method to repair problem reported by Chris
+ Bezil. Thanks Chris!
+@@ -2864,7 +2866,7 @@
+ Added simple test for ping method working which should identify this in
+ the future.
+
+-0.26 2000-03-05
++=head2 0.26 2000-03-05
+
+ Put in patch for returning only positive rowcounts from dbd_st_execute.
+ The original patch was submitted by Jon Smirl and put back in by David
+@@ -2883,7 +2885,7 @@
+ sample for this yet. It may come in handy with threaded perl, someday
+ or it may work in a signal handler.
+
+-0.25 2000-03-04
++=head2 0.25 2000-03-04
+
+ Added conditional compilation for SQL_WVARCHAR and SQL_WLONGVARCHAR. If
+ they are not defined by your driver manager, they will not be compiled
+@@ -2894,7 +2896,7 @@
+ Added more long tests with binding in t\09bind.t. Note use of
+ bind_param!
+
+-0.24 2000-02-24
++=head2 0.24 2000-02-24
+
+ Fixed Test #13 in 02simple.t. Would fail, improperly, if there was only
+ one data source defined.
+@@ -2917,14 +2919,14 @@
+ Added some code for handling a hint on disconnect where the user gets an
+ error for not committing.
+
+-0.22 1999-09-08
++=head2 0.22 1999-09-08
+
+ Fixed for threaded perl builds. Note that this was tested only on
+ Win32, with no threads in use and using DBI 1.13. Note, for
+ ActiveState/PERL_OBJECT builds, DBI 1.13_01 is required as of 9/8/99.
+ If you are using ActiveState's perl, this can be installed by using PPM.
+
+-0.21 Unknown
++=head2 0.21 Unknown
+
+ Thanks to all who provided patches!
+
+@@ -2974,23 +2976,23 @@
+ Added data_sources capability via snarfing code from DBD::Adabas (Jochen
+ Wiedmann)
+
+-0.20 1998-08-14
++=head2 0.20 1998-08-14
+
+ SQLColAttributes fixes for SQL Server and MySQL. Fixed tables method by
+ renaming to new table_info method. Added new tyoe_info_all method.
+ Improved Makefile.PL support for Adabase.
+
+-0.19 Unknown
++=head2 0.19 Unknown
+
+ Added iODBC source code to distribution.Fall-back to using iODBC header
+ files in some cases.
+
+-0.18 Unknown
++=head2 0.18 Unknown
+
+ Enhancements to build process. Better handling of errors in error
+ handling code.
+
+-0.17 Unknown
++=head2 0.17 Unknown
+
+ This release is mostly due to the good work of Jeff Urlwin. My eternal
+ thanks to you Jeff.
+@@ -3054,3 +3056,5 @@
+ for the SQL Name. Again, in Oracle the SQL_LONGVARCHAR is LONG, while
+ in Access it's MEMO. The tests currently handle this correctly (at
+ least with Access and Oracle, MS SQL server will be tested also).
++
++=cut
diff --git a/perl-DBD-ODBC.spec b/perl-DBD-ODBC.spec
index 1c2184c..5a5e475 100644
--- a/perl-DBD-ODBC.spec
+++ b/perl-DBD-ODBC.spec
@@ -1,6 +1,6 @@
Name: perl-DBD-ODBC
Version: 1.47
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: ODBC Driver for DBI
License: GPL+ or Artistic
Group: Development/Libraries
@@ -17,6 +17,7 @@ BuildRequires: unixODBC-devel
Requires: perl(DBI)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: unixODBC
+Patch0: Changes.patch
%description
@@ -25,6 +26,7 @@ module uses the unixODBC manager to connect to the database.
%prep
%setup -q -n DBD-ODBC-%{version}
+%patch0 -p1
%build
PERL_MM_USE_DEFAULT=1 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
@@ -46,6 +48,10 @@ make test
%{_mandir}/man3/*
%changelog
+* Mon Feb 24 2014 Jan Holcapek <holcapek at gmail.com> 1.47-2
+- Fix formatting of Changes, which confused RPM dependency
+ solver find-requires.sh so that it made the RPM require 'perl(the)'
+
* Fri Feb 21 2014 Jan Holcapek <holcapek at gmail.com> 1.47-1
- Updated to upstream version 1.47.
More information about the scm-commits
mailing list