From 87a579a346d883975b8b7a768ef214031512db52 Mon Sep 17 00:00:00 2001 From: Gris Ge Date: Tue, 27 Jul 2021 13:01:09 +0800 Subject: [PATCH] Add varlink service back. Signed-off-by: Gris Ge --- nmstate.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nmstate.spec b/nmstate.spec index c83815e..a441dee 100644 --- a/nmstate.spec +++ b/nmstate.spec @@ -4,7 +4,7 @@ Name: nmstate Version: 1.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Declarative network manager API License: LGPLv2+ URL: https://github.com/%{srcname}/%{srcname} @@ -77,6 +77,8 @@ gpgv2 --keyring ./gpgkey-mantainers.gpg %{SOURCE1} %{SOURCE0} %install %py3_install mkdir -p %{buildroot}%{_unitdir} +install -p -m 644 %{buildroot}%{python3_sitelib}/nmstatectl/nmstate-varlink.service \ + %{buildroot}%{_unitdir}/nmstate-varlink.service %files %doc README.md @@ -86,6 +88,7 @@ mkdir -p %{buildroot}%{_unitdir} %{python3_sitelib}/nmstatectl %{_bindir}/nmstatectl %{_bindir}/nmstate-autoconf +%{_unitdir}/nmstate-varlink.service %files -n python3-%{libname} %license LICENSE @@ -99,6 +102,9 @@ mkdir -p %{buildroot}%{_unitdir} %{python3_sitelib}/%{libname}/plugins/__pycache__/nmstate_plugin_ovsdb* %changelog +* Tue Jul 27 2021 Gris Ge - 1.1.0-2 +- Add varlink service back. + * Tue Jul 27 2021 Gris Ge - 1.1.0-1 - Upgrade to 1.1.0