!5 [sync] PR-2: Correct the SPEC for matching the latest CMAKE dependency.
From: @openeuler-sync-bot Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
3070a29183
@ -1,13 +1,13 @@
|
|||||||
Name: mariadb-connector-odbc
|
Name: mariadb-connector-odbc
|
||||||
Version: 3.1.11
|
Version: 3.1.11
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: The MariaDB Native Client library (ODBC driver)
|
Summary: The MariaDB Native Client library (ODBC driver)
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Source0: mariadb-connector-odbc-%{version}/%{name}-%{version}-ga-src.tar.gz
|
Source0: mariadb-connector-odbc-%{version}/%{name}-%{version}-ga-src.tar.gz
|
||||||
Url: https://mariadb.org/en/
|
Url: https://mariadb.org/en/
|
||||||
# Online documentation can be found at: https://mariadb.com/kb/en/library/mariadb-connector-odbc/
|
# Online documentation can be found at: https://mariadb.com/kb/en/library/mariadb-connector-odbc/
|
||||||
|
|
||||||
BuildRequires: cmake unixODBC-devel gcc-c++
|
BuildRequires: cmake make unixODBC-devel gcc-c++
|
||||||
BuildRequires: mariadb-connector-c-devel >= 3.0.6
|
BuildRequires: mariadb-connector-c-devel >= 3.0.6
|
||||||
|
|
||||||
Patch1: libraries_include_path.patch
|
Patch1: libraries_include_path.patch
|
||||||
@ -26,14 +26,13 @@ and it supports both Unicode and ANSI modes.
|
|||||||
%cmake . \
|
%cmake . \
|
||||||
-DCMAKE_BUILD_TYPE="%{?with_debug:Debug}%{!?with_debug:RelWithDebInfo}" \
|
-DCMAKE_BUILD_TYPE="%{?with_debug:Debug}%{!?with_debug:RelWithDebInfo}" \
|
||||||
-DMARIADB_LINK_DYNAMIC="%{_libdir}/libmariadb.so" \
|
-DMARIADB_LINK_DYNAMIC="%{_libdir}/libmariadb.so" \
|
||||||
\
|
|
||||||
-DINSTALL_LAYOUT=RPM \
|
-DINSTALL_LAYOUT=RPM \
|
||||||
-DINSTALL_LIBDIR="%{_lib}" \
|
-DINSTALL_LIBDIR="%{_lib}" \
|
||||||
-DINSTALL_LIB_SUFFIX="%{_lib}" \
|
-DINSTALL_LIB_SUFFIX="%{_lib}" \
|
||||||
-DINSTALL_DOCDIR="%{_defaultdocdir}/%{name}" \
|
-DINSTALL_DOCDIR="%{_defaultdocdir}/%{name}" \
|
||||||
-DINSTALL_LICENSEDIR="%{_defaultlicensedir}/%{name}" \
|
-DINSTALL_LICENSEDIR="%{_defaultlicensedir}/%{name}"
|
||||||
|
|
||||||
%cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -46,5 +45,8 @@ and it supports both Unicode and ANSI modes.
|
|||||||
%{_libdir}/libmaodbc.so
|
%{_libdir}/libmaodbc.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 23 2022 bzhaoop <bzhaojyathousandy@gmail.com> - 3.1.11-2
|
||||||
|
- Fix for fitting the new version Cmake.
|
||||||
|
|
||||||
* Wed Mar 3 2021 Zheng Zhenyu <zheng.zhenyu@outlook.com> - 3.1.11-1
|
* Wed Mar 3 2021 Zheng Zhenyu <zheng.zhenyu@outlook.com> - 3.1.11-1
|
||||||
- Initial Commit
|
- Initial Commit
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user