chromium-pepper-flash: fix to retrieve recent update
This commit is contained in:
parent
e0a172d8f7
commit
e49a9c03b2
@ -44,9 +44,8 @@ tar xzf ${tmpdir}/${CHROMIUM_PEPPER_FLASH_PCK}
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
install -d -m0755 %{buildroot}/opt/chromium/PepperFlash
|
||||
cp -a * %{buildroot}/opt/chromium/PepperFlash/
|
||||
|
||||
cp %{S:0} LICENSE
|
||||
cp -a * %{buildroot}/opt/chromium/PepperFlash/
|
||||
|
||||
rm -fr ${tmpdir}
|
||||
|
||||
@ -59,13 +58,12 @@ rm -rf %{_builddir}/%{name}-*
|
||||
%defattr(-,root,root)
|
||||
%dir /opt/chromium/PepperFlash
|
||||
/opt/chromium/PepperFlash/libpepflashplayer.so
|
||||
/opt/chromium/PepperFlash/LICENSE
|
||||
/opt/chromium/PepperFlash/license.pdf
|
||||
/opt/chromium/PepperFlash/LICENSE
|
||||
/opt/chromium/PepperFlash/manifest.json
|
||||
/opt/chromium/PepperFlash/readme.txt
|
||||
%dir /opt/chromium/PepperFlash/LGPL
|
||||
/opt/chromium/PepperFlash/LGPL/*
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Sat Dec 3 2016 Silvan Calarco <silvan.calarco@mambasoft.it> @SRPMVERSION@-@SRPMRELEASE@
|
||||
|
@ -41,6 +41,6 @@ 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 -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
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user