commit:     69efe5cc9e0d9f7b943bdb2c32f717979236effa
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  8 19:25:51 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 19:28:46 2018 +0000
URL:        https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=69efe5cc

2017-11-30-new-17-profiles: Display based on profile, not gcc version

Display the news item on 17.0 profile upgrade to all users using 13.0
profiles, rather than the people having new enough gcc installed. Given
that all users see the new profile, it is not a good idea to show
the news item to subset of them and leave the rest without any
instructions. Furthermore, displaying the item to users using 17.0
already is usually pointless.

 2017-11-30-new-17-profiles/2017-11-30-new-17-profiles.en.txt | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/2017-11-30-new-17-profiles/2017-11-30-new-17-profiles.en.txt 
b/2017-11-30-new-17-profiles/2017-11-30-new-17-profiles.en.txt
index 0ac7d5e..c81ad9a 100644
--- a/2017-11-30-new-17-profiles/2017-11-30-new-17-profiles.en.txt
+++ b/2017-11-30-new-17-profiles/2017-11-30-new-17-profiles.en.txt
@@ -3,7 +3,16 @@ Author: Andreas K. Hüttel <dilfri...@gentoo.org>
 Posted: 2017-11-30
 Revision: 1
 News-Item-Format: 2.0
-Display-If-Installed: >=sys-devel/gcc-6.4.0
+Display-If-Profile: default/linux/amd64/13.0
+Display-If-Profile: default/linux/amd64/13.0/selinux
+Display-If-Profile: default/linux/amd64/13.0/desktop
+Display-If-Profile: default/linux/amd64/13.0/desktop/gnome
+Display-If-Profile: default/linux/amd64/13.0/desktop/gnome/systemd
+Display-If-Profile: default/linux/amd64/13.0/desktop/plasma
+Display-If-Profile: default/linux/amd64/13.0/desktop/plasma/systemd
+Display-If-Profile: default/linux/amd64/13.0/developer
+Display-If-Profile: default/linux/amd64/13.0/no-multilib
+Display-If-Profile: default/linux/amd64/13.0/systemd
 
 We have just added (for all arches except arm and mips, these follow
 later) a new set of profiles with release version 17.0 to the Gentoo 

Reply via email to