commit ee5c8c6245d1ce5e30b559c04e449a9cad595857
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Aug 31 01:13:34 2018 +0100
Fix bug on 32 bits
check_new_version.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/check_new_version.py b/check_new_version.py
index 523b975..d702332 100755
--- a/check_new_version.py
+++ b/check_new_version.py
@@ -44,8 +44,8 @@ spec = open('spotify-client.spec.in').read()
#spec2 = re.sub(str_mx3, r'\1 %s' % version64, spec)
str_mx4 = re.compile('(Source1:.*?)[.].*')
spec3 = re.sub(str_mx4, r'\1%s' % minor64, spec)
-str_mx5 = re.compile('(Source2:.*?)[.].*')
-spec4 = re.sub(str_mx5, r'\1%s' % minor32, spec3)
+str_mx5 = re.compile('(Source2:.*?/).*')
+spec4 = re.sub(str_mx5, r'\1%s' % deb32, spec3)
if spec != spec3:
open('spotify-client.spec.in', 'w').write(spec4)
Show replies by date