diff options
author | baude <bbaude@redhat.com> | 2018-04-24 14:47:05 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-04-24 20:25:12 +0000 |
commit | bef93de431b4195eeea42d75be88a43b80f3aac7 (patch) | |
tree | 621bb474167fb0657d492ce9fa152c3b658dd966 | |
parent | 398133e042e184f5c7833670d3e2b02a80c4b131 (diff) | |
download | podman-bef93de431b4195eeea42d75be88a43b80f3aac7.tar.gz podman-bef93de431b4195eeea42d75be88a43b80f3aac7.tar.bz2 podman-bef93de431b4195eeea42d75be88a43b80f3aac7.zip |
Add unit files to the copr spec
Signed-off-by: baude <bbaude@redhat.com>
Closes: #665
Approved by: baude
-rw-r--r-- | contrib/spec/podman.spec.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/spec/podman.spec.in b/contrib/spec/podman.spec.in index 8515c60f6..6814bfea4 100644 --- a/contrib/spec/podman.spec.in +++ b/contrib/spec/podman.spec.in @@ -361,6 +361,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 # source codes for building projects @@ -438,6 +439,8 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath} %{_mandir}/man5/*.5* %{_datadir}/bash-completion/completions/* %config(noreplace) %{_sysconfdir}/cni/net.d/87-%{name}-bridge.conflist +%{_unitdir}/io.%{project}.%{name}.service +%{_unitdir}/io.%{project}.%{name}.socket %if 0%{?with_devel} %files -n libpod-devel -f devel.file-list |