# Just search for new unit files that were just installed.
script postin
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
-
+
# The dbus service should be started on default.
- /bin/systemctl enable dbus.service > /dev/null 2>&1 || :
+ /bin/systemctl enable dbus.service > /dev/null 2>&1 || :
end
# Disable the service that is to be removed and stop it if it is still running.
/bin/systemctl try-restart dbus.service >/dev/null 2>&1 || :
end
end
-
+
package %{name}-libs
template LIBS
end
-
+
package %{name}-devel
template DEVEL
-
+
files += /usr/lib/dbus-1.0
end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
end