Compare commits
10 Commits
d55ec295f2
...
542550a09e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
542550a09e | ||
|
|
a9c563962a | ||
|
|
cb63e9d32f | ||
|
|
7627237df6 | ||
|
|
ae5c730482 | ||
|
|
c312100322 | ||
|
|
b769e5e86e | ||
|
|
4b65a2a5b0 | ||
|
|
0e9bc62e31 | ||
|
|
9ba7461d9a |
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.
33
galera.spec
33
galera.spec
@ -1,11 +1,11 @@
|
||||
%global galeradoc %{buildroot}%{_docdir}/galera
|
||||
Name: galera
|
||||
Version: 25.3.26
|
||||
Release: 4
|
||||
Version: 26.4.16
|
||||
Release: 1
|
||||
Summary: Synchronous multi-master replication library
|
||||
License: GPLv2
|
||||
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
|
||||
#systemd startup script
|
||||
Source2: garbd-wrapper
|
||||
@ -13,6 +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
|
||||
Requires: nmap-ncat
|
||||
@ -23,7 +25,9 @@ Requires(post,preun,postun): systemd
|
||||
This is Galera replication - Codership's implementation of the write set replication (wsrep) interface.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-3-%{version} -p1
|
||||
%autosetup -n %{name}-4-%{version} -p1
|
||||
|
||||
sed -i '/^GALERA_VER/s/API + //' wsrep/tests/SConscript
|
||||
|
||||
%build
|
||||
%{set_build_flags}
|
||||
@ -33,13 +37,11 @@ CFLAGS=`echo $CFLAGS| sed -e "s|-Wp,-D_GLIBCXX_ASSERTIONS||g" `
|
||||
CXXFLAGS=`echo $CXXFLAGS| sed -e "s|-Wp,-D_GLIBCXX_ASSERTIONS||g" `
|
||||
export CPPFLAGS CFLAGS CXXFLAGS
|
||||
|
||||
scons-3 %{?_smp_mflags} strict_build_flags=1
|
||||
scons-3 %{?_smp_mflags} strict_build_flags=0
|
||||
|
||||
%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
|
||||
@ -69,11 +71,26 @@ install -D -m 755 libgalera_smm.so %{buildroot}%{_libdir}/galera/li
|
||||
%{_unitdir}/garbd.service
|
||||
|
||||
%changelog
|
||||
* Wed Dec 06 2023 yaoxin <yao_xin001@hoperun.com> - 26.4.16-1
|
||||
- Upgrade to 26.4.16 and fix build error
|
||||
|
||||
* Tue Oct 31 2023 wangkai <13474090681@163.com> - 26.4.14-1
|
||||
- Update to 26.4.14
|
||||
|
||||
* Thu Dec 22 2022 wanglin <wangl29@chinatelecom.cn> - 26.4.8-2
|
||||
- Set strict_build_flags=0 and fix changelog date
|
||||
|
||||
* 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
|
||||
|
||||
* Thu Mar 4 2020 zhouyihang<zhouyihang1@huawei.com> - 25.3.26-2
|
||||
* Wed Mar 4 2020 zhouyihang<zhouyihang1@huawei.com> - 25.3.26-2
|
||||
- Pakcage init
|
||||
|
||||
@ -4,7 +4,6 @@ Documentation=https://galeracluster.com/library/documentation/arbitrator.html
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/garbd-wrapper
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user