Blame SPECS/oci-systemd-hook.spec

47def2
%global provider        github
47def2
%global provider_tld    com
47def2
%global project         projectatomic
47def2
%global repo            oci-systemd-hook
47def2
# https://github.com/projectatomic/oci-systemd-hook
47def2
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
47def2
%global import_path     %{provider_prefix}
d6f069
%global commit          87873073b8c21e1c2612d7ee1ca15f740fa46a3c
47def2
%global shortcommit     %(c=%{commit}; echo ${c:0:7})
47def2
47def2
Name:           %{repo}
47def2
Epoch:          1
ce3513
Version:        0.1.18
d6f069
Release:        3.git%{shortcommit}%{?dist}
47def2
Summary:        OCI systemd hook for docker
47def2
Group:          Applications/Text
47def2
License:        GPLv3+
47def2
URL:            https://%{import_path}
47def2
Source0:        https://%{import_path}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
47def2
BuildRequires:  autoconf
47def2
BuildRequires:  automake
47def2
BuildRequires:  pkgconfig(yajl)
47def2
BuildRequires:  pkgconfig(libselinux)
47def2
BuildRequires:  pkgconfig(mount)
47def2
BuildRequires:  go-md2man
47def2
Obsoletes:      %{name} <= 1.10.3-46
47def2
47def2
%description
47def2
OCI systemd hooks enable running systemd in a OCI runc/docker container.
47def2
47def2
%prep
47def2
%setup -q -n %{name}-%{commit}
47def2
47def2
%build
47def2
aclocal
47def2
autoreconf -i
47def2
%configure --libexecdir=%{_libexecdir}/oci/hooks.d/
47def2
make %{?_smp_mflags}
47def2
47def2
%install
47def2
%make_install
47def2
47def2
#define license tag if not already defined
47def2
%{!?_licensedir:%global license %doc}
47def2
47def2
%files
47def2
%doc README.md
47def2
%license LICENSE
47def2
%{_mandir}/man1/%{name}.1*
47def2
%dir %{_libexecdir}/oci
47def2
%dir %{_libexecdir}/oci/hooks.d
47def2
%{_libexecdir}/oci/hooks.d/%{name}
47def2
%dir %{_usr}/share/containers/oci/hooks.d
47def2
%{_usr}/share/containers/oci/hooks.d/oci-systemd-hook.json
47def2
47def2
%changelog
d6f069
* Tue Jan 08 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 1:0.1.18-3.git8787307
d6f069
- rebase, fixes based on coverity scan
d6f069
ce3513
* Tue Nov 06 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1:0.1.18-2.git3efe246
ce3513
- rebase
ce3513
ce3513
* Fri Sep 14 2018 Dan Walsh <dwalsh@redhat.name> - 1:0.1.18-1.git38504cc
ce3513
- Fix location of journal in /run/log/journal
ce3513
ce3513
* Thu Jul 26 2018 Dan Walsh <dwalsh@redhat.name> - 1:0.1.17-3.git87fb61e
ce3513
- Don't attempt to set SELinux labels, if it is disabled
ce3513
be0ac1
* Mon Jul 23 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1:0.1.17-2.git83283a0
be0ac1
- rebase to 83283a0b668947038d17527182c9926d04d602b3
be0ac1
be0ac1
* Mon Jun 18 2018 Dan Walsh <dwalsh@redhat.name> - 1:0.1.17-1.git87fb61e
be0ac1
- Don't attempt to set SELinux labels, if they are ""
be0ac1
c6e0bf
* Mon Jun 04 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1:0.1.16-1.git05bd9a0
c6e0bf
- rebase to 05bd9a0cceb8ad88a2815f25911f519162181def
c6e0bf
282a55
* Thu Feb 01 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 1:0.1.15-2.gitc04483d
282a55
- rebase to c04483d32aaad351da14b3b42dfe1e9e69ffa974
282a55
282a55
* Thu Dec 21 2017 Dan Walsh <dwalsh@redhat.com> - 1:0.1.15-1.git
282a55
- Fix issue with oci-systemd-hook running in user namespaces
282a55
- fix json file to run container with proper stage field.
282a55
47def2
* Mon Dec 11 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 1:0.1.14-2.git9b1e622
47def2
- rebased to 9b1e622c86cf738b404f89ee405803a0338ae9d7
47def2
47def2
* Thu Sep 21 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 1:0.1.14-1.git1ba44c6
47def2
- rebase to 1ba44c624342f601c45097db2abeb4d01f6b3053
47def2
47def2
* Tue Aug 08 2017 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.12-1.git1e84754
47def2
- Resolves: #1479510
47def2
- sync version number with configure.ac
47def2
47def2
* Thu Jul 20 2017 fkluknav <fkluknav@redhat.com> - 1:0.1.8-5.1.git1e84754
47def2
- rebased to 1e84754af7488331ee0353e6100ee2066defec23
47def2
47def2
* Wed Jun 14 2017 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.8-4.1.gite533efa
47def2
- correct date in previous entry
47def2
47def2
* Wed Jun 14 2017 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.8-3.1.gite533efa
47def2
- built commit e533efa
47def2
47def2
* Wed Jun 07 2017 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.8-2.rhel74..gitd899a8e
47def2
- modify release tag to clearly indicate rhel74
47def2
47def2
* Tue Jun 6 2017 Dan Walsh <dwalsh@redhat.com> - 1:0.1.8-1.gitd899a8e
47def2
- Fixes for running with user namespace
47def2
47def2
* Wed Mar 29 2017 Dan Walsh <dwalsh@redhat.com> - 1:0.1.7-1.gitfe22236
47def2
- rh-ulrich-o - Patch to allocate configData dynamically
47def2
47def2
* Mon Mar 6 2017 Dan Walsh <dwalsh@redhat.com> - 1:0.1.6-1.git16f7c8a
47def2
- Reimplement systemd handling.
47def2
- Remove docker path from systemdhook
47def2
47def2
* Wed Feb 8 2017 Dan Walsh <dwalsh@redhat.com> - 1:0.1.5-1.git16f7c8a
47def2
- Fix mounting of /var/log/journal inside of the container
47def2
47def2
* Thu Feb 2 2017 Dan Walsh <dwalsh@redhat.com> - 1:0.1.4-10.git5db667f
47def2
- oci-systemd-hook: do not fail if /run/secrets does not exist
47def2
- Fix compiler -Wall -Wextra issues
47def2
47def2
* Thu Jan 12 2017 Dan Walsh <dwalsh@redhat.com> - 1:0.1.4-9.git671c428
47def2
- Resolves: #1412728
47def2
- built commit 671c428
47def2
47def2
* Tue Dec 20 2016 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.4-8.git45455fe
47def2
- Resolves: #1364237
47def2
- built commit 45455fe
47def2
47def2
* Tue Oct 25 2016 Frantisek Kluknavsky <fkluknav@redhat.com> - 1:0.1.4-7.gita9c551a
47def2
- rebase
47def2
47def2
* Tue Jul 05 2016 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.4-6.git337078c
47def2
- Resolves: #1355905
47def2
- built commit 337078c
47def2
47def2
* Tue Jul 05 2016 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.4-5.git41491a3
47def2
- Obsoletes the subpackage earlier provided by docker
47def2
47def2
* Thu Jun 30 2016 Lokesh Mandvekar <lsm5@redhat.com> - 1:0.1.4-4.git41491a3
47def2
- Bump Epoch to 1 so that it can obsolete subpackage from docker
47def2
47def2
* Tue Jun 28 2016 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.4-3.git41491a3
47def2
- re-add provider_prefix since gofed needs it
47def2
47def2
* Thu Jun 23 2016 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1.4-2.git41491a3
47def2
- built commit 41491a3
47def2
- spec file cleanup
47def2
- remove provider_prefix and only use import_path
47def2
47def2
* Thu Feb 18 2016 Dan Walsh <dwalsh@redhat.com> - 0.1.4-1.gitde345df
47def2
- Fix up to prepare for review
47def2
47def2
* Mon Nov 23 2015 Mrunal Patel <mrunalp@gmail.com> - 0.1.3
47def2
- Fix bug in man page installation
47def2
47def2
* Mon Nov 23 2015 Mrunal Patel <mrunalp@gmail.com> - 0.1.2
47def2
- Add man pages
47def2
47def2
* Mon Nov 23 2015 Mrunal Patel <mrunalp@gmail.com> - 0.1.1
47def2
- Initial RPM release