commit 65139d816909bcd6d0f79cce90d315fe4152984c
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Sat Aug 19 10:49:36 2017 +0200
Update to 2.1.1
.gitignore | 1 +
sources | 2 +-
xpra-codecs-freeworld.spec | 15 ++++++++++-----
3 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index aa0389d..7a1e72d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ xpra-0.16.3.tar.xz
/xpra-2.0.2.tar.xz
/xpra-2.0.3.tar.xz
/xpra-2.1.tar.xz
+/xpra-2.1.1.tar.xz
diff --git a/sources b/sources
index 16ae06b..09e2753 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bdf9e519ddaec8f1d1aa967b88a3678d xpra-2.1.tar.xz
+0c2a659ed20434695466ce5fe6fd6855 xpra-2.1.1.tar.xz
diff --git a/xpra-codecs-freeworld.spec b/xpra-codecs-freeworld.spec
index 2f2b23b..41362f9 100644
--- a/xpra-codecs-freeworld.spec
+++ b/xpra-codecs-freeworld.spec
@@ -18,7 +18,7 @@
%endif
Name: xpra-codecs-freeworld
-Version: 2.1
+Version: 2.1.1
Release: 1%{?dist}
Summary: Additional codecs for xpra using x264 and ffmpeg
@@ -33,7 +33,7 @@ BuildRequires: python2-devel pygobject2-devel pygtk2-devel
BuildRequires: libXtst-devel
BuildRequires: libxkbfile-devel, libvpx-devel
BuildRequires: xvidcore-devel, x265-devel
-BuildRequires: Cython
+BuildRequires: Cython, ack
BuildRequires: libwebp-devel
BuildRequires: libXdamage-devel
@@ -88,9 +88,11 @@ cp -pr \
libav_common enc_ffmpeg enc_x265 %{buildroot}%{python2_sitearch}/xpra/codecs/
popd
-#drop shebangs from python_sitearch
-find %{buildroot}%{python2_sitearch}/xpra -name '*.py' \
- -exec sed -i '1{\@^#!/usr/bin/env python@d}' {} \;
+#fix shebangs from python2_sitearch
+find %{buildroot}%{python2_sitearch}/xpra -name '*.py' | xargs sed -i
'1s|^#!/usr/bin/env python|#!%{__python2}|'
+for i in `ack -rl '^#!/.*python' %{buildroot}%{python2_sitearch}/xpra`; do
+ chmod 0755 $i
+done
#fix permissions on shared objects
find %{buildroot}%{python2_sitearch}/xpra -name '*.so' \
@@ -104,6 +106,9 @@ find %{buildroot}%{python2_sitearch}/xpra -name '*.so' \
%license COPYING
%changelog
+* Sat Aug 19 2017 Antonio Trande <sagitter(a)fedoraproject.org.com> - 2.1.1-1
+- Update to 2.1.1
+
* Wed Jul 26 2017 Antonio Trande <sagitter(a)fedoraproject.org.com> - 2.1-1
- Update to 2.1