From 39869630463bbd2706a90712797269374f3aedb3 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Tue, 24 Apr 2018 15:27:43 -0400 Subject: [PATCH] install rules for io.projectatomic.podman unitfiles Signed-off-by: Lokesh Mandvekar --- podman.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/podman.spec b/podman.spec index 79c9f64..6f67531 100644 --- a/podman.spec +++ b/podman.spec @@ -364,6 +364,7 @@ GOPATH=$GOPATH BUILDTAGS=$BUILDTAGS %gobuild -o bin/%{name} %{import_path}/cmd/% BUILDTAGS=$BUILDTAGS make docs %install +install -dp %{buildroot}%{_unitdir} %make_install PREFIX=%{buildroot}%{_prefix} install install.completions # install libpod.conf @@ -445,6 +446,8 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath} %{_datadir}/bash-completion/completions/* %config(noreplace) %{_sysconfdir}/cni/net.d/87-%{name}-bridge.conflist %{_datadir}/containers/%{repo}.conf +%{_unitdir}/io.%{project}.%{name}.service +%{_unitdir}/io.%{project}.%{name}.socket %if 0%{?with_devel} %files -n libpod-devel -f devel.file-list