chromium-pepper-flash: fix to retrieve recent update

This commit is contained in:
Silvan Calarco 2017-06-19 10:15:19 +02:00
parent e0a172d8f7
commit e49a9c03b2
3 changed files with 4 additions and 6 deletions

View File

@ -44,9 +44,8 @@ tar xzf ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK}
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
install -d -m0755 %{buildroot}/opt/chromium/PepperFlash install -d -m0755 %{buildroot}/opt/chromium/PepperFlash
cp -a * %{buildroot}/opt/chromium/PepperFlash/
cp %{S:0} LICENSE cp %{S:0} LICENSE
cp -a * %{buildroot}/opt/chromium/PepperFlash/
rm -fr ${tmpdir} rm -fr ${tmpdir}
@ -59,13 +58,12 @@ rm -rf %{_builddir}/%{name}-*
%defattr(-,root,root) %defattr(-,root,root)
%dir /opt/chromium/PepperFlash %dir /opt/chromium/PepperFlash
/opt/chromium/PepperFlash/libpepflashplayer.so /opt/chromium/PepperFlash/libpepflashplayer.so
/opt/chromium/PepperFlash/LICENSE
/opt/chromium/PepperFlash/license.pdf /opt/chromium/PepperFlash/license.pdf
/opt/chromium/PepperFlash/LICENSE
/opt/chromium/PepperFlash/manifest.json /opt/chromium/PepperFlash/manifest.json
/opt/chromium/PepperFlash/readme.txt /opt/chromium/PepperFlash/readme.txt
%dir /opt/chromium/PepperFlash/LGPL %dir /opt/chromium/PepperFlash/LGPL
/opt/chromium/PepperFlash/LGPL/* /opt/chromium/PepperFlash/LGPL/*
%doc LICENSE
%changelog %changelog
* Sat Dec 3 2016 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@ * Sat Dec 3 2016 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@

View File

@ -41,6 +41,6 @@ SRPMVERSION["win32codecs"]=20110131
SRPMRELEASE["win32codecs"]=1mamba SRPMRELEASE["win32codecs"]=1mamba
# chromium-pepper-flash # chromium-pepper-flash
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then
SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A11 "Linux" | grep -A1 "Chromium" | tail -n1 | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`" SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A11 "Linux" | grep -A3 "PPAPI" | grep "[0-9]\.[0-9]\.[0-9]" | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
SRPMRELEASE["chromium-pepper-flash"]=1mamba SRPMRELEASE["chromium-pepper-flash"]=1mamba
fi fi

View File

@ -1 +1 @@
VERSION = 4.0.0 VERSION = 4.0.1