|
|
@@ -22,8 +22,8 @@
|
|
|
##
|
|
|
|
|
|
# package version
|
|
|
-%define V_hydra_base 20160612
|
|
|
-%define V_hydra_snap 20160612
|
|
|
+%define V_hydra_base 20160613
|
|
|
+%define V_hydra_snap 20160613
|
|
|
|
|
|
# package information
|
|
|
Name: hydra
|
|
|
@@ -36,11 +36,12 @@ Class: EVAL
|
|
|
Group: Network
|
|
|
License: Apache
|
|
|
Version: %{V_hydra_base}
|
|
|
-Release: 20160612
|
|
|
+Release: 20160613
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://download.openpkg.org/components/versioned/hydra/hydra-%{V_hydra_snap}.tar.xz
|
|
|
Source1: rc.hydra
|
|
|
+Source2: hydra.yaml
|
|
|
|
|
|
# build information
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101, go
|
|
|
@@ -90,6 +91,10 @@ PreReq: OpenPKG, openpkg >= 20160101
|
|
|
%{l_shtool} install -c -m 755 %{l_value -s -a} \
|
|
|
%{SOURCE rc.hydra} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
|
|
|
|
|
|
+ # install default configuration
|
|
|
+ %{l_shtool} install -c -m 644 %{l_value -s -a} \
|
|
|
+ %{SOURCE hydra.yaml} $RPM_BUILD_ROOT%{l_prefix}/etc/hydra/
|
|
|
+
|
|
|
# determine installation files
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
|
|
|
%{l_files_std} \
|