Fix for documentation tarballs

This commit is contained in:
2019-06-03 17:45:35 +02:00
parent 66475195ea
commit a87457586a

View File

@@ -47,7 +47,7 @@
%endif
Name: git
Version: 2.19.1
Version: 2.21.0
Release: 1%{?dist}
Summary: Fast Version Control System
License: GPLv2
@@ -59,8 +59,8 @@ Source3: git.xinetd.in
Source4: git.conf.httpd
Source5: git-gui.desktop
Source6: gitweb.conf.in
Source10: https://cdn.kernel.org/pub/software/scm/git/%{name}-manpages-%{version}.tar.gz
Source11: https://cdn.kernel.org/pub/software/scm/git/%{name}-htmldocs-%{version}.tar.gz
Source10: https://cdn.kernel.org/pub/software/scm/git/%{name}-manpages-%{version}.tar.xz
Source11: https://cdn.kernel.org/pub/software/scm/git/%{name}-htmldocs-%{version}.tar.xz
Source12: git@.service
Source13: git.socket
Patch0: git-1.5-gitweb-home-link.patch
@@ -330,6 +330,7 @@ EOF
chmod +x %{__perl_requires}
%build
make configure
sh configure
make %{?_smp_mflags} git-daemon LDFLAGS="-pie -Wl,-z,relro,-z,now" CFLAGS="$RPM_OPT_FLAGS -fPIC"
make %{?_smp_mflags} all -o git-daemon
@@ -572,5 +573,9 @@ rm -rf %{buildroot}
# nothing
%changelog
* Mon Jun 3 2019 Daniel Steiner <daniel.steiner@greenmail.ch>
- Initial version 2.21.0
* Sun Nov 4 2018 Daniel Steiner <daniel.steiner@greenmail.ch>
- Initial version 2.19.1