Blame SPECS/oci-systemd-hook.spec

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