- systemd user service startup, rel 2 auto/th/tracker3-3.2.1-2
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 10 Jan 2022 22:19:34 +0000 (23:19 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 10 Jan 2022 22:19:34 +0000 (23:19 +0100)
tracker3.spec

index 4cdf1177936502cd27b840622140183603fa008c..564fdcccc311086b61eff2917866b494e78413b2 100644 (file)
@@ -11,7 +11,7 @@ Summary:      Tracker 3 - an indexing subsystem
 Summary(pl.UTF-8):     Tracker 3 - podsystem indeksujący
 Name:          tracker3
 Version:       3.2.1
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Applications
 Source0:       https://download.gnome.org/sources/tracker/3.2/tracker-%{version}.tar.xz
@@ -39,7 +39,7 @@ BuildRequires:        ninja >= 1.5
 BuildRequires: pkgconfig
 BuildRequires: python3 >= 1:3.2
 BuildRequires: rpm-build >= 4.6
-BuildRequires: rpmbuild(macros) >= 1.752
+BuildRequires: rpmbuild(macros) >= 2.011
 BuildRequires: sqlite3-devel >= 3.35.2
 BuildRequires: tar >= 1:1.22
 %{?with_vala:BuildRequires:    vala >= 2:0.18.0}
@@ -47,9 +47,10 @@ BuildRequires:       tar >= 1:1.22
 BuildRequires: xz
 BuildRequires: zlib-devel
 Requires(post,postun): glib2 >= 1:2.52.0
+Requires(post,preun):  systemd-units >= 1:250.1
 Requires:      %{name}-libs = %{version}-%{release}
 Requires:      dbus >= 1.3.1
-Requires:      systemd-units >= 1:242
+Requires:      systemd-units >= 1:250.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -196,6 +197,12 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%systemd_user_post tracker-xdg-portal-3.service
+
+%preun
+%systemd_user_preun tracker-xdg-portal-3.service
+
 %post  libs -p /sbin/ldconfig
 %postun        libs -p /sbin/ldconfig
 
This page took 0.204548 seconds and 4 git commands to generate.