]> git.pld-linux.org Git - packages/Thunar.git/commitdiff
- add systemd user service startup, rel 2 auto/th/Thunar-4.16.9-2
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 8 Jan 2022 12:27:26 +0000 (13:27 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 8 Jan 2022 12:27:26 +0000 (13:27 +0100)
Thunar.spec

index ee1f71b2bfdb20a88c89873aae79e99ba7efdbd4..db35777973c0390331af2bc11b37f7c28c6d2781 100644 (file)
@@ -7,7 +7,7 @@ Summary:        Xfce file manager
 Summary(pl.UTF-8):     Zarządca plików Xfce
 Name:          Thunar
 Version:       4.16.9
-Release:       1
+Release:       2
 License:       GPL v2 / LGPL v2
 Group:         X11/Applications
 Source0:       http://archive.xfce.org/src/xfce/thunar/4.16/thunar-%{version}.tar.bz2
@@ -35,17 +35,19 @@ BuildRequires:      libxfce4util-devel >= %{xfce_version}
 BuildRequires: pcre-devel >= 6.0
 BuildRequires: perl-base
 BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.601
+BuildRequires: rpmbuild(macros) >= 2.011
 BuildRequires: startup-notification-devel >= 0.8
 BuildRequires: xfce4-dev-tools >= %{xfce_version}
 BuildRequires: xfce4-panel-devel >= %{xfce_version}
 BuildRequires: xfconf-devel >= %{xfce_version}
 Requires(post,postun): desktop-file-utils
+Requires(post,preun):  systemd-units >= 250.1
 Requires:      %{name}-libs = %{version}-%{release}
 Requires:      exo >= 4.15.3
 Requires:      gtk-update-icon-cache
 Requires:      hicolor-icon-theme
 Requires:      shared-mime-info >= 0.15
+Requires:      systemd-units >= 250.1
 Requires:      xfconf >= %{xfce_version}
 Suggests:      tumbler
 Obsoletes:     Thunar-thumbnailers < 0.5
@@ -161,6 +163,10 @@ rm -rf $RPM_BUILD_ROOT
 %post
 %update_desktop_database_post
 %update_icon_cache hicolor
+%systemd_user_post thunar.service
+
+%preun
+%systemd_user_preun thunar.service
 
 %postun
 %update_desktop_database_postun
This page took 0.363098 seconds and 4 git commands to generate.