commit f611d7b9ec1abd7b9980afe3789dd20d47210064
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Sep 3 11:31:50 2021 +0100
Update to 1.1.67.586.gbb5ef64e
check_new_version.py | 24 +++++++++++++++++++-----
lpf-spotify-client.spec | 5 ++++-
spotify-client.spec.in | 7 +++++--
3 files changed, 28 insertions(+), 8 deletions(-)
---
diff --git a/check_new_version.py b/check_new_version.py
index 2e8a67e..7847f42 100755
--- a/check_new_version.py
+++ b/check_new_version.py
@@ -14,12 +14,23 @@ def runme(cmd, env, cwd='.'):
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
+ subprocess.check_call(cmd, env=env, cwd=cwd, stderr=subprocess.PIPE)
except subprocess.CalledProcessError as e:
sys.stderr.write('%s failed: %s\n' % (cmd, e))
return 1
return 0
+text = "cat spotify-client.spec.in | grep ^Version"
+texts = text.split('|')
+text0 = texts[0].strip().split(' ')
+#print(text0)
+text1 = texts[1].strip().split(' ')
+#print(text1)
+
+ps1 = subprocess.run(text0, check=True, capture_output=True)
+ps2 = subprocess.run(text1, input=ps1.stdout, capture_output=True)
+print("Current %s" % ps2.stdout.decode())
+
html =
requests.get('http://repository.spotify.com/pool/non-free/s/spotify-c...
#print (html.text)
@@ -32,8 +43,10 @@ deb64 = res2[-1]
regexp =
re.compile('spotify-client_(\d{1,2}[.]\d{1,2}[.]\d{1,3}[.]\d{1,3})([.].*)')
(version32, minor32) = regexp.findall(deb32)[0]
(version64, minor64) = regexp.findall(deb64)[0]
-print ("deb64 = %s\nVersions: %s %s" % (deb64, version64, minor64))
-print ("deb32 = %s\nVersions: %s %s" % (deb32, version32, minor32))
+#print ("deb64 = %s\n Versions: %s %s" % (deb64, version64, minor64))
+#print ("deb32 = %s\n Versions: %s %s\n" % (deb32, version32, minor32))
+print ("Latest Version: %s" % version64)
+print ("Latest deb32 Version: %s \n" % version32)
spec = open('spotify-client.spec.in').read()
#print (spec)
@@ -57,12 +70,13 @@ if spec != spec3:
if runme(pkgcmd, enviro):
print('error running runme')
- print('rfpkg srpm && mock -r fedora-32-x86_64-rpmfusion_nonfree
--no-clean --rebuild lpf-spotify-client-%s-1.fc35.src.rpm'
+ print("New version available!")
+ print('rfpkg srpm && mock -r fedora-33-x86_64-rpmfusion_nonfree
--no-clean --rebuild lpf-spotify-client-%s-1.fc36.src.rpm'
% version64)
else:
print("Already updated !")
print('rfpkg ci -c && git show && echo Press enter to push and build;
read dummy; rfpkg push && rfpkg build --nowait')
+print('git checkout f35 && git merge master && git push &&
rfpkg build --nowait; git checkout master')
print('git checkout f34 && git merge master && git push &&
rfpkg build --nowait; git checkout master')
print('git checkout f33 && git merge master && git push &&
rfpkg build --nowait; git checkout master')
-print('git checkout f32 && git merge master && git push &&
rfpkg build --nowait; git checkout master')
diff --git a/lpf-spotify-client.spec b/lpf-spotify-client.spec
index 9bd301c..c4fb2d9 100644
--- a/lpf-spotify-client.spec
+++ b/lpf-spotify-client.spec
@@ -11,7 +11,7 @@
Name: lpf-spotify-client
# Upstream spotify version, verbatim.
-Version: 1.1.56.595
+Version: 1.1.67.586
Release: 1%{?dist}
Summary: Spotify music player native client package bootstrap
@@ -79,6 +79,9 @@ desktop-file-validate
%{buildroot}%{_datadir}/applications/%{name}.desktop
%changelog
+* Thu Sep 02 2021 Sérgio Basto <sergio(a)serjux.com> - 1.1.67.586-1
+- Update to 1.1.67.586.gbb5ef64e
+
* Thu Apr 29 2021 Leigh Scott <leigh123linux(a)gmail.com> - 1.1.56.595-1
- Update to 1.1.56.595.g2d2da0de
diff --git a/spotify-client.spec.in b/spotify-client.spec.in
index 640a08d..65269ce 100644
--- a/spotify-client.spec.in
+++ b/spotify-client.spec.in
@@ -13,7 +13,7 @@
Name: spotify-client
-Version: 1.1.56.595
+Version: 1.1.67.586
Release: 1%{?dist}
Summary: Spotify music player native client
@@ -27,7 +27,7 @@ ExclusiveArch: %{ix86} x86_64
Source0: spotify-make-%{shortcommit}.tar.gz
%ifarch x86_64
-Source1: %{repo}/spotify-client_%{version}.g2d2da0de_amd64.deb
+Source1: %{repo}/spotify-client_%{version}.gbb5ef64e_amd64.deb
%global spotify_pkg %{SOURCE1}
%global req_64 ()(64bit)
%else
@@ -109,6 +109,9 @@ ln -s ../libcurl.so.4 libcurl-gnutls.so.4
%changelog
+* Thu Sep 02 2021 Sérgio Basto <sergio(a)serjux.com> - 1.1.67.586-1
+- Update to 1.1.67.586.gbb5ef64e
+
* Thu Apr 29 2021 Leigh Scott <leigh123linux(a)gmail.com> - 1.1.56.595-1
- Update to 1.1.56.595.g2d2da0de