Blame SPECS/container-exception-logger.spec

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