!9 fix Failed to start redshift-gtk.service: Unit redshift-gtk.service not found.
From: @tanyulong2021 Reviewed-by: @dou33 Signed-off-by: @dou33
This commit is contained in:
commit
99b56f3df2
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: redshift
|
Name: redshift
|
||||||
Version: 1.12
|
Version: 1.12
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Adjusts the color temperature of your screen according to time of day
|
Summary: Adjusts the color temperature of your screen according to time of day
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
|
|
||||||
@ -76,12 +76,18 @@ autopoint -f && AUTOPOINT="intltoolize --automake --copy" autoreconf -f -i
|
|||||||
desktop-file-validate %{buildroot}%{_datadir}/applications/redshift.desktop
|
desktop-file-validate %{buildroot}%{_datadir}/applications/redshift.desktop
|
||||||
desktop-file-validate %{buildroot}%{_datadir}/applications/redshift-gtk.desktop
|
desktop-file-validate %{buildroot}%{_datadir}/applications/redshift-gtk.desktop
|
||||||
|
|
||||||
%post
|
|
||||||
|
%post -n %{name}-gtk
|
||||||
%systemd_user_post %{name}-gtk.service
|
%systemd_user_post %{name}-gtk.service
|
||||||
|
|
||||||
%preun
|
%post
|
||||||
|
%systemd_user_post %{name}.service
|
||||||
|
|
||||||
|
%preun -n %{name}-gtk
|
||||||
%systemd_user_preun %{name}-gtk.service
|
%systemd_user_preun %{name}-gtk.service
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%systemd_user_preun %{name}.servic
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc DESIGN CONTRIBUTING.md NEWS NEWS.md README README-colorramp README.md redshift.conf.sample
|
%doc DESIGN CONTRIBUTING.md NEWS NEWS.md README README-colorramp README.md redshift.conf.sample
|
||||||
@ -104,6 +110,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/redshift-gtk.desktop
|
|||||||
%{_userunitdir}/%{name}-gtk.service
|
%{_userunitdir}/%{name}-gtk.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 08 2022 tanyulong <tanyulong@kylinos.cn> - 1.12-5
|
||||||
|
- fix Failed to start redshift-gtk.service
|
||||||
|
|
||||||
* Mon Dec 13 2021 liweigang <liweiganga@uniontech.com> - 1.12-4
|
* Mon Dec 13 2021 liweigang <liweiganga@uniontech.com> - 1.12-4
|
||||||
- delete %dist
|
- delete %dist
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user