Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ oci_systemd_hook_CFLAGS += $(SELINUX_CFLAGS)
oci_systemd_hook_LDADD += $(SELINUX_LIBS)

dist_man_MANS = doc/oci_systemd_hook.1
EXTRA_DIST = README.md LICENSE
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([OCI Systemd Hook], 0.1)
AC_INIT([OCI Systemd Hook], 0.1.3)
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([foreign -Wall -Werror subdir-objects])
Expand Down
40 changes: 40 additions & 0 deletions oci-systemd-hook.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Name: oci-systemd-hook
Version: 0.1.3
Release: 1%{?dist}
Summary: OCI systemd hook for docker
Group: Applications/Text
License: GPLv3+
URL: https://github.com/mrunalp/hooks
Source: https://github.com/mrunalp/hooks/archive/%{name}-%{version}.tar.gz

BuildRequires: autoconf
BuildRequires: automake
BuildRequires: yajl-devel
BuildRequires: libselinux-devel

%description
OCI systemd hooks enable running systemd in a OCI runc/docker container.

%prep
%setup -q -n %{name}-%{version}

%build
autoreconf -i
%configure --libexecdir=/usr/libexec/docker/hooks.d/
make %{?_smp_mflags}

%install
%make_install

%files
%{_libexecdir}/docker/hooks.d/oci_systemd_hook
%{_mandir}/man1/oci_systemd_hook.1*
%doc README.md LICENSE

%changelog
* Mon Nov 23 2015 Mrunal Patel <mrunalp@gmail.com> - 0.1.3
- Fix bug in man page installation
* Mon Nov 23 2015 Mrunal Patel <mrunalp@gmail.com> - 0.1.2
- Add man pages
* Mon Nov 23 2015 Mrunal Patel <mrunalp@gmail.com> - 0.1.1
- Initial RPM release