From d9f7adaec5445d2a5ae3e5d6c56102c962608dbd Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 05 2016 15:31:18 +0000 Subject: import oci-systemd-hook-0.1.4-4.git41491a3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6487516 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/oci-systemd-hook-41491a3.tar.gz diff --git a/.oci-systemd-hook.metadata b/.oci-systemd-hook.metadata new file mode 100644 index 0000000..d051cc5 --- /dev/null +++ b/.oci-systemd-hook.metadata @@ -0,0 +1 @@ +554d10567d678b74cd4b0879ddfaf3b98002d3ff SOURCES/oci-systemd-hook-41491a3.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/oci-systemd-hook.spec b/SPECS/oci-systemd-hook.spec new file mode 100644 index 0000000..ac078a3 --- /dev/null +++ b/SPECS/oci-systemd-hook.spec @@ -0,0 +1,76 @@ +%global provider github +%global provider_tld com +%global project projectatomic +%global repo oci-systemd-hook +# https://github.com/projectatomic/oci-systemd-hook +%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} +%global import_path %{provider_prefix} +%global commit 41491a3c73193527487fb502026d41d3f0aad1aa +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: oci-systemd-hook +Epoch: 1 +Version: 0.1.4 +Release: 4.git%{shortcommit}%{?dist} +Summary: OCI systemd hook for docker +Group: Applications/Text +License: GPLv3+ +URL: https://%{import_path} +Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: pkgconfig(yajl) +BuildRequires: pkgconfig(libselinux) +BuildRequires: pkgconfig(mount) +BuildRequires: go-md2man + +%description +OCI systemd hooks enable running systemd in a OCI runc/docker container. + +%prep +%setup -q -n %{repo}-%{commit} + +%build +aclocal +autoreconf -i +%configure --libexecdir=%{_libexecdir}/oci/hooks.d/ +make %{?_smp_mflags} + +%install +%make_install + +#define license tag if not already defined +%{!?_licensedir:%global license %doc} + +%files +%doc README.md +%license LICENSE +%{_mandir}/man1/oci-systemd-hook.1* +%dir %{_libexecdir}/oci +%dir %{_libexecdir}/oci/hooks.d +%{_libexecdir}/oci/hooks.d/oci-systemd-hook + +%changelog +* Thu Jun 30 2016 Lokesh Mandvekar - 1:0.1.4-4.git41491a3 +- Bump Epoch to 1 so that it can obsolete subpackage from docker + +* Tue Jun 28 2016 Lokesh Mandvekar - 0.1.4-3.git41491a3 +- re-add provider_prefix since gofed needs it + +* Thu Jun 23 2016 Lokesh Mandvekar - 0.1.4-2.git41491a3 +- built commit 41491a3 +- spec file cleanup +- remove provider_prefix and only use import_path + +* Thu Feb 18 2016 Dan Walsh - 0.1.4-1.gitde345df +- Fix up to prepare for review + +* Mon Nov 23 2015 Mrunal Patel - 0.1.3 +- Fix bug in man page installation + +* Mon Nov 23 2015 Mrunal Patel - 0.1.2 +- Add man pages + +* Mon Nov 23 2015 Mrunal Patel - 0.1.1 +- Initial RPM release