diff --git a/rasdaemon.spec b/rasdaemon.spec index d48a6cafce7d1de7436e9a58ba0642e50da137d5..fad6840867ed138d38997f9e3ce4741a596f785f 100644 --- a/rasdaemon.spec +++ b/rasdaemon.spec @@ -1,6 +1,6 @@ Name: rasdaemon Version: 0.6.7 -Release: 15 +Release: 16 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 @@ -104,9 +104,17 @@ if [ $1 -eq 2 ] ; then fi %preun -/usr/bin/systemctl disable rasdaemon.service >/dev/null 2>&1 || : +if [ $1 -eq 0 ] ; then + /usr/bin/systemctl disable rasdaemon.service >/dev/null 2>&1 || : +fi %changelog +* Thu Dec 28 2023 caixiaomeng - 0.6.7-16 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix rasdaemon disable service after upgrade + * Tue Dec 19 2023 caixiaomeng - 0.6.7-15 - Type:bugfix - ID:NA