Blame SPECS/container-exception-logger.spec

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