commit 7ffd61ced6a15f30db4b9faf574c572607fabd6d
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Tue Oct 9 13:53:11 2018 +0200
Update to 4.2.7
.gitignore | 1 +
sources | 2 +-
...d-4.2.1-service.patch => tvheadend-4.2.7-service.patch | 6 +++---
tvheadend.spec | 15 +++++++++------
4 files changed, 14 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6161bce..d5ca0df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/tvheadend-4.2.4.tar.gz
/tvheadend-4.2.5.tar.gz
/tvheadend-4.2.6.tar.gz
+/tvheadend-4.2.7.tar.gz
diff --git a/sources b/sources
index 5292193..6e6e9ed 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ed593fa2e4bab6130aaf20f5017d23fb tvheadend-4.2.6.tar.gz
+db025d4672253019c59cd4f60beccd06 tvheadend-4.2.7.tar.gz
diff --git a/tvheadend-4.2.1-service.patch b/tvheadend-4.2.7-service.patch
similarity index 53%
rename from tvheadend-4.2.1-service.patch
rename to tvheadend-4.2.7-service.patch
index e881a87..c5b9669 100644
--- a/tvheadend-4.2.1-service.patch
+++ b/tvheadend-4.2.7-service.patch
@@ -1,9 +1,9 @@
diff -up ./rpm/tvheadend.sysconfig.orig ./rpm/tvheadend.sysconfig
---- ./rpm/tvheadend.sysconfig.orig 2017-04-21 10:32:22.000000000 +0200
-+++ ./rpm/tvheadend.sysconfig 2017-04-23 13:24:58.581096686 +0200
+--- ./rpm/tvheadend.sysconfig.orig 2018-10-08 14:37:05.000000000 +0200
++++ ./rpm/tvheadend.sysconfig 2018-10-09 12:21:53.932489202 +0200
@@ -1,4 +1,4 @@
# Configuration file for the tvheadend service.
MALLOC_ARENA_MAX=4
--OPTIONS="-c /home/tvheadend/config -u tvheadend -g tvheadend -6 --http_port 9981
--htsp_port 9982"
+-OPTIONS="-c /var/lib/tvheadend/config -u tvheadend -g tvheadend -6 --http_port 9981
--htsp_port 9982"
+OPTIONS="-c /var/lib/tvheadend/config -u tvheadend -g video -6 -C --http_port 9981
--htsp_port 9982"
diff --git a/tvheadend.spec b/tvheadend.spec
index b408543..883812f 100644
--- a/tvheadend.spec
+++ b/tvheadend.spec
@@ -2,21 +2,19 @@
%global tvheadend_group video
Name: tvheadend
-Version: 4.2.6
+Version: 4.2.7
Release: 1%{?dist}
Summary: TV streaming server and digital video recorder
-Group: Applications/Multimedia
License: GPLv3+
URL:
https://tvheadend.org/
Source0:
https://github.com/tvheadend/%{name}/archive/v%{version}/%{name}-%{versio...
# Fix build with hdhomerun
Patch0: %{name}-4.2.1-hdhomerun.patch
# Fix systemd service and configuration:
-# - Fix daemon user path
# - Fix daemon group (use video to access DVB devices)
# - Add -C option to allow UI access without login at first run
-Patch1: %{name}-4.2.1-service.patch
+Patch1: %{name}-4.2.7-service.patch
# Use system queue.h header
Patch2: %{name}-4.0.9-use_system_queue.patch
# Fix system DTV scan tables path
@@ -44,7 +42,7 @@ BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(liburiparser)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(zlib)
-BuildRequires: python2
+BuildRequires: python3-devel
BuildRequires: systemd
Requires: bzip2
Requires: dtv-scan-tables
@@ -98,7 +96,7 @@ rm -r vendor/{dvb-api,include}/
--enable-dvbcsa \
--enable-hdhomerun_client \
--enable-libsystemd_daemon
-%make_build V=1
+%make_build V=1 PYTHON=%{__python3}
%install
@@ -150,6 +148,11 @@ exit 0
%changelog
+* Tue Oct 09 2018 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 4.2.7-1
+- Update to 4.2.7
+- Remove patches merges upstream
+- Use Python 3 for build
+
* Tue Mar 27 2018 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 4.2.6-1
- Update to 4.2.6