Hello community,

here is the log from the commit of package redshift for openSUSE:Factory 
checked in at 2017-12-14 11:02:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/redshift (Old)
 and      /work/SRC/openSUSE:Factory/.redshift.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "redshift"

Thu Dec 14 11:02:51 2017 rev:22 rq:556666 version:1.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/redshift/redshift.changes        2017-05-22 
10:46:37.940111939 +0200
+++ /work/SRC/openSUSE:Factory/.redshift.new/redshift.changes   2017-12-14 
11:03:11.647073496 +0100
@@ -1,0 +2,5 @@
+Wed Dec 13 12:26:36 UTC 2017 - [email protected]
+
+- spec-cleaned, removed old code. @Mailender removed %py_requires 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ redshift.spec ++++++
--- /var/tmp/diff_new_pack.CXXfRW/_old  2017-12-14 11:03:12.651025031 +0100
+++ /var/tmp/diff_new_pack.CXXfRW/_new  2017-12-14 11:03:12.655024838 +0100
@@ -42,9 +42,7 @@
 BuildRequires:  pkgconfig(xxf86vm)
 Requires:       geoclue2
 Requires:       python3-xdg
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %{?systemd_requires}
-%py_requires
 
 %description
 Redshift adjusts the color temperature of your screen according to your 
surroundings.
@@ -55,10 +53,6 @@
 Group:          System/X11/Utilities
 Requires:       hicolor-icon-theme
 Requires:       redshift = %{version}-%{release}
-Requires(post): hicolor-icon-theme
-Requires(post): update-desktop-files
-Requires(postun): hicolor-icon-theme
-Requires(postun): update-desktop-files
 %{?systemd_requires}
 %if 0%{?sle_version} > 120100 || 0%{?suse_version} > 1320
 Requires:       python3-gobject-Gdk
@@ -73,10 +67,6 @@
 %setup -q
 
 %build
-%if %{undefined _userunitdir}
-%define _userunitdir %{_prefix}/lib/systemd/user
-%endif
-
 %configure \
   --enable-gui \
   --disable-geoclue \
@@ -90,6 +80,7 @@
 %make_install
 %fdupes -s %{buildroot}%{python3_sitelib}
 %suse_update_desktop_file redshift-gtk GTK X-SuSE-DesktopUtility
+sed -i 's|/env python3|/python3|' %{buildroot}%{_bindir}/redshift-gtk
 
 %find_lang %{name}
 
@@ -103,20 +94,15 @@
 %systemd_user_postun redshift.service
 
 %post gtk
-%desktop_database_post
-%icon_theme_cache_post
 %systemd_user_post redshift-gtk.service
 
 %preun gtk
 %systemd_user_preun redshift-gtk.service
 
 %postun gtk
-%desktop_database_postun
-%icon_theme_cache_postun
 %systemd_user_postun redshift-gtk.service
 
 %files gtk -f %{name}.lang
-%defattr(-,root,root,-)
 %{_bindir}/redshift-gtk
 %{python3_sitelib}/redshift_gtk
 %{_datadir}/applications/redshift-gtk.desktop
@@ -128,7 +114,6 @@
 %{_datadir}/appdata/redshift-gtk.appdata.xml
 
 %files
-%defattr(-,root,root,-)
 %{_bindir}/redshift
 %{_mandir}/man1/redshift.1%{ext_man}
 %{_datadir}/applications/redshift.desktop


Reply via email to