Accepting request 987377 from server:database
- Add unixODC-etc-location.patch: Correct location of odbc.ini and odbcinst.ini in man pages. Since we pass --sysconfdir=%{_sysconfdir}/%{name} they are in /etc/unixODBC not /etc OBS-URL: https://build.opensuse.org/request/show/987377 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unixODBC?expand=0&rev=43
This commit is contained in:
commit
5ad96a511c
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 7 08:30:08 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||||
|
|
||||||
|
- Add unixODC-etc-location.patch:
|
||||||
|
Correct location of odbc.ini and odbcinst.ini in man pages.
|
||||||
|
Since we pass --sysconfdir=%{_sysconfdir}/%{name} they are in
|
||||||
|
/etc/unixODBC not /etc
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 4 17:16:26 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
Wed May 4 17:16:26 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ Source2: unixODBC-rpmlintrc
|
|||||||
Patch0: unixODBC-paths.patch
|
Patch0: unixODBC-paths.patch
|
||||||
Patch1: unixODBC-gccwarnings.patch
|
Patch1: unixODBC-gccwarnings.patch
|
||||||
Patch2: unixODBC-2.3.6-declarations.patch
|
Patch2: unixODBC-2.3.6-declarations.patch
|
||||||
|
Patch3: unixODC-etc-location.patch
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -66,6 +67,7 @@ Includes for ODBC development (based on unixODBC).
|
|||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
chmod -x NEWS README doc/*.html doc/*.gif Drivers/README
|
chmod -x NEWS README doc/*.html doc/*.gif Drivers/README
|
||||||
|
|
||||||
|
34
unixODC-etc-location.patch
Normal file
34
unixODC-etc-location.patch
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
Index: unixODBC-2.3.11/man/odbc.ini.5
|
||||||
|
===================================================================
|
||||||
|
--- unixODBC-2.3.11.orig/man/odbc.ini.5
|
||||||
|
+++ unixODBC-2.3.11/man/odbc.ini.5
|
||||||
|
@@ -1,10 +1,10 @@
|
||||||
|
.TH odbc.ini 5 "Sun 10 Jan 2021" "version 2.3.11" "unixODBC manual pages"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
-/etc/odbc.ini, $HOME/.odbc.ini - unixODBC data source configuration files
|
||||||
|
+/etc/unixODBC/odbc.ini, $HOME/.odbc.ini - unixODBC data source configuration files
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
-.B /etc/odbc.ini
|
||||||
|
+.B /etc/unixODBC/odbc.ini
|
||||||
|
is a system-wide configuration file for ODBC Data Source Names (DSNs).
|
||||||
|
|
||||||
|
.B $HOME/.odbc.ini
|
||||||
|
Index: unixODBC-2.3.11/man/odbcinst.ini.5
|
||||||
|
===================================================================
|
||||||
|
--- unixODBC-2.3.11.orig/man/odbcinst.ini.5
|
||||||
|
+++ unixODBC-2.3.11/man/odbcinst.ini.5
|
||||||
|
@@ -1,10 +1,10 @@
|
||||||
|
.TH odbcinst.ini 5 "Tue 12 Jan 2021" "version 2.3.11" "unixODBC manual pages"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
-/etc/odbcinst.ini - unixODBC driver configuration file
|
||||||
|
+/etc/unixODBC/odbcinst.ini - unixODBC driver configuration file
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
-\fB/etc/odbcinst.ini\fR is a configuration file for unixODBC drivers.
|
||||||
|
+\fB/etc/unixODBC/odbcinst.ini\fR is a configuration file for unixODBC drivers.
|
||||||
|
|
||||||
|
The file can be updated by using the \fB odbcinst\fR utility (recommended)
|
||||||
|
or edited by hand.
|
Loading…
Reference in New Issue
Block a user