Hello community, here is the log from the commit of package yast2-theme for openSUSE:Factory checked in at 2017-04-12 17:09:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-theme (Old) and /work/SRC/openSUSE:Factory/.yast2-theme.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-theme" Wed Apr 12 17:09:45 2017 rev:150 rq:485786 version:3.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-theme/yast2-theme.changes 2016-10-18 13:28:15.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-theme.new/yast2-theme.changes 2017-04-12 17:09:49.065607545 +0200 @@ -1,0 +2,6 @@ +Sat Feb 4 08:46:10 UTC 2017 - [email protected] +- 3.2.2: add yast2-branding-openSUSE-Oxygen empty package to + trigger swich into Oxygen theme for YaST2 in openSUSE + (bsc#942136). + +------------------------------------------------------------------- Old: ---- yast2-theme-3.2.1.tar.bz2 New: ---- yast2-theme-3.2.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-theme.spec ++++++ --- /var/tmp/diff_new_pack.6wqgAD/_old 2017-04-12 17:09:50.425415049 +0200 +++ /var/tmp/diff_new_pack.6wqgAD/_new 2017-04-12 17:09:50.425415049 +0200 @@ -1,7 +1,7 @@ # # spec file for package yast2-theme # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,10 @@ # +# YaST Oxygen icons maintained by Martin Schlander <martin.schlander () gmail ! com> + Name: yast2-theme -Version: 3.2.1 +Version: 3.2.2 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -51,15 +53,30 @@ Conflicts: yast2-theme-SLE PreReq: /bin/ln Requires: hicolor-icon-theme -Obsoletes: yast2-theme-openSUSE-Crystal < %{version} -Provides: yast2-theme-openSUSE-Oxygen = %{version} Obsoletes: yast2-theme-openSUSE < %{version} -Obsoletes: yast2-theme-openSUSE-Oxygen < %{version} +Obsoletes: yast2-theme-openSUSE-Crystal < %{version} Provides: yast2-theme-openSUSE = %{version} %description -n yast2-branding-openSUSE This package contains the openSUSE theme for YaST2. + +%package -n yast2-branding-openSUSE-Oxygen +Summary: YaST2 - switcher into Oxygen icon theme +Group: System/YaST +Supplements: packageand(yast2:plasma5-session) +PreReq: /bin/ln +Requires: yast2-branding-openSUSE = %{version} +Provides: yast2-theme-openSUSE-Oxygen = %{version} +Obsoletes: yast2-theme-openSUSE-Oxygen < %{version} + +%description -n yast2-branding-openSUSE-Oxygen +After installing this package, symbolic link for "current" theme +will be changed "Oxygen". This package does not contains icons +of the openSUSE theme for YaST2. Icons itself exist in +yast2-branding-openSUSE package. + + %else %package SLE Summary: YaST2 - SLE Theme @@ -98,6 +115,8 @@ cp -R "$RPM_BUILD_ROOT/%{yast_docdir}" "$RPM_BUILD_ROOT/%{yast_docdir}-openSUSE" rm -rf "$RPM_BUILD_ROOT/%{yast_docdir}" +mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/yast2-theme/ +echo 'This file marks the package yast2-branding-openSUSE-Oxygen to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/yast2-theme/yast2-branding-openSUSE-Oxygen.txt %else # install SLE icewm style @@ -286,6 +305,18 @@ rm %{yast_themedir}/current fi +%post -n yast2-branding-openSUSE-Oxygen +if test -L %{yast_themedir}/current/icons ; then + rm %{yast_themedir}/current/icons +fi +ln -s /usr/share/icons/oxygen %{yast_themedir}/current/icons + +%postun -n yast2-branding-openSUSE-Oxygen +if test -L %{yast_themedir}/current/icons ; then + rm %{yast_themedir}/current/icons +fi +ln -s /usr/share/icons/hicolor %{yast_themedir}/current/icons + %files -n yast2-branding-openSUSE %defattr(-,root,root) %dir %{yast_themedir} @@ -293,6 +324,11 @@ %config %{_sysconfdir}/icewm /usr/share/icons/* %doc %{yast_docdir}-openSUSE + +%files -n yast2-branding-openSUSE-Oxygen +%dir /usr/share/doc/packages/yast2-theme/ +/usr/share/doc/packages/yast2-theme/yast2-branding-openSUSE-Oxygen.txt + %else %files SLE %defattr(-,root,root) ++++++ yast2-theme-3.2.1.tar.bz2 -> yast2-theme-3.2.2.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/yast2-theme/yast2-theme-3.2.1.tar.bz2 /work/SRC/openSUSE:Factory/.yast2-theme.new/yast2-theme-3.2.2.tar.bz2 differ: char 11, line 1
