fix Failed to start redshift-gtk.service
This commit is contained in:
parent
202f56db6e
commit
10457f0c2d
@ -6,7 +6,7 @@
|
||||
|
||||
Name: redshift
|
||||
Version: 1.12
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: Adjusts the color temperature of your screen according to time of day
|
||||
License: GPLv3+
|
||||
|
||||
@ -76,11 +76,15 @@ autopoint -f && AUTOPOINT="intltoolize --automake --copy" autoreconf -f -i
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/redshift.desktop
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/redshift-gtk.desktop
|
||||
|
||||
%post
|
||||
%post -n %{name}-gtk
|
||||
%systemd_user_post %{name}-gtk.service
|
||||
%post
|
||||
%systemd_user_post %{name}.service
|
||||
|
||||
%preun
|
||||
%preun -n %{name}-gtk
|
||||
%systemd_user_preun %{name}-gtk.service
|
||||
%preun
|
||||
%systemd_user_preun %{name}.service
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
@ -104,6 +108,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/redshift-gtk.desktop
|
||||
%{_userunitdir}/%{name}-gtk.service
|
||||
|
||||
%changelog
|
||||
* Fri Jul 29 2022 huayadong <huayadong@kylinos.cn> - 1.12-5
|
||||
- fix Failed to start redshift-gtk.service
|
||||
|
||||
* Mon Dec 28 2020 wangxiao <wangxiao65@huawei.com> - 1.12-4
|
||||
- remove redundant %{?dist}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user