diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..812a874 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/container-exception-logger-1.0.2.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 8265ad9..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# container-exception-logger - -The container-exception-logger package \ No newline at end of file diff --git a/container-exception-logger.spec b/container-exception-logger.spec new file mode 100644 index 0000000..7828667 --- /dev/null +++ b/container-exception-logger.spec @@ -0,0 +1,51 @@ +%global _hardened_build 1 + +Name: container-exception-logger +Version: 1.0.2 +Release: 1%{?dist} +Summary: Logging from a container to a host + +License: GPLv2+ +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 +gcc %{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 +%attr(6755, root, root) %{_bindir}/container-exception-logger +%{_mandir}/man1/container-exception-logger.1.* +%license COPYING + +%changelog +* Mon Mar 26 2018 Matej Habrnal 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 1.0.0-1 +- init diff --git a/sources b/sources new file mode 100644 index 0000000..d02475c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (container-exception-logger-1.0.2.tar.gz) = 928ebf74c7bd060dcfe1dcd573683ef442546689e977fe8b2bf2eed305b9834cd3daf7bb44024379884663c810733526b94ed41551f9227ee236a00d3866c4b6