Skip to content

Commit

Permalink
Update RPM package build
Browse files Browse the repository at this point in the history
  • Loading branch information
SemaiCZE committed May 12, 2017
1 parent a9e74cf commit c2c6fdf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions recodex-broker.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
%define name recodex-broker
%define short_name broker
%define version 1.0.0
%define unmangled_version 1.0.0
%define unmangled_version a9e74cfa53995c2a4d74fc61210556a7318869fb
%define release 3

%define spdlog_name spdlog
Expand All @@ -21,16 +22,17 @@ Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd

Source0: %{name}-%{unmangled_version}.tar.gz
#Source0: %{name}-%{unmangled_version}.tar.gz
Source0: https://github.com/ReCodEx/%{short_name}/archive/%{unmangled_version}.tar.gz#/%{short_name}-%{unmangled_version}.tar.gz
Source1: https://github.com/gabime/%{spdlog_name}/archive/v%{spdlog_version}.tar.gz#/%{spdlog_name}-%{spdlog_version}.tar.gz

%description
Backend part of ReCodEx programmer testing solution.

%prep
%setup -n %{name}-%{unmangled_version}
%setup -n %{short_name}-%{unmangled_version}
# Unpack spdlog to the right location
%setup -n %{name}-%{unmangled_version} -T -D -a 1
%setup -n %{short_name}-%{unmangled_version} -T -D -a 1
rmdir vendor/spdlog
mv -f %{spdlog_name}-%{spdlog_version} vendor/spdlog

Expand Down

0 comments on commit c2c6fdf

Please sign in to comment.