From: Elan Ruusamäe Date: Wed, 13 Apr 2016 21:07:51 +0000 (+0300) Subject: one more symlink X-Git-Tag: auto/th/git-core-2.8.0-3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgit-core.git;a=commitdiff_plain;h=refs%2Ftags%2Fauto%2Fth%2Fgit-core-2.8.0-3 one more symlink for completeness --- diff --git a/git-core.spec b/git-core.spec index 4d75658..b49cff1 100644 --- a/git-core.spec +++ b/git-core.spec @@ -14,7 +14,7 @@ Summary: Distributed version control system focused on speed, effectivity and us Summary(pl.UTF-8): Rozproszony system śledzenia treści skupiony na szybkości, wydajności i użyteczności Name: git-core Version: 2.8.0 -Release: 2 +Release: 3 License: GPL v2 Group: Development/Tools Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.xz @@ -596,8 +596,9 @@ sed -e 's,@libdir@/git-core,%{gitcoredir},g' -i $RPM_BUILD_ROOT/etc/sysconfig/rc # same file, link ln -sf git $RPM_BUILD_ROOT%{_bindir}/git-receive-pack ln -sf git $RPM_BUILD_ROOT%{_bindir}/git-upload-archive -ln -sf ../../%{gitcoredir}/git-shell $RPM_BUILD_ROOT%{_bindir}/git-shell -ln -sf ../../%{gitcoredir}/git-upload-pack $RPM_BUILD_ROOT%{_bindir}/git-upload-pack +ln -sf ../..%{gitcoredir}/git-shell $RPM_BUILD_ROOT%{_bindir}/git-shell +ln -sf ../..%{gitcoredir}/git-upload-pack $RPM_BUILD_ROOT%{_bindir}/git-upload-pack +ln -sf ../..%{gitcoredir}/git $RPM_BUILD_ROOT%{_bindir}/git # convert all hardlinks to symlinks, as rpm fails to calculate it properly # requiring excessive free space when it may not be available