Fix for cmake 3.20

i8
Arkady L. Shane 1 year ago
parent 8e0b47bfe9
commit 79d21dd8ce

@ -3,12 +3,13 @@
Name: mariadb-connector-c Name: mariadb-connector-c
Version: 3.1.11 Version: 3.1.11
Release: 2%{?with_debug:.debug}%{?dist} Release: 2%{?with_debug:.debug}%{?dist}.inferit
Summary: The MariaDB Native Client library (C driver) Summary: The MariaDB Native Client library (C driver)
License: LGPLv2+ License: LGPLv2+
Source: https://downloads.mariadb.org/interstitial/connector-c-%{version}/mariadb-connector-c-%{version}-src.tar.gz Source: https://downloads.mariadb.org/interstitial/connector-c-%{version}/mariadb-connector-c-%{version}-src.tar.gz
Source2: my.cnf Source2: my.cnf
Source3: client.cnf Source3: client.cnf
Patch0: 0001-Fix-syntax-error-in-cmake-3.20.patch
Url: http://mariadb.org/ Url: http://mariadb.org/
# More information: https://mariadb.com/kb/en/mariadb/building-connectorc-from-source/ # More information: https://mariadb.com/kb/en/mariadb/building-connectorc-from-source/
@ -58,6 +59,7 @@ and require this package, so the /etc/my.cnf file is present.
%prep %prep
%setup -q -n %{name}-%{version}-src %setup -q -n %{name}-%{version}-src
%patch -P0 -p1 -b .cmake320
# Remove unsused parts # Remove unsused parts
rm -r win zlib win-iconv rm -r win zlib win-iconv
@ -183,6 +185,9 @@ popd
%changelog %changelog
* Thu Nov 30 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.1.11-2.inferit
- Fix for cmake 3.20
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.1.11-2 * Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.1.11-2
- Rebuilt for MSVSphere 8.8 - Rebuilt for MSVSphere 8.8

Loading…
Cancel
Save