commit 09eb1dab7708522c7151e8f3b3bb53c0b1d33be7
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sat Jun 24 15:02:34 2017 +0100
do src.rpm just to work in the same arch that was build and just download one
source instead 2
check_new_version.py | 4 ++--
lpf-spotify-client.spec | 6 +++++-
spotify-client.spec.in | 10 +++++++---
3 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/check_new_version.py b/check_new_version.py
index d378405..2be018c 100755
--- a/check_new_version.py
+++ b/check_new_version.py
@@ -41,7 +41,7 @@ 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)
+ 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
@@ -54,7 +54,7 @@ if spec != spec3:
#pkgcmd = ['rpmdev-bumpspec -n %s -c "Update to %s%s"
spotify-client.spec.in' % (version64, version64, minor64[:4])]
if runme(pkgcmd, enviro):
print('error running runme')
- pkgcmd = ['rpmdev-bumpspec', '-n', version64, '-c',
'Update to %s%s' % (version64, minor64[:10]), 'lpf-spotify-client.spec']
+ pkgcmd = ['rpmdev-bumpspec', '-n', version64, '-c',
'Update to %s%s' % (version64, minor64[:10]), 'lpf-spotify-client.spec'] #
2>/dev/null
if runme(pkgcmd, enviro):
print('error running runme')
diff --git a/lpf-spotify-client.spec b/lpf-spotify-client.spec
index 804db63..5fe88ba 100644
--- a/lpf-spotify-client.spec
+++ b/lpf-spotify-client.spec
@@ -12,7 +12,7 @@
Name: lpf-spotify-client
# Upstream spotify version, verbatim.
Version: 1.0.57.474
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Spotify music player native client package bootstrap
License: MIT
@@ -79,6 +79,10 @@ desktop-file-validate
%{buildroot}%{_datadir}/applications/%{name}.desktop
%changelog
+* Sat Jun 24 2017 Sérgio Basto <sergio(a)serjux.com> - 1.0.57.474-2
+- do src.rpm just to work in the same arch that was build and just download one
+ source instead 2
+
* Sat Jun 24 2017 Sérgio Basto <sergio(a)serjux.com> - 1.0.57.474-1
- Update to 1.0.57.474.gca9c9538
diff --git a/spotify-client.spec.in b/spotify-client.spec.in
index 4525e55..16e35ae 100644
--- a/spotify-client.spec.in
+++ b/spotify-client.spec.in
@@ -12,7 +12,7 @@
Name: spotify-client
Version: 1.0.57.474
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Spotify music player native client
#
board=http://community.spotify.com/t5/Desktop-Linux
@@ -23,13 +23,13 @@ Group: Applications/Multimedia
ExclusiveArch: i386 i686 x86_64
Source0: spotify-make-%{shortcommit}.tar.gz
-Source1: %{repo}/spotify-client_%{version}.gca9c9538-30_amd64.deb
-Source2: %{repo}/spotify-client_%{version}.gca9c9538-30_i386.deb
%ifarch x86_64
+Source1: %{repo}/spotify-client_%{version}.gca9c9538-30_amd64.deb
%global spotify_pkg %{SOURCE1}
%global req_64 ()(64bit)
%else
+Source2: %{repo}/spotify-client_%{version}.gca9c9538-30_i386.deb
%global spotify_pkg %{SOURCE2}
%endif
@@ -116,6 +116,10 @@ fi
%changelog
+* Sat Jun 24 2017 Sérgio Basto <sergio(a)serjux.com> - 1.0.57.474-2
+- do src.rpm just to work in the same arch that was build and just download one
+ source instead 2
+
* Sat Jun 24 2017 Sérgio Basto <sergio(a)serjux.com> - 1.0.57.474-1
- Update to 1.0.57.474.gca9c9538