specfile: fix installation of nmstate-varlink.service
On the nmstate.spec file the installation was done using `cp -a` which is incorrect. In order to install the nmstate-varlink.service it should use the `install -p -m 644`. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
This commit is contained in:
parent
c5aee5f73f
commit
84791c96f4
@ -66,7 +66,9 @@ This package contains the nmstate plugin for OVS database manipulation.
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
mkdir -p %{buildroot}%{_unitdir} && cp -a %{buildroot}%{python3_sitelib}/nmstatectl/nmstate-varlink.service %{buildroot}%{_unitdir}/
|
||||
mkdir -p %{buildroot}%{_unitdir}
|
||||
install -p -m 644 %{buildroot}%{python3_sitelib}/nmstatectl/nmstate-varlink.service \
|
||||
%{buildroot}%{_unitdir}/nmstate-varlink.service
|
||||
|
||||
%post
|
||||
%systemd_post nmstate-varlink.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user