Author: sergiomb
Update of /cvs/free/rpms/smplayer/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv18376
Modified Files:
smplayer.spec
Added Files:
smplayer-14.9.0-get_svn_revision.patch
Log Message:
* Mon Jun 08 2015 Sérgio Basto <sergio(a)serjux.com> - 14.9.0.6966-3
- Added smplayer-14.9.0-get_svn_revision.patch, I think is better have a
hardcore version than (svn r0UNKNOWN)
smplayer-14.9.0-get_svn_revision.patch:
get_svn_revision.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE smplayer-14.9.0-get_svn_revision.patch ---
I think is better have a hardcore version than (svn r0UNKNOWN)
--- ./get_svn_revision.sh.orig 2015-06-08 23:16:42.600723909 +0100
+++ ./get_svn_revision.sh 2015-06-08 23:17:26.094211048 +0100
@@ -10,7 +10,7 @@ svn_revision=`LC_ALL=C svn info 2> /dev/
test $svn_revision || svn_revision=`cd "$1" && LC_ALL=C svn info 2>
/dev/null | grep Revision | cut -d' ' -f2`
test $svn_revision || svn_revision=`cd "$1" && grep revision
.svn/entries 2>/dev/null | cut -d '"' -f2`
test $svn_revision || svn_revision=`cd "$1" && sed -n -e
'/^dir$/{n;p;q}' .svn/entries 2>/dev/null`
-test $svn_revision || svn_revision=0UNKNOWN
+test $svn_revision || svn_revision=6966
if test "$2"; then
extra="-$2"
Index: smplayer.spec
===================================================================
RCS file: /cvs/free/rpms/smplayer/devel/smplayer.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- smplayer.spec 7 Jun 2015 03:01:07 -0000 1.42
+++ smplayer.spec 8 Jun 2015 22:48:44 -0000 1.43
@@ -2,7 +2,7 @@
Name: smplayer
Version: 14.9.0.6966
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A graphical frontend for mplayer
Group: Applications/Multimedia
@@ -19,6 +19,7 @@
Patch0: smplayer-0.8.3-desktop-files.patch
Patch2: smplayer-14.9.0.6966-system-qtsingleapplication.patch
Patch3: smtube-15.5.10-system-qtsingleapplication.patch
+Patch4: smplayer-14.9.0-get_svn_revision.patch
BuildRequires: desktop-file-utils
BuildRequires: qt4-devel
@@ -52,6 +53,7 @@
pushd smtube-%{smtube_ver}
%patch3 -p1 -b .qtsingleapplication
popd
+%patch4 -p1 -b .svn_revision
# correction for wrong-file-end-of-line-encoding
%{__sed} -i 's/\r//' *.txt
@@ -131,6 +133,10 @@
%{_datadir}/kde4/services/ServiceMenus/smplayer_enqueue.desktop
%changelog
+* Mon Jun 08 2015 Sérgio Basto <sergio(a)serjux.com> - 14.9.0.6966-3
+- Added smplayer-14.9.0-get_svn_revision.patch, I think is better have a
+ hardcore version than (svn r0UNKNOWN)
+
* Sun Jun 07 2015 Sérgio Basto <sergio(a)serjux.com> - 14.9.0.6966-2
- Update to smtube-15.5.17
Show replies by date