diff --git a/udisks2.spec b/udisks2.spec index 519ab641aeb3fc5a47f27b0a48d7b4afef59a18f..4e373f4a0c60ce889f5a3376f61b7d20406bba8e 100644 --- a/udisks2.spec +++ b/udisks2.spec @@ -60,7 +60,7 @@ Name: udisks2 Summary: Disk Manager Version: 2.8.1 %if %{is_git} == 0 -Release: 4 +Release: 5 %else Release: 0.%{build_date}git%{git_hash}%{?dist} %endif @@ -307,22 +307,29 @@ chrpath --delete %{buildroot}/%{_libexecdir}/udisks2/udisksd %post -n %{name} %systemd_post udisks2.service +%systemd_post clean-mount-point@.service +udevadm control --reload udevadm trigger %preun -n %{name} %systemd_preun udisks2.service +%systemd_preun clean-mount-point@.service %postun -n %{name} %systemd_postun_with_restart udisks2.service +%systemd_postun_with_restart clean-mount-point@.service %ldconfig_scriptlets -n lib%{name} %if 0%{?with_zram} %post -n %{name}-zram +%systemd_post zram-setup@.service %preun -n %{name}-zram +%systemd_preun zram-setup@.service %postun -n %{name}-zram +%systemd_postun_with_restart zram-setup@.service %endif %files -f udisks2.lang @@ -419,6 +426,12 @@ udevadm trigger %endif %changelog +* Fri Jan 17 2020 openEuler Buildteam - 2.8.1-5 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix install error + * Sun Jan 12 2020 openEuler Buildteam - 2.8.1-4 - Type:bugfix - ID:NA