Compare commits
10 Commits
ed4638e211
...
f85db09230
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f85db09230 | ||
|
|
c1136dd2fc | ||
|
|
82e91665b3 | ||
|
|
a5c993c721 | ||
|
|
3b277469bc | ||
|
|
543efa8a09 | ||
|
|
d55ec295f2 | ||
|
|
a5a5306ce2 | ||
|
|
6d9803d9f6 | ||
|
|
f126c565ae |
1965
Apply-upstream-patches-from-codership-galera-558.patch
Normal file
1965
Apply-upstream-patches-from-codership-galera-558.patch
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
galera-4-26.4.16.tar.gz
Normal file
BIN
galera-4-26.4.16.tar.gz
Normal file
Binary file not shown.
28
galera.spec
28
galera.spec
@ -1,11 +1,11 @@
|
|||||||
%global galeradoc %{buildroot}%{_docdir}/galera
|
%global galeradoc %{buildroot}%{_docdir}/galera
|
||||||
Name: galera
|
Name: galera
|
||||||
Version: 25.3.26
|
Version: 26.4.16
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: Synchronous multi-master replication library
|
Summary: Synchronous multi-master replication library
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://galeracluster.com/
|
URL: http://galeracluster.com/
|
||||||
Source0: http://releases.galeracluster.com/%{name}-3.26/source/%{name}-3-%{version}.tar.gz
|
Source0: http://releases.galeracluster.com/%{name}-4.16/source/%{name}-4-%{version}.tar.gz
|
||||||
Source1: garbd.service
|
Source1: garbd.service
|
||||||
#systemd startup script
|
#systemd startup script
|
||||||
Source2: garbd-wrapper
|
Source2: garbd-wrapper
|
||||||
@ -13,8 +13,10 @@ Source2: garbd-wrapper
|
|||||||
#Use decode to make the SConstruct Python3 compatible
|
#Use decode to make the SConstruct Python3 compatible
|
||||||
#https://github.com/codership/galera/commit/71685db8da72b81a0950c19269281d10ae179706.patch
|
#https://github.com/codership/galera/commit/71685db8da72b81a0950c19269281d10ae179706.patch
|
||||||
Patch0000: galera-python3.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 gdb
|
BuildRequires: asio-devel boost-devel check-devel gcc-c++ openssl-devel python3-scons systemd
|
||||||
Requires: nmap-ncat
|
Requires: nmap-ncat
|
||||||
|
|
||||||
Requires(post,preun,postun): systemd
|
Requires(post,preun,postun): systemd
|
||||||
@ -23,7 +25,9 @@ Requires(post,preun,postun): systemd
|
|||||||
This is Galera replication - Codership's implementation of the write set replication (wsrep) interface.
|
This is Galera replication - Codership's implementation of the write set replication (wsrep) interface.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-3-%{version} -p1
|
%autosetup -n %{name}-4-%{version} -p1
|
||||||
|
|
||||||
|
sed -i '/^GALERA_VER/s/API + //' wsrep/tests/SConscript
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{set_build_flags}
|
%{set_build_flags}
|
||||||
@ -38,8 +42,6 @@ scons-3 %{?_smp_mflags} strict_build_flags=1
|
|||||||
%install
|
%install
|
||||||
install -D -m 644 COPYING %{galeradoc}/COPYING
|
install -D -m 644 COPYING %{galeradoc}/COPYING
|
||||||
install -D -m 644 asio/LICENSE_1_0.txt %{galeradoc}/LICENSE.asio
|
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 %{galeradoc}/README
|
||||||
install -D -m 644 scripts/packages/README-MySQL %{galeradoc}/README-MySQL
|
install -D -m 644 scripts/packages/README-MySQL %{galeradoc}/README-MySQL
|
||||||
install -D -m 644 garb/files/garb.cnf %{buildroot}%{_sysconfdir}/sysconfig/garb
|
install -D -m 644 garb/files/garb.cnf %{buildroot}%{_sysconfdir}/sysconfig/garb
|
||||||
@ -69,6 +71,18 @@ install -D -m 755 libgalera_smm.so %{buildroot}%{_libdir}/galera/li
|
|||||||
%{_unitdir}/garbd.service
|
%{_unitdir}/garbd.service
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Mar 21 2020 songnannan <songnannan2@huawei.com> - 25.3.26-3
|
||||||
- add gdb in buildrequires
|
- add gdb in buildrequires
|
||||||
|
|
||||||
|
|||||||
4
galera.yaml
Normal file
4
galera.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: codership/galera
|
||||||
|
tag_prefix: release_
|
||||||
|
seperator: .
|
||||||
@ -4,7 +4,6 @@ Documentation=https://galeracluster.com/library/documentation/arbitrator.html
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/garbd-wrapper
|
ExecStart=/usr/sbin/garbd-wrapper
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user