commit f24d1620de8979cd1c2d60ec5d00802e537d4efc
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Aug 31 01:38:55 2018 +0100
Update to 30.0.0.154
check_new_version.py | 28 ++++++++++++++--------------
flash-plugin.spec.in | 5 ++++-
lpf-flash-plugin.spec | 5 ++++-
3 files changed, 22 insertions(+), 16 deletions(-)
---
diff --git a/check_new_version.py b/check_new_version.py
index 671b361..77f2449 100755
--- a/check_new_version.py
+++ b/check_new_version.py
@@ -7,6 +7,19 @@ import re
import os
import subprocess
+def runme(cmd, env, cwd='.'):
+ """Simple function to run a command and return 0 for success, 1 for
+ failure. cmd is a list of the command and arguments, action is a
+ name for the action (for logging), pkg is the name of the package
+ being operated on, env is the environment dict, and cwd is where
+ the script should be executed from."""
+ try:
+ subprocess.check_call(cmd, env=env, cwd=cwd) #, stderr=None
+ except subprocess.CalledProcessError as e:
+ sys.stderr.write('%s failed: %s\n' % (cmd, e))
+ return 1
+ return 0
+
html =
requests.get('http://get.adobe.com/flashplayer/about/')
#print (html.text)
@@ -21,19 +34,6 @@ res2 = str_mx3.findall(spec)
old_version = res2[-1]
print ("old_version = %s" % old_version)
-def runme(cmd, env, cwd='.'):
- """Simple function to run a command and return 0 for success, 1 for
- failure. cmd is a list of the command and arguments, action is a
- name for the action (for logging), pkg is the name of the package
- being operated on, env is the environment dict, and cwd is where
- the script should be executed from."""
- try:
- subprocess.check_call(cmd, env=env, cwd=cwd) #, stderr=None
- except subprocess.CalledProcessError as e:
- sys.stderr.write('%s failed: %s\n' % (cmd, e))
- return 1
- return 0
-
if new_version != old_version:
enviro = os.environ
pkgcmd = ['rpmdev-bumpspec', '-n', new_version, '-c',
'Update to %s' % (new_version), 'flash-plugin.spec.in']
@@ -45,9 +45,9 @@ if new_version != old_version:
print('rfpkg ci -c && git show')
print('rfpkg push && rfpkg build --nowait')
+ print('git checkout f29 && git merge master && git push
&& rfpkg build --nowait; git checkout master')
print('git checkout f28 && git merge master && git push
&& rfpkg build --nowait; git checkout master')
print('git checkout f27 && git merge master && git push
&& rfpkg build --nowait; git checkout master')
- #print('git checkout f26 && git merge master && git push
&& rfpkg build --nowait; git checkout master')
else:
print("Already updated !")
diff --git a/flash-plugin.spec.in b/flash-plugin.spec.in
index 6a215a0..3296751 100644
--- a/flash-plugin.spec.in
+++ b/flash-plugin.spec.in
@@ -2,7 +2,7 @@
%global __strip /bin/true
Name: flash-plugin
-Version: 30.0.0.134
+Version: 30.0.0.154
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
+* Fri Aug 31 2018 Sérgio Basto <sergio(a)serjux.com> - 1:30.0.0.154-1
+- Update to 30.0.0.154
+
* Sat Jul 21 2018 Sérgio Basto <sergio(a)serjux.com> - 1:30.0.0.134-1
- Update to 30.0.0.134
diff --git a/lpf-flash-plugin.spec b/lpf-flash-plugin.spec
index f93c9d0..c5751c3 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: 30.0.0.134
+Version: 30.0.0.154
Release: 1%{?dist}
Epoch: 1
Summary: Adobe Flash Player package bootstrap
@@ -67,6 +67,9 @@ fi
%changelog
+* Fri Aug 31 2018 Sérgio Basto <sergio(a)serjux.com> - 1:30.0.0.154-1
+- Update to 30.0.0.154
+
* Sat Jul 21 2018 Sérgio Basto <sergio(a)serjux.com> - 1:30.0.0.134-1
- Update to 30.0.0.134