use %{_libexecdir} instead of %{_libdir} in gitcoredir definition; rel 2 auto/th/git-core-2.15.1-2
authorJan Palus <atler@pld-linux.org>
Sun, 3 Dec 2017 22:39:38 +0000 (23:39 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 3 Dec 2017 22:39:38 +0000 (23:39 +0100)
git installs binaries to %{_libexecdir} which until recently was
equivalent to %{_libdir}. that is no longer the case since affe917 in
rpm

git-core.spec

index 1f48640..720894c 100644 (file)
@@ -15,7 +15,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.15.1
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Development/Tools
 Source0:       http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.xz
@@ -100,7 +100,7 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                webappdir       %{_sysconfdir}/webapps/%{webapp}
 %define                appdir          %{_datadir}/%{webapp}
 %define                cgibindir       %{_prefix}/lib/cgi-bin
-%define                gitcoredir      %{_libdir}/%{name}
+%define                gitcoredir      %{_libexecdir}/%{name}
 
 %description
 "git" can mean anything, depending on your mood.
This page took 0.257873 seconds and 4 git commands to generate.