Hello community, here is the log from the commit of package redshift for openSUSE:Factory checked in at 2016-02-09 13:32:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/redshift (Old) and /work/SRC/openSUSE:Factory/.redshift.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "redshift" Changes: -------- --- /work/SRC/openSUSE:Factory/redshift/redshift.changes 2016-01-22 01:10:11.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.redshift.new/redshift.changes 2016-02-09 13:33:02.000000000 +0100 @@ -1,0 +2,8 @@ +Sun Feb 7 20:11:45 UTC 2016 - [email protected] + +- Make building more verbose +- Update post/postun dependencies of -gtk subpackage +- Small spec file cleanups +- Fix building for Leap + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ redshift.spec ++++++ --- /var/tmp/diff_new_pack.lpiAc5/_old 2016-02-09 13:33:03.000000000 +0100 +++ /var/tmp/diff_new_pack.lpiAc5/_new 2016-02-09 13:33:03.000000000 +0100 @@ -35,7 +35,6 @@ BuildRequires: pkgconfig(geoclue-2.0) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(python3) -BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xrandr) @@ -43,6 +42,10 @@ Requires: geoclue2 Requires: python3-xdg BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} > 1320 +BuildRequires: systemd-rpm-macros +%{?systemd_requires} +%endif %py_requires %description @@ -52,7 +55,15 @@ %package gtk Summary: Gtk frontend for redshift Group: System/X11/Utilities -Requires: redshift = %{version} +Requires: hicolor-icon-theme +Requires: redshift = %{version}-%{release} +Requires(post): update-desktop-files +Requires(post): hicolor-icon-theme +Requires(postun): update-desktop-files +Requires(postun): hicolor-icon-theme +%if 0%{?suse_version} > 1320 +%{?systemd_requires} +%endif %description gtk A graphical user interface for the redshift tool that integrates into Gtk+ and GNOME. @@ -61,13 +72,22 @@ %setup -q %build -%configure --enable-gui --disable-geoclue --enable-geoclue2 --enable-randr --enable-vidmode \ +%configure \ + --enable-gui \ + --disable-geoclue \ + --enable-geoclue2 \ + --enable-randr \ + --enable-vidmode \ + %if 0%{?suse_version} > 1320 --with-systemduserunitdir=%{_userunitdir} -make %{?_smp_mflags} + %else + --with-systemduserunitdir=no + %endif +make %{?_smp_mflags} V=1 %install -%{?make_install} %{!?make_install:make DESTDIR=%{buildroot} install %{?_smp_mflags}} -%fdupes %{buildroot}%{python3_sitelib} +make %{?_smp_mflags} DESTDIR=%{buildroot} install +%fdupes -s %{buildroot} %suse_update_desktop_file redshift-gtk GTK X-SuSE-DesktopUtility %if 0%{?suse_version} == 1310 @@ -92,7 +112,9 @@ %{_datadir}/icons/hicolor/scalable/apps/redshift-status-off.svg %{_datadir}/icons/hicolor/scalable/apps/redshift-status-on.svg %{_datadir}/icons/hicolor/scalable/apps/redshift.svg +%if 0%{?suse_version} > 1320 %{_userunitdir}/redshift-gtk.service +%endif %if 0%{?suse_version} > 1310 %dir %{_datadir}/appdata %{_datadir}/appdata/redshift-gtk.appdata.xml @@ -101,8 +123,10 @@ %files %defattr(-,root,root,-) %{_bindir}/redshift -%{_mandir}/man1/redshift.1.gz +%{_mandir}/man1/redshift.1%{ext_man} %{_datadir}/applications/redshift.desktop +%if 0%{?suse_version} > 1320 %{_userunitdir}/redshift.service +%endif %changelog
