-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcontainer-exception-logger.spec
59 lines (45 loc) · 1.71 KB
/
container-exception-logger.spec
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
%global _hardened_build 1
Name: container-exception-logger
Version: 1.0.3
Release: 1%{?dist}
Summary: Logging from a container to a host
License: GPLv3+
URL: https://github.com/abrt/container-exception-logger
# source is created by:
# git clone https://github.com/abrt/container-exception-logger
# cd container-exception-logger; tito build --tgz
Source0: %{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: asciidoc
BuildRequires: libxslt
%description
%{name} is a tool designed to run inside of
a container which is able to get its input outside of the container.
%prep
%setup -q
%build
%{__cc} %{optflags} src/container-exception-logger.c -o src/container-exception-logger
a2x -d manpage -f manpage man/container-exception-logger.1.asciidoc
%install
mkdir -p %{buildroot}%{_bindir}
cp src/container-exception-logger %{buildroot}/%{_bindir}/container-exception-logger
mkdir -p %{buildroot}/%{_mandir}/man1
cp man/container-exception-logger.1 %{buildroot}/%{_mandir}/man1/container-exception-logger.1
%files
%{_bindir}/container-exception-logger
%{_mandir}/man1/container-exception-logger.1.*
%license COPYING
%changelog
* Mon Jan 13 2020 Tom Stellard <tstellar@redhat.com> - 1.0.3-3
- Use __cc macro instead of hard-coding gcc
* Wed Jun 05 2019 Martin Kutlak <mkutlak@redhat.com> 1.0.3-1
- Use a correct command name in helper (mkutlak@redhat.com)
- Drop the setuid wrapper (mkutlak@redhat.com)
- license is actually GPLv3+ (msuchy@redhat.com)
* Mon Mar 26 2018 Matej Habrnal <mhabrnal@redhat.com> 1.0.2-1
- Use _hardened_build macro (mhabrnal@redhat.com)
- Add license (mhabrnal@redhat.com)
* Fri Mar 23 2018 Unknown name 1.0.1-1
- new package built with tito
* Thu Mar 08 2018 Matej Habrnal <mhabrnal@redhat.com> 1.0.0-1
- init