Commit e373ad45e4b59929b11d5c6a561f605a9a08b8f2
Committed by
David Silva
1 parent
29ac9b5a
Exists in
spec_refactor
global macro created for libdir
Signed-off-by: Lucas Severo <lucassalves65@gmail.com>
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
src/pkg-rpm/gitlab-deps/gitlab-deps.spec
@@ -8,7 +8,9 @@ URL: https://beta.softwarepublico.gov.br/gitlab/softwarepublico/gitlab-deps | @@ -8,7 +8,9 @@ URL: https://beta.softwarepublico.gov.br/gitlab/softwarepublico/gitlab-deps | ||
8 | Source0: %{name}-%{version}.tar.gz | 8 | Source0: %{name}-%{version}.tar.gz |
9 | 9 | ||
10 | BuildRequires: make, gcc, gcc-c++, ruby, ruby-devel, rubygem-bundler, libicu-devel, cmake, mysql-devel, postgresql-devel | 10 | BuildRequires: make, gcc, gcc-c++, ruby, ruby-devel, rubygem-bundler, libicu-devel, cmake, mysql-devel, postgresql-devel |
11 | -Requires: ruby, rubygem-bundler | 11 | +Requires: ruby, rubygem-bundleri |
12 | + | ||
13 | +%global _gitlablibdir /usr/lib/gitlab | ||
12 | 14 | ||
13 | %description | 15 | %description |
14 | Dependencies for GitLab | 16 | Dependencies for GitLab |
@@ -23,7 +25,7 @@ make %{?_smp_mflags} | @@ -23,7 +25,7 @@ make %{?_smp_mflags} | ||
23 | %make_install | 25 | %make_install |
24 | 26 | ||
25 | %files | 27 | %files |
26 | -/usr/lib/gitlab | 28 | +%{_gitlablibdir} |
27 | %doc | 29 | %doc |
28 | 30 | ||
29 | %changelog | 31 | %changelog |