]> git.pld-linux.org Git - packages/waybar.git/commitdiff
- systemd user service startup auto/th/waybar-0.9.9-1
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 10 Jan 2022 22:41:59 +0000 (23:41 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 10 Jan 2022 22:41:59 +0000 (23:41 +0100)
waybar.spec

index 0491fc4a0ad249eb738cf8d17275a909a8beb0ff..c682554f7333d347832214e381d3df1c1d77630d 100644 (file)
@@ -25,16 +25,18 @@ BuildRequires:      meson >= 0.49.0
 BuildRequires: ninja
 BuildRequires: pkgconfig
 BuildRequires: pulseaudio-devel
-BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: rpmbuild(macros) >= 2.011
 BuildRequires: scdoc >= 1.9.2
 BuildRequires: spdlog-devel >= 1:1.8.5
 BuildRequires: systemd-devel
 BuildRequires: udev-devel
 BuildRequires: wayland-devel
 BuildRequires: wayland-protocols
+Requires(post,preun):  systemd-units >= 1:250.1
 Requires:      gtkmm3 >= 3.22.0
 Requires:      libfmt >= 7.0.0
 Requires:      spdlog >= 1:1.8.5
+Requires:      systemd-units >= 1:250.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -55,6 +57,12 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%systemd_user_post waybar.service
+
+%preun
+%systemd_user_preun waybar.service
+
 %files
 %defattr(644,root,root,755)
 %doc README.md
This page took 0.133832 seconds and 4 git commands to generate.