mirror of
https://github.com/containers/podman.git
synced 2025-06-06 06:44:53 +08:00
Add unit files to the copr spec
Signed-off-by: baude <bbaude@redhat.com> Closes: #665 Approved by: baude
This commit is contained in:
@ -361,6 +361,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
|
||||||
|
|
||||||
# source codes for building projects
|
# source codes for building projects
|
||||||
@ -438,6 +439,8 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
|||||||
%{_mandir}/man5/*.5*
|
%{_mandir}/man5/*.5*
|
||||||
%{_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
|
||||||
|
%{_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
|
||||||
|
Reference in New Issue
Block a user