|
|
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}
|
|
|
999a6d |
%global commit 671c428e61856f482cc1f2165c0cb73db865ff70
|
|
|
d9f7ad |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
d9f7ad |
|
|
|
999a6d |
Name: %{repo}
|
|
|
d9f7ad |
Epoch: 1
|
|
|
d9f7ad |
Version: 0.1.4
|
|
|
999a6d |
Release: 9.git%{shortcommit}%{?dist}
|
|
|
d9f7ad |
Summary: OCI systemd hook for docker
|
|
|
d9f7ad |
Group: Applications/Text
|
|
|
d9f7ad |
License: GPLv3+
|
|
|
d9f7ad |
URL: https://%{import_path}
|
|
|
999a6d |
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
|
|
|
999a6d |
%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}
|
|
|
d9f7ad |
|
|
|
d9f7ad |
%changelog
|
|
|
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
|