commit d76c0aaadfb7318645e9c74b299cb7f7f3bb5e8d
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sat Jan 12 15:07:48 2019 +0000
Update to 32.0.0.114
check_new_version.py | 10 +++++-----
flash-plugin.spec.in | 5 ++++-
lpf-flash-plugin.spec | 5 ++++-
3 files changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/check_new_version.py b/check_new_version.py
index 39890e5..c02999c 100755
--- a/check_new_version.py
+++ b/check_new_version.py
@@ -23,17 +23,17 @@ def runme(cmd, env, cwd='.'):
html =
requests.get('http://get.adobe.com/flashplayer/about/')
#print (html.text)
-str_mx = re.compile('Linux.*?Firefox.*?NPAPI.*?<td>([\d.]+)<.td>',
re.S)
-res = str_mx.findall(html.text)
-new_version = res[-1]
-print ("new_version = %s" % new_version)
-
spec = open('flash-plugin.spec.in').read()
str_mx3 = re.compile('Version:\s*([\d.]+)')
res2 = str_mx3.findall(spec)
old_version = res2[-1]
print ("old_version = %s" % old_version)
+str_mx = re.compile('Linux.*?Firefox.*?NPAPI.*?<td>([\d.]+)<.td>',
re.S)
+res = str_mx.findall(html.text)
+new_version = res[-1]
+print ("new_version = %s" % new_version)
+
if new_version != old_version:
enviro = os.environ
pkgcmd = ['rpmdev-bumpspec', '-n', new_version, '-c',
'Update to %s' % (new_version), 'flash-plugin.spec.in']
diff --git a/flash-plugin.spec.in b/flash-plugin.spec.in
index a7a7e96..49dc8c5 100644
--- a/flash-plugin.spec.in
+++ b/flash-plugin.spec.in
@@ -2,7 +2,7 @@
%global __strip /bin/true
Name: flash-plugin
-Version: 32.0.0.101
+Version: 32.0.0.114
Release: 1%{?dist}
Epoch: 1
Summary: Adobe Flash Player
@@ -75,6 +75,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/icons/hicolor/*/apps/flash-player-properties.png
%changelog
+* Sat Jan 12 2019 Sérgio Basto <sergio(a)serjux.com> - 1:32.0.0.114-1
+- Update to 32.0.0.114
+
* Tue Dec 11 2018 Sérgio Basto <sergio(a)serjux.com> - 1:32.0.0.101-1
- Update to 32.0.0.101
diff --git a/lpf-flash-plugin.spec b/lpf-flash-plugin.spec
index 0b40024..9a17fc2 100644
--- a/lpf-flash-plugin.spec
+++ b/lpf-flash-plugin.spec
@@ -5,7 +5,7 @@
%define target_pkg %(t=%{name}; echo ${t#lpf-})
Name: lpf-flash-plugin
-Version: 32.0.0.101
+Version: 32.0.0.114
Release: 1%{?dist}
Epoch: 1
Summary: Adobe Flash Player package bootstrap
@@ -67,6 +67,9 @@ fi
%changelog
+* Sat Jan 12 2019 Sérgio Basto <sergio(a)serjux.com> - 1:32.0.0.114-1
+- Update to 32.0.0.114
+
* Tue Dec 11 2018 Sérgio Basto <sergio(a)serjux.com> - 1:32.0.0.101-1
- Update to 32.0.0.101