summaryrefslogtreecommitdiffstats
path: root/node-maintainer/vespa-node-maintainer.spec
blob: b1b31404a944d8fef14c0da09740ee3ca08340d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

# Force special prefix for Vespa
%define _prefix /opt/vespa

# Hack to speed up jar packing for now. This does not affect the rpm size.
%define __jar_repack %{nil}

Name:           vespa-node-maintainer
Version:        %version
Release:        1%{?dist}
BuildArch:      noarch
Summary:        Vespa Node Maintainer
Group:          Applications/Databases
License:        Commercial
URL:            http://vespa.ai

Requires: bash

Conflicts: vespa

%description
The Node Maintainer does various maintenance tasks on a node.


%install
mkdir -p %buildroot%_prefix/lib/jars
cp node-maintainer/target/node-maintainer-jar-with-dependencies.jar %buildroot%_prefix/lib/jars

%clean
rm -rf %buildroot

%files
%defattr(-,vespa,vespa,-)
%_prefix/*