commit db018bc33d68601a8c9980901aa09a2c119ae7ff
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Jan 4 03:57:18 2019 +0000
Update smplayer to 18.10.0
.gitignore | 1 +
smplayer.spec | 7 +++++--
sources | 2 +-
update_smplayer.sh | 10 ++++++++--
4 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 122dd4f..a0d69af 100644
--- a/.gitignore
+++ b/.gitignore
@@ -48,3 +48,4 @@ smtube-16.3.0.tar.bz2
/smplayer-18.9.0.tar.bz2
/smtube-18.9.0.tar.bz2
/smplayer-18.10.0.tar.bz2
+/smtube-18.11.0.tar.bz2
diff --git a/smplayer.spec b/smplayer.spec
index 27ae9f2..215ab4b 100644
--- a/smplayer.spec
+++ b/smplayer.spec
@@ -1,9 +1,9 @@
Name: smplayer
Version: 18.10.0
-%global smtube_ver 18.9.0
+%global smtube_ver 18.11.0
%global smplayer_themes_ver 18.6.0
%global smplayer_skins_ver 15.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A graphical frontend for mplayer and mpv
Group: Applications/Multimedia
@@ -211,6 +211,9 @@ fi
%{_datadir}/smplayer/themes/
%changelog
+* Fri Jan 04 2019 Sérgio Basto <sergio(a)serjux.com> - 18.10.0-2
+- Update smtube to 18.11.0
+
* Sun Oct 21 2018 Sérgio Basto <sergio(a)serjux.com> - 18.10.0-1
- Update smplayer to 18.10.0
diff --git a/sources b/sources
index d495c71..6a34acb 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
2785988247e3ee9aa94ee2010473c08a smplayer-18.10.0.tar.bz2
-d22aad59dde6c00403ef9e357f6e00b3 smtube-18.9.0.tar.bz2
+ffedec06fc5895e42d0afb284d760e6c smtube-18.11.0.tar.bz2
8fe83cd59189291ca0d3beea1991e50b smplayer-themes-18.6.0.tar.bz2
57e165cf9a95808fafd179e5322b7f15 smplayer-skins-15.2.0.tar.bz2
diff --git a/update_smplayer.sh b/update_smplayer.sh
index 65e9343..fcdd1fc 100755
--- a/update_smplayer.sh
+++ b/update_smplayer.sh
@@ -1,5 +1,5 @@
version=18.10.0
-stube_ver=18.9.0
+stube_ver=18.11.0
themes_ver=18.6.0
skins_ver=15.2.0
@@ -9,7 +9,13 @@ sed -i "s|^%global smtube_ver .*|%global smtube_ver
$stube_ver|" smplayer.spec
sed -i "s|^%global smplayer_themes_ver .*|%global smplayer_themes_ver
$themes_ver|" smplayer.spec
sed -i "s|^%global smplayer_skins_ver .*|%global smplayer_skins_ver
$skins_ver|" smplayer.spec
-rpmdev-bumpspec -n $version -c "Update smplayer to $version" smplayer.spec
+if [[ -z $1 ]]; then
+MSG="Update smplayer to $version"
+else
+MSG=$1
+fi
+
+rpmdev-bumpspec -n $version -c "$MSG" smplayer.spec
spectool -g smplayer.spec
rfpkg new-sources ./smplayer-$version.tar.bz2 ./smtube-$stube_ver.tar.bz2
./smplayer-themes-$themes_ver.tar.bz2 ./smplayer-skins-$skins_ver.tar.bz2
rfpkg ci -c && git show