fix udisks2 service name in post scripts [release 2.10.1-2mamba;Sat Sep 09 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 18:46:25 +01:00
parent 6dd17a8f94
commit 9afc5846cd

View File

@ -1,6 +1,6 @@
Name: udisks
Version: 2.9.4
Release: 4mamba
Version: 2.10.1
Release: 2mamba
Summary: Storage Management Service
Group: System/Libraries
Vendor: openmamba
@ -15,6 +15,7 @@ BuildRequires: glibc-devel
BuildRequires: libacl-devel
BuildRequires: libatasmart-devel
BuildRequires: libattr-devel
BuildRequires: libblkid-devel
BuildRequires: libblockdev-devel
BuildRequires: libglib-devel
BuildRequires: libgudev-devel
@ -24,6 +25,7 @@ BuildRequires: libsystemd-devel
BuildRequires: libudev-devel
BuildRequires: libuuid-devel
## AUTOBUILDREQ-END
BuildRequires: libblockdev-devel >= 3.0.3-1mamba
BuildRequires: intltool
BuildRequires: libsepol-devel
Provides: udisks2
@ -85,16 +87,16 @@ This package contains %{name} API documentation.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%tmpfiles_create %{name}
%systemd_post %{name}
%tmpfiles_create udisks2
%systemd_post udisks2
:
%preun
%systemd_preun %{name}
%systemd_preun udisks2
:
%postun
%systemd_postun_with_restart %{name}
%systemd_postun_with_restart udisks2
:
%files -f %{name}.lang
@ -103,8 +105,10 @@ This package contains %{name} API documentation.
%{_sysconfdir}/udisks2/mount_options.conf.example
%{_sbindir}/umount.udisks2
%{_bindir}/udisksctl
%{_prefix}/lib/tmpfiles.d/udisks2.conf
#%{_unitdir}/clean-mount-point@.service
%{_tmpfilesdir}/udisks2.conf
%{_unitdir}/udisks2.service
%{_udevrulesdir}/80-udisks2.rules
%{_datadir}/polkit-1/actions/*.policy
%{_libdir}/libudisks2.so.*
%{_libdir}/girepository-1.0/UDisks-2.0.typelib
%dir %{_libexecdir}/udisks2
@ -113,9 +117,7 @@ This package contains %{name} API documentation.
%{_datadir}/dbus-1/system.d/org.freedesktop.UDisks2.conf
%{_datadir}/dbus-1/system-services/org.freedesktop.UDisks2.service
%attr(0700,root,root) %dir %{_localstatedir}/lib/udisks2
%{_unitdir}/udisks2.service
%{_udevrulesdir}/80-udisks2.rules
%{_datadir}/polkit-1/actions/*.policy
%{_datadir}/zsh/site-functions/_udisks2
%{_mandir}/man1/udisksctl.1*
%{_mandir}/man5/udisks2.conf.5*
%{_mandir}/man8/udisks.8*
@ -140,6 +142,15 @@ This package contains %{name} API documentation.
%{_datadir}/gtk-doc/html/udisks2/*
%changelog
* Sat Sep 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.1-2mamba
- fix udisks2 service name in post scripts
* Sat Sep 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.1-1mamba
- update to 2.10.1
* Sat Sep 09 2023 Automatic Build System <autodist@mambasoft.it> 2.9.4-5mamba
- rebuilt by autoport with build requirements: libblockdev-devel>=3.0.3-1mamba
* Tue May 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.4-4mamba
- renamed from udisks2