SRPMSVERSION: update for Chromium also disabling no longer available 32 bit version

This commit is contained in:
Silvan Calarco 2016-04-21 13:44:42 +02:00
parent 9ab6dc2fb7
commit ab3ae9a6dd

View File

@ -36,6 +36,10 @@ SRPMVERSION["win32codecs"]=20110131
SRPMRELEASE["win32codecs"]=1mamba
# chromium-pepper-flash
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then
SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -s "http://googlechromereleases.blogspot.it/" | grep -i -m 1 "stable channel has been updated to" | sed "s|.*updated to \([0-9.]*\) .*|\1|" 2>/dev/null`"
if [ "`uname -m`" == "x86_64" ]; then
SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -s "http://googlechromereleases.blogspot.it/" | grep -i -m 1 "stable channel has been updated to" | sed "s|.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*|\1|" 2>/dev/null`"
else
SRPMVERSION["chromium-pepper-flash"]="0"
fi
SRPMRELEASE["chromium-pepper-flash"]=1mamba
fi