Hello community,

here is the log from the commit of package redshift for openSUSE:Factory 
checked in at 2018-10-18 15:38:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/redshift (Old)
 and      /work/SRC/openSUSE:Factory/.redshift.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "redshift"

Thu Oct 18 15:38:40 2018 rev:27 rq:642728 version:1.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/redshift/redshift.changes        2018-09-11 
17:21:22.439035870 +0200
+++ /work/SRC/openSUSE:Factory/.redshift.new/redshift.changes   2018-10-18 
15:38:46.290131038 +0200
@@ -1,0 +2,5 @@
+Wed Oct 17 22:48:14 UTC 2018 - Ondřej Súkup <[email protected]>
+
+- fix apparmor profile - fix_apparmor.patch boo#1111906
+
+-------------------------------------------------------------------

New:
----
  fix_apparmor.patch

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

Other differences:
------------------
++++++ redshift.spec ++++++
--- /var/tmp/diff_new_pack.3InZkO/_old  2018-10-18 15:38:47.742129383 +0200
+++ /var/tmp/diff_new_pack.3InZkO/_new  2018-10-18 15:38:47.746129379 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,6 +25,7 @@
 URL:            http://jonls.dk/redshift/
 Source:         
https://github.com/jonls/redshift/releases/download/v%{version}/%{name}-%{version}.tar.xz
 Patch0:         desktop.patch
+Patch1:         fix_apparmor.patch
 BuildRequires:  fdupes
 BuildRequires:  gettext-tools
 BuildRequires:  gobject-introspection
@@ -67,7 +68,8 @@
 
 %prep
 %setup -q
-%patch -p1 -P 0
+%patch0 -p1
+%patch1 -p1
 
 %build
 %configure \
@@ -78,7 +80,7 @@
   --enable-randr \
   --enable-vidmode \
   --with-systemduserunitdir=%{_userunitdir}
-make %{?_smp_mflags} V=1
+%make_build
 
 %install
 %make_install
@@ -97,19 +99,14 @@
 %preun
 %systemd_user_preun %{name}.service
 
-%postun
-%systemd_user_postun %{name}.service
-
 %post gtk
 %systemd_user_post %{name}-gtk.service
 
 %preun gtk
 %systemd_user_preun %{name}-gtk.service
 
-%postun gtk
-%systemd_user_postun %{name}-gtk.service
-
 %files gtk -f %{name}.lang
+%license COPYING
 %{_bindir}/%{name}-gtk
 %{python3_sitelib}/%{name}_gtk
 %{_datadir}/applications/%{name}-gtk.desktop
@@ -121,6 +118,8 @@
 %{_datadir}/appdata/%{name}-gtk.appdata.xml
 
 %files
+%license COPYING
+%doc README README-colorramp NEWS
 %{_bindir}/%{name}
 %{_mandir}/man1/%{name}.1%{?ext_man}
 %{_datadir}/applications/%{name}.desktop

++++++ fix_apparmor.patch ++++++
Index: redshift-1.12/data/apparmor/usr.bin.redshift.in
===================================================================
--- redshift-1.12.orig/data/apparmor/usr.bin.redshift.in
+++ redshift-1.12/data/apparmor/usr.bin.redshift.in
@@ -36,6 +36,7 @@
   audit dbus bus=system,
 
   owner @{HOME}/.config/redshift.conf r,
+  owner @{HOME}/.config/redshift/redshift.conf r,
 
   # Site-specific additions and overrides. See local/README for details.
   #include <local/usr.bin.redshift>

Reply via email to