]> git.pld-linux.org Git - packages/git-core-slug.git/commitdiff
obtain git core dir at build time
authorElan Ruusamäe <glen@delfi.ee>
Tue, 23 Feb 2016 19:14:48 +0000 (21:14 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 23 Feb 2016 19:14:48 +0000 (21:14 +0200)
git-core-slug.spec

index 2a9af91729ce74a403bc03a4b627abbe70264eb0..d89934c355c54913a5e90e61ac0e797f8320233f 100644 (file)
@@ -16,6 +16,7 @@ Patch0:               %{name}-git.patch
 URL:           https://github.com/draenog/slug
 BuildRequires: asciidoc
 BuildRequires: docbook-dtd45-xml
+BuildRequires: git-core >= 2.7.1-3
 BuildRequires: python3-modules >= 1:3.3.0
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
@@ -26,7 +27,7 @@ Suggests:     openssh-clients
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                gitcoredir      %{_prefix}/lib/git-core
+%define                gitcoredir      %(git --exec-path)
 
 %description
 Python tools to interact with PLD Linux git repositories.
This page took 0.093214 seconds and 4 git commands to generate.