|
|
|
@ -1,12 +1,13 @@
|
|
|
|
|
Name: lizardfs
|
|
|
|
|
Summary: Distributed, fault tolerant file system
|
|
|
|
|
Version: 3.12.0
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Version: 3.13.0
|
|
|
|
|
Release: 0.rc1r1%{?dist}
|
|
|
|
|
# LizardFS is under GPLv3 while crcutil is under ASL 2.0 and there's one header,
|
|
|
|
|
# src/common/coroutine.h, under the Boost license
|
|
|
|
|
License: GPLv3 and ASL 2.0 and Boost
|
|
|
|
|
URL: http://www.lizardfs.org/
|
|
|
|
|
Source: https://github.com/lizardfs/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
#Source: https://github.com/lizardfs/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
Source: %{name}-%{version}-rc1.tar.gz
|
|
|
|
|
Source1: pam-lizardfs
|
|
|
|
|
Source2: 95-lizardfs.conf
|
|
|
|
|
# Use spdlog system library if available
|
|
|
|
@ -14,9 +15,12 @@ Patch0: 0001-Put-customized-spdlog-in-source-so-we-don-t-download.patch
|
|
|
|
|
# Fix for building with GCC 8
|
|
|
|
|
# See https://github.com/lizardfs/lizardfs/pull/677
|
|
|
|
|
Patch1: 0001-Add-missing-header.patch
|
|
|
|
|
# Fix for building fuse3 client on 32-bit platforms
|
|
|
|
|
Patch2: 0001-Fix-32-bit-build-for-mfsmount3.patch
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: fuse-devel
|
|
|
|
|
BuildRequires: fuse3-devel
|
|
|
|
|
BuildRequires: fuse-devel
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
@ -77,6 +81,16 @@ Group: System Environment/Daemons
|
|
|
|
|
LizardFS data server.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package uraft
|
|
|
|
|
Summary: LizardFS uRaft server
|
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
|
Requires: lizardfs-master = %{version}-%{release}
|
|
|
|
|
%{?systemd_requires}
|
|
|
|
|
|
|
|
|
|
%description uraft
|
|
|
|
|
Package to automatically select which metadata server to make master
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package client
|
|
|
|
|
Summary: LizardFS client
|
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
@ -186,11 +200,24 @@ exit 0
|
|
|
|
|
%systemd_postun_with_restart lizardfs-cgiserv.service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Scriptlets - uRaft
|
|
|
|
|
############################################################
|
|
|
|
|
|
|
|
|
|
%post uraft
|
|
|
|
|
%systemd_post lizardfs-uraft.service lizardfs-ha-master.service
|
|
|
|
|
|
|
|
|
|
%preun uraft
|
|
|
|
|
%systemd_preun lizardfs-uraft.service lizardfs-ha-master.service
|
|
|
|
|
|
|
|
|
|
%postun uraft
|
|
|
|
|
%systemd_postun_with_restart lizardfs-uraft.service lizardfs-ha-master.service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Prep, build, install, files...
|
|
|
|
|
############################################################
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
%autosetup -p1 -n lizardfs-3.13.0-rc1
|
|
|
|
|
|
|
|
|
|
# Remove /usr/bin/env from bash scripts
|
|
|
|
|
for i in src/tools/mfstools.sh src/master/mfsrestoremaster.in \
|
|
|
|
@ -315,12 +342,26 @@ install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/security/limits.d/95-lizardf
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/security/limits.d/95-lizardfs.conf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files uraft
|
|
|
|
|
%doc NEWS README.md UPGRADE
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_sbindir}/lizardfs-uraft
|
|
|
|
|
%{_sbindir}/lizardfs-uraft-helper
|
|
|
|
|
%{_mandir}/man5/lizardfs-uraft.cfg.5*
|
|
|
|
|
%{_mandir}/man8/lizardfs-uraft-helper.8*
|
|
|
|
|
%{_mandir}/man8/lizardfs-uraft.8*
|
|
|
|
|
%{_unitdir}/lizardfs-uraft.service
|
|
|
|
|
%{_unitdir}/lizardfs-ha-master.service
|
|
|
|
|
%config %{liz_confdir}/lizardfs-uraft.cfg.dist
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files client
|
|
|
|
|
%doc NEWS README.md UPGRADE
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_bindir}/lizardfs
|
|
|
|
|
%{_bindir}/mfstools.sh
|
|
|
|
|
%{_bindir}/mfsmount
|
|
|
|
|
%{_bindir}/mfsmount3
|
|
|
|
|
%{_bindir}/mfsappendchunks
|
|
|
|
|
%{_bindir}/mfscheckfile
|
|
|
|
|
%{_bindir}/mfsdeleattr
|
|
|
|
@ -406,6 +447,19 @@ install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/security/limits.d/95-lizardf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Aug 10 2018 Jonathan Dieter <jdieter@gmail.com> - 3.13.0.0.rc1r1
|
|
|
|
|
- Fix 32-bit builds
|
|
|
|
|
|
|
|
|
|
* Thu Aug 09 2018 Jonathan Dieter <jdieter@gmail.com> - 3.13.0-0.rc1.1
|
|
|
|
|
- Fix fuse requires
|
|
|
|
|
|
|
|
|
|
* Wed Jul 18 2018 Jonathan Dieter <jdieter@gmail.com> - 3.13.0-0.rc1
|
|
|
|
|
- uRaft HA
|
|
|
|
|
- Fixes to EC handling
|
|
|
|
|
- Reduced number of secondary groups retrievals (better performance)
|
|
|
|
|
- Switch to fuse3 client (better performance, writeback cache)
|
|
|
|
|
- Bugfixes
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|