Compare commits

..

No commits in common. "f85db0923077cd2185e4bbc3016658357724c981" and "ed4638e211e0f6ac25414b45c90febe1ac5cf70a" have entirely different histories.

6 changed files with 8 additions and 1990 deletions

File diff suppressed because it is too large Load Diff

BIN
galera-3-25.3.26.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global galeradoc %{buildroot}%{_docdir}/galera
Name: galera
Version: 26.4.16
Release: 1
Version: 25.3.26
Release: 3
Summary: Synchronous multi-master replication library
License: GPLv2
URL: http://galeracluster.com/
Source0: http://releases.galeracluster.com/%{name}-4.16/source/%{name}-4-%{version}.tar.gz
Source0: http://releases.galeracluster.com/%{name}-3.26/source/%{name}-3-%{version}.tar.gz
Source1: garbd.service
#systemd startup script
Source2: garbd-wrapper
@ -13,10 +13,8 @@ Source2: garbd-wrapper
#Use decode to make the SConstruct Python3 compatible
#https://github.com/codership/galera/commit/71685db8da72b81a0950c19269281d10ae179706.patch
Patch0000: galera-python3.patch
# https://salsa.debian.org/mariadb-team/galera-4/-/commit/19f010d78a98d8c481b57de27b0b59cdad8b979d
Patch0001: Apply-upstream-patches-from-codership-galera-558.patch
BuildRequires: asio-devel boost-devel check-devel gcc-c++ openssl-devel python3-scons systemd
BuildRequires: asio-devel boost-devel check-devel gcc-c++ openssl-devel python3-scons systemd gdb
Requires: nmap-ncat
Requires(post,preun,postun): systemd
@ -25,9 +23,7 @@ Requires(post,preun,postun): systemd
This is Galera replication - Codership's implementation of the write set replication (wsrep) interface.
%prep
%autosetup -n %{name}-4-%{version} -p1
sed -i '/^GALERA_VER/s/API + //' wsrep/tests/SConscript
%autosetup -n %{name}-3-%{version} -p1
%build
%{set_build_flags}
@ -42,6 +38,8 @@ scons-3 %{?_smp_mflags} strict_build_flags=1
%install
install -D -m 644 COPYING %{galeradoc}/COPYING
install -D -m 644 asio/LICENSE_1_0.txt %{galeradoc}/LICENSE.asio
install -D -m 644 chromium/LICENSE %{galeradoc}/LICENSE.chromium
install -D -m 644 www.evanjones.ca/LICENSE %{galeradoc}/LICENSE.crc32
install -D -m 644 scripts/packages/README %{galeradoc}/README
install -D -m 644 scripts/packages/README-MySQL %{galeradoc}/README-MySQL
install -D -m 644 garb/files/garb.cnf %{buildroot}%{_sysconfdir}/sysconfig/garb
@ -71,18 +69,6 @@ install -D -m 755 libgalera_smm.so %{buildroot}%{_libdir}/galera/li
%{_unitdir}/garbd.service
%changelog
* Tue Dec 05 2023 yaoxin <yao_xin001@hoperun.com> - 26.4.16-1
- Upgrade to 26.4.16 and fix build error
* Wed Aug 25 2021 lingsheng <lingsheng@huawei.com> - 26.4.8-1
- Update to 26.4.8
* Mon Aug 16 2021 lingsheng <lingsheng@huawei.com> - 25.3.26-5
- Remove unsupported reload option
* Wed Jul 21 2021 lingsheng <lingsheng@huawei.com> - 25.3.26-4
- Remove unnecessary buildrequire gdb
* Sat Mar 21 2020 songnannan <songnannan2@huawei.com> - 25.3.26-3
- add gdb in buildrequires

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: codership/galera
tag_prefix: release_
seperator: .

View File

@ -4,6 +4,7 @@ Documentation=https://galeracluster.com/library/documentation/arbitrator.html
[Service]
ExecStart=/usr/sbin/garbd-wrapper
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target