package more state dirs
authorJan Palus <atler@pld-linux.org>
Wed, 31 Mar 2021 22:25:48 +0000 (00:25 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 31 Mar 2021 22:48:52 +0000 (00:48 +0200)
connman.spec

index 971a59cb81410d84f12447e7fd70739f0ce9fc24..ef4768d62942514e3a1326fbd45fef9cf9c93c08 100644 (file)
@@ -112,7 +112,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/connman/{plugins,plugins-vpn,scripts}/*.la
 
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/connman/{plugins,plugins-vpn,scripts}/*.la
 
-install -d $RPM_BUILD_ROOT/var/run/connman
+install -d $RPM_BUILD_ROOT/var/{lib/connman{,-vpn},run/connman}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -150,6 +150,8 @@ rm -rf $RPM_BUILD_ROOT
 %{systemdunitdir}/connman-vpn.service
 %{systemdunitdir}/connman-wait-online.service
 %{systemdtmpfilesdir}/connman_resolvconf.conf
 %{systemdunitdir}/connman-vpn.service
 %{systemdunitdir}/connman-wait-online.service
 %{systemdtmpfilesdir}/connman_resolvconf.conf
+%dir /var/lib/connman
+%dir /var/lib/connman-vpn
 %dir /var/run/connman
 %{_mandir}/man1/connmanctl.1*
 %{_mandir}/man5/connman.conf.5*
 %dir /var/run/connman
 %{_mandir}/man1/connmanctl.1*
 %{_mandir}/man5/connman.conf.5*
This page took 0.18264 seconds and 4 git commands to generate.