install rules for io.projectatomic.podman unitfiles

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2018-04-24 15:27:43 -04:00
parent 2ec69ceb14
commit 3986963046

View File

@ -364,6 +364,7 @@ GOPATH=$GOPATH BUILDTAGS=$BUILDTAGS %gobuild -o bin/%{name} %{import_path}/cmd/%
BUILDTAGS=$BUILDTAGS make docs BUILDTAGS=$BUILDTAGS make docs
%install %install
install -dp %{buildroot}%{_unitdir}
%make_install PREFIX=%{buildroot}%{_prefix} install install.completions %make_install PREFIX=%{buildroot}%{_prefix} install install.completions
# install libpod.conf # install libpod.conf
@ -445,6 +446,8 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%{_datadir}/bash-completion/completions/* %{_datadir}/bash-completion/completions/*
%config(noreplace) %{_sysconfdir}/cni/net.d/87-%{name}-bridge.conflist %config(noreplace) %{_sysconfdir}/cni/net.d/87-%{name}-bridge.conflist
%{_datadir}/containers/%{repo}.conf %{_datadir}/containers/%{repo}.conf
%{_unitdir}/io.%{project}.%{name}.service
%{_unitdir}/io.%{project}.%{name}.socket
%if 0%{?with_devel} %if 0%{?with_devel}
%files -n libpod-devel -f devel.file-list %files -n libpod-devel -f devel.file-list