Skip to content
Snippets Groups Projects
Commit 5519757a authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Fix rpm/tarantool.spec

Source was unpacked incorrectly.
parent 959ead30
No related branches found
No related tags found
No related merge requests found
......@@ -111,10 +111,9 @@ This package provides common files
##################################################################
%prep
%setup -q -c tarantool-%{version}
%setup -q -n tarantool-%{version}-%{build_version}-%{git_hash}-src
%build
[ -d tarantool-%{version}-%{build_version}-%{git_hash}-src ] && cd tarantool-%{version}-%{build_version}-%{git_hash}-src
# https://fedoraproject.org/wiki/Packaging:RPMMacros
%{lua:
......@@ -168,8 +167,7 @@ This package provides common files
%{lua:print(wrap_with_toolset('make %{?_smp_mflags}\n'))}
%install
[ -d tarantool-%{version}-%{build_version}-%{git_hash}-src ] && cd tarantool-%{version}-%{build_version}-%{git_hash}-src
make VERBOSE=1 DESTDIR=%{buildroot} install
%make_install
%pre
/usr/sbin/groupadd -r tarantool > /dev/null 2>&1 || :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment