From 44ce02a471820745294386444b607b233344d9aa Mon Sep 17 00:00:00 2001 From: peijiankang Date: Fri, 16 Jun 2023 10:53:57 +0800 Subject: [PATCH] sync master to 22.03-SP2 --- redshift.spec | 16 ++++++++++++---- redshift.yaml | 4 ++++ 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 redshift.yaml diff --git a/redshift.spec b/redshift.spec index ea42a65..515291c 100644 --- a/redshift.spec +++ b/redshift.spec @@ -6,7 +6,7 @@ Name: redshift Version: 1.12 -Release: 4 +Release: 6 Summary: Adjusts the color temperature of your screen according to time of day License: GPLv3+ @@ -76,17 +76,19 @@ 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 -n %{name}-gtk %systemd_user_post %{name}-gtk.service + %post %systemd_user_post %{name}.service %preun -n %{name}-gtk %systemd_user_preun %{name}-gtk.service + %preun %systemd_user_preun %{name}.service - %files -f %{name}.lang %doc DESIGN CONTRIBUTING.md NEWS NEWS.md README README-colorramp README.md redshift.conf.sample %license COPYING @@ -108,8 +110,14 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/redshift-gtk.desktop %{_userunitdir}/%{name}-gtk.service %changelog -* Tue Mar 08 2022 tanyulong  - 1.12-4 -- add %post -n %{name}-gtk ;%preun -n %{name}-gtk to spec file +* Tue Aug 09 2022 peijiankang  - 1.12-6 +- fix the problem of remove redshift-gtk.service + +* Tue Mar 08 2022 tanyulong  - 1.12-5 +- fix Failed to start redshift-gtk.service + +* Mon Dec 13 2021 liweigang  - 1.12-4 +- delete %dist * Thu Jul 23 2020 Zhao Yang  - 1.12-3 - Initial release for OpenEuler diff --git a/redshift.yaml b/redshift.yaml new file mode 100644 index 0000000..f96f8d2 --- /dev/null +++ b/redshift.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: jonls/redshift +tag_prefix: "v" +separator: "." \ No newline at end of file -- Gitee