1 Summary: Stop relying on NFS for horizontal scaling. Speed up Git access using caching
6 Group: Networking/Daemons/HTTP
7 Source0: https://gitlab.com/gitlab-org/gitaly/repository/archive.tar.bz2?ref=v%{version}&/%{name}-%{version}.tar.bz2
8 # Source0-md5: 4969571c7accfd57b460f08b6fe34a75
9 URL: https://gitlab.com/gitlab-org/gitaly
11 BuildRequires: golang >= 1.8
12 BuildRequires: libicu-devel
13 BuildRequires: libstdc++-devel
14 BuildRequires: rpmbuild(macros) >= 1.647
15 BuildRequires: ruby > 1:2.3
16 BuildRequires: ruby-bundler
17 BuildRequires: ruby-devel
18 BuildRequires: ruby-io-console
19 BuildRequires: ruby-psych
20 BuildRequires: ruby-rubygems >= 2.6.9
21 BuildRequires: zlib-devel
22 Requires: git-core >= 2.13.6
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Gitaly is a Git RPC service for handling all the git calls made by
31 mv %{name}-v%{version}-*/* .
34 # enable-gems to workaround
35 RUBYOPT=--enable-gems \
40 ./gitaly --version > v
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc README.md CHANGELOG.md LICENSE
55 %attr(755,root,root) %{_bindir}/gitaly
56 %attr(755,root,root) %{_bindir}/gitaly-ssh