Changes of Revision 11

tovid.changes Changed
x
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Sun Jun 12 13:54:47 UTC 2022 - Luigi Baldoni <aloisio@gmx.com>
4
+
5
+- Force python3 build
6
+
7
+-------------------------------------------------------------------
8
 Mon Jul 15 07:19:32 UTC 2019 - Dave Plater <davejplater@gmail.com>
9
 
10
 - Fix incorrect requirement for nonexistant /usr/bin/bash
11
tovid.spec Changed
62
 
1
@@ -1,7 +1,7 @@
2
 #
3
 # spec file for package tovid
4
 #
5
-# Copyright (c) 2015-2019 Luigi Baldoni <aloisio@gmx.com>
6
+# Copyright (c) 2015-2022 Luigi Baldoni <aloisio@gmx.com>
7
 # Copyright (c) 2005-2010 oc2pus
8
 #
9
 # All modifications and additions to the file contributed by third parties
10
@@ -26,8 +26,8 @@
11
 URL:            http://tovid.wikia.com/wiki/Tovid_Wiki
12
 Source:         https://github.com/tovid-suite/tovid/releases/download/%{version}/tovid-%{version}.tar.gz
13
 BuildRequires:  hicolor-icon-theme
14
-BuildRequires:  python-devel
15
-BuildRequires:  python-setuptools
16
+BuildRequires:  python3-devel
17
+BuildRequires:  python3-setuptools
18
 BuildRequires:  txt2tags
19
 BuildRequires:  update-desktop-files
20
 Requires:       /usr/bin/mkisofs
21
@@ -41,8 +41,8 @@
22
 Requires:       lsdvd
23
 Requires:       mjpegtools
24
 Requires:       normalize
25
-Requires:       python-base >= %{py_ver}
26
-Requires:       python-tk
27
+Requires:       python3-base >= %{py3_ver}
28
+Requires:       python3-tk
29
 Requires:       sox
30
 Requires:       tix
31
 Requires:       tk
32
@@ -65,15 +65,15 @@
33
  src/idvid src/makedvd src/makempg    \
34
  src/todisc src/todisc-fade-routine   \
35
  src/tovid-init.in
36
-sed -i 's|^#!.*|#!%{_bindir}/python|' \
37
+sed -i 's|^#!.*|#!%{_bindir}/python3|' \
38
  src/set_chapters src/titleset-wizard \
39
  src/todiscgui src/tovid-stats
40
 
41
 %build
42
-python setup.py build
43
+python3 setup.py build
44
 
45
 %install
46
-python setup.py install \
47
+python3 setup.py install \
48
     --prefix=%{_prefix} \
49
     --root=%{buildroot}
50
 
51
@@ -89,8 +89,8 @@
52
 %license COPYING
53
 %doc AUTHORS ChangeLog README
54
 %{_bindir}/tovid
55
-%{python_sitelib}/libtovid
56
-%{python_sitelib}/tovid-%{version}*
57
+%{python3_sitelib}/libtovid
58
+%{python3_sitelib}/tovid-%{version}*
59
 %{_prefix}/lib/tovid
60
 %{_datadir}/applications/tovidgui.desktop
61
 %{_datadir}/applications/titleset-wizard.desktop
62