|
|
e6c99c |
%global _hardened_build 1
|
|
|
e6c99c |
|
|
|
e6c99c |
Name: container-exception-logger
|
|
|
e6c99c |
Version: 1.0.2
|
|
|
014943 |
Release: 3%{?dist}
|
|
|
e6c99c |
Summary: Logging from a container to a host
|
|
|
e6c99c |
|
|
|
e6c99c |
License: GPLv2+
|
|
|
e6c99c |
URL: https://github.com/abrt/container-exception-logger
|
|
|
e6c99c |
# source is created by:
|
|
|
e6c99c |
# git clone https://github.com/abrt/container-exception-logger
|
|
|
e6c99c |
# cd container-exception-logger; tito build --tgz
|
|
|
e6c99c |
Source0: %{name}-%{version}.tar.gz
|
|
|
e6c99c |
|
|
|
e6c99c |
BuildRequires: gcc
|
|
|
e6c99c |
BuildRequires: asciidoc
|
|
|
e6c99c |
BuildRequires: libxslt
|
|
|
e6c99c |
BuildRequires: git-core
|
|
|
e6c99c |
|
|
|
e6c99c |
## git format-patch -N 06aaa69 --start-number=1
|
|
|
e6c99c |
Patch0001: 0001-Use-a-correct-command-name-in-helper.patch
|
|
|
e6c99c |
Patch0002: 0002-Drop-the-setuid-wrapper.patch
|
|
|
e6c99c |
|
|
|
e6c99c |
%description
|
|
|
e6c99c |
%{name} is a tool designed to run inside of
|
|
|
e6c99c |
a container which is able to get its input outside of the container.
|
|
|
e6c99c |
|
|
|
e6c99c |
%prep
|
|
|
e6c99c |
%autosetup -S git_am
|
|
|
e6c99c |
|
|
|
e6c99c |
%build
|
|
|
014943 |
gcc %{build_cflags} %{build_ldflags} src/container-exception-logger.c -o src/container-exception-logger
|
|
|
e6c99c |
a2x -d manpage -f manpage man/container-exception-logger.1.asciidoc
|
|
|
e6c99c |
|
|
|
e6c99c |
%install
|
|
|
e6c99c |
mkdir -p %{buildroot}%{_bindir}
|
|
|
e6c99c |
cp src/container-exception-logger %{buildroot}/%{_bindir}/container-exception-logger
|
|
|
e6c99c |
|
|
|
e6c99c |
mkdir -p %{buildroot}/%{_mandir}/man1
|
|
|
e6c99c |
cp man/container-exception-logger.1 %{buildroot}/%{_mandir}/man1/container-exception-logger.1
|
|
|
e6c99c |
|
|
|
e6c99c |
%files
|
|
|
e6c99c |
%{_bindir}/container-exception-logger
|
|
|
e6c99c |
%{_mandir}/man1/container-exception-logger.1.*
|
|
|
e6c99c |
%license COPYING
|
|
|
e6c99c |
|
|
|
e6c99c |
%changelog
|
|
|
014943 |
* Thu Jul 4 2019 Martin Kutlak <mkutlak@redhat.com> 1.0.2-3
|
|
|
014943 |
- Build with ldflags
|
|
|
014943 |
|
|
|
e6c99c |
* Thu Jun 13 2019 Martin Kutlak <mkutlak@redhat.com> 1.0.2-2
|
|
|
e6c99c |
- Drop the setuid wrapper
|
|
|
e6c99c |
- Use a correct command name in helper
|
|
|
e6c99c |
|
|
|
e6c99c |
* Mon Mar 26 2018 Matej Habrnal <mhabrnal@redhat.com> 1.0.2-1
|
|
|
e6c99c |
- Use _hardened_build macro (mhabrnal@redhat.com)
|
|
|
e6c99c |
- Add license (mhabrnal@redhat.com)
|
|
|
e6c99c |
|
|
|
e6c99c |
* Fri Mar 23 2018 Unknown name 1.0.1-1
|
|
|
e6c99c |
- new package built with tito
|
|
|
e6c99c |
|
|
|
e6c99c |
* Thu Mar 08 2018 Matej Habrnal <mhabrnal@redhat.com> 1.0.0-1
|
|
|
e6c99c |
- init
|