-
-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathpatchman-client.spec
More file actions
33 lines (27 loc) · 795 Bytes
/
patchman-client.spec
File metadata and controls
33 lines (27 loc) · 795 Bytes
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
Name: patchman-client
%define version %(cat VERSION.txt)
%define _rpmdir %(pwd)/dist
Version: %{version}
Release: 1
Summary: patchman-client uploads reports to the patchman server
License: GPLv3
URL: http://patchman.openbytes.ie
Source: %{expand:%%(pwd)}
BuildArch: noarch
Requires: curl which coreutils util-linux gawk
%define binary_payload w9.gzdio
%description
patchman-client provides a client that uploads reports to a patchman server
%prep
find . -mindepth 1 -delete
cp -af %{SOURCEURL0}/. .
%install
mkdir -p %{buildroot}/usr/sbin
mkdir -p %{buildroot}/etc/patchman
cp ./client/%{name} %{buildroot}/usr/sbin
cp ./client/%{name}.conf %{buildroot}/etc/patchman
%files
%defattr(755,root,root)
/usr/sbin/patchman-client
%config(noreplace) /etc/patchman/patchman-client.conf
%changelog