commit 134bf543f3751bdbfc5ec428c6d655ef6de2abd0
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Fri Jan 10 20:37:47 2020 +0100
Release 3.0.5
.gitignore | 1 +
sources | 2 +-
xpra-codecs-freeworld.spec | 21 +++++++++++----------
3 files changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4cd1d67..ff053ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,3 +34,4 @@ xpra-0.16.3.tar.xz
/xpra-3.0.1.tar.xz
/xpra-3.0.2.tar.xz
/xpra-3.0.3.tar.xz
+/xpra-3.0.5.tar.xz
diff --git a/sources b/sources
index 9d55ecd..f6d5780 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xpra-3.0.3.tar.xz) =
0d13a2685b22e0c90450c0dddeef0663255c6d9e15e347e960c9ac7857cd2081b15d1fdc29b816b5cfdf1f000375be34510fe25be23af3f3b63a8a25d1b31003
+SHA512 (xpra-3.0.5.tar.xz) =
3dbc122ebc8c4aa67154acfe92668ac364d8469022b03e28946d763e4d396f8c707690b2a4dbf07b55545259a53b46c9dd94e6e40131289ccc3dce6a88107681
diff --git a/xpra-codecs-freeworld.spec b/xpra-codecs-freeworld.spec
index 01d0243..190ee25 100644
--- a/xpra-codecs-freeworld.spec
+++ b/xpra-codecs-freeworld.spec
@@ -5,7 +5,7 @@
# For debugging only
%bcond_with debug
%if !%{without debug}
-%define _with_debug --with-debug
+%global _with_debug --with-debug
%endif
#
@@ -13,20 +13,20 @@
# --with flag isn't specifed, and we need to have the --without
# specified option in that case.
%if %{without enc_x264}
-%define _with_enc_x264 --without-enc_x264
+%global _with_enc_x264 --without-enc_x264
%endif
%if %{without dec_avcodec2}
-%define _with_dec_avcodec2 --without-dec_avcodec2
+%global _with_dec_avcodec2 --without-dec_avcodec2
%endif
%if %{without csc_swscale}
-%define _with_csc_swscale --without-csc_swscale
+%global _with_csc_swscale --without-csc_swscale
%endif
Name: xpra-codecs-freeworld
-Version: 3.0.3
-Release: 2%{?dist}
+Version: 3.0.5
+Release: 1%{?dist}
Summary: Additional codecs for xpra using x264 and ffmpeg
License: GPLv2+
URL:
http://www.xpra.org/
@@ -75,8 +75,7 @@ sed -i 's|-mfpmath=387|-mfloat-abi=hard|' setup.py
%endif
%build
-CFLAGS="%{optflags}" %{__python3} setup.py build
--executable="%{__python3} -s" \
- %{?_with_enc_x264} \
+%py3_build -- %{?_with_enc_x264} \
%{?_with_dec_avcodec2} \
%{?_with_csc_swscale} \
%{?_with_debug} \
@@ -90,8 +89,7 @@ CFLAGS="%{optflags}" %{__python3} setup.py build
--executable="%{__python3} -s"
--without-html5_gzip --without-html5_brotli
%install
-%{__python3} setup.py install -O1 --skip-build --root destdir \
- --without-html5_gzip --without-html5_brotli
+%py3_install -- --root destdir --without-html5_gzip --without-html5_brotli
## We are interested to additional codecs only
mkdir -p %{buildroot}%{python3_sitearch}/xpra/codecs/
@@ -127,6 +125,9 @@ find %{buildroot}%{python3_sitearch}/xpra -name '*.so' \
%license COPYING
%changelog
+* Fri Jan 10 2020 Antonio Trande <sagitter(a)fedoraproject.org> - 3.0.5-1
+- Release 3.0.5
+
* Tue Dec 17 2019 Leigh Scott <leigh123linux(a)gmail.com> - 3.0.3-2
- Mass rebuild for x264