rebuild
This commit is contained in:
parent
80b985cb7c
commit
5e2aa240f1
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: redshift
|
Name: redshift
|
||||||
Version: 1.12
|
Version: 1.12
|
||||||
Release: 3%{dist}
|
Release: 4
|
||||||
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,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.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
|
||||||
|
%post
|
||||||
|
%systemd_user_post %{name}.service
|
||||||
|
|
||||||
%preun
|
%preun -n %{name}-gtk
|
||||||
%systemd_user_preun %{name}-gtk.service
|
%systemd_user_preun %{name}-gtk.service
|
||||||
|
%preun
|
||||||
|
%systemd_user_preun %{name}.service
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
@ -104,5 +108,8 @@ 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-4
|
||||||
|
- add %post -n %{name}-gtk ;%preun -n %{name}-gtk to spec file
|
||||||
|
|
||||||
* Thu Jul 23 2020 Zhao Yang <yangzhao1@kylinos.cn> - 1.12-3
|
* Thu Jul 23 2020 Zhao Yang <yangzhao1@kylinos.cn> - 1.12-3
|
||||||
- Initial release for OpenEuler
|
- Initial release for OpenEuler
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user