Requires: %{name}-core = %{version}
%endif
+Requires(post): /bin/systemctl
+Requires(postun): /bin/systemctl
+
BuildRequires: flex
BuildRequires: bison
BuildRequires: pkgconfig(lua)
rm -rf $RPM_BUILD_ROOT
%post
-systemctl enable murphyd.service
+/bin/systemctl enable murphyd.service
%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}
%post core
%postun
if [ "$1" = "0" ]; then
- systemctl disable murphyd.service
+ /bin/systemctl disable murphyd.service
fi
%if %{?_with_squashpkg:0}%{!?_with_squashpkg:1}