diff --git a/rasdaemon.spec b/rasdaemon.spec index cd513679fc624f60a0669df957e1af075e905b14..167a435b59f1323da611bb4ef6bd0f3ae5e18018 100644 --- a/rasdaemon.spec +++ b/rasdaemon.spec @@ -1,6 +1,6 @@ Name: rasdaemon Version: 0.6.7 -Release: 9 +Release: 10 License: GPLv2 Summary: Utility to get Platform Reliability, Availability and Serviceability (RAS) reports via the Kernel tracing events URL: https://github.com/mchehab/rasdaemon.git @@ -87,13 +87,19 @@ rm INSTALL %{buildroot}/usr/include/*.h %post /usr/bin/systemctl enable rasdaemon.service >/dev/null 2>&1 || : if [ $1 -eq 2 ] ; then - /usr/bin/systemctl restart rasdaemon.service >/dev/null 2>&1 || : + /usr/bin/systemctl try-restart rasdaemon.service >/dev/null 2>&1 || : fi %preun /usr/bin/systemctl disable rasdaemon.service >/dev/null 2>&1 || : %changelog +* Fri Dec 01 2023 renhongxun - 0.6.7-10 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix inconsistent service status after upgrading + * Tue Nov 28 2023 renhongxun - 0.6.7-9 - Type:bugfix - ID:NA