Projects
home:jejb1:PackMan
mythtv
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Difference Between Revision 2 and
Multimedia
/
mythtv
View file
mythtv.spec
Changed
@@ -38,6 +38,10 @@ %if 0%{?suse_version} <= 1500 %define mythnetvision 1 %endif +## +# FIXME: cannot build mythnetvision with python3 at the moment +## +%define mythnetvision 0 # Fix: suse-filelist-forbidden-sysconfig %{!?_fillupdir:%global _fillupdir /var/adm/fillup-templates} @@ -81,14 +85,13 @@ BuildRequires: ncurses-devel BuildRequires: perl-libwww-perl BuildRequires: pkgconfig -BuildRequires: python-curl -BuildRequires: python-devel -BuildRequires: python-future -BuildRequires: python-lxml -BuildRequires: python-mysql -BuildRequires: python-simplejson -BuildRequires: python-urlgrabber -BuildRequires: python-requests-cache +BuildRequires: python3-devel +BuildRequires: python3-future +BuildRequires: python3-lxml +BuildRequires: python3-mysql +BuildRequires: python3-simplejson +BuildRequires: python3-urlgrabber +BuildRequires: python3-requests-cache BuildRequires: update-desktop-files BuildRequires: yasm BuildRequires: perl(Config) @@ -181,9 +184,9 @@ %{?systemd_requires} # SECTION check: %if 0%{?mythnetvision} -BuildRequires: python-pycurl -BuildRequires: python-oauth -BuildRequires: python-xml +BuildRequires: python3-pycurl +#BuildRequires: python-oauth +BuildRequires: python3-xml %endif ExclusiveArch: %{ix86} x86_64 %ifarch %{ix86} x86_64 @@ -627,7 +630,7 @@ | awk '{print $2}' \ | while read _check_py_lib do -python <<EOF +python3 <<EOF from distutils.sysconfig import get_python_lib import sys sys.path.append(get_python_lib(prefix="${temp}%{_prefix}")) @@ -681,7 +684,7 @@ --disable-stripping \ --enable-symbol-visibility \ --enable-pic \ - --python=python2 \ + --python=python3 \ %make_jobs OPTFLAGS="%{optflags}" popd @@ -736,7 +739,7 @@ --enable-mythnews \ --enable-mythweather \ --enable-mythzoneminder \ - --python=python2 \ + --python=python3 \ ${mythnetvision:+--disable-mythnetvision} \ ${mythnetvision:---enable-mythnetvision} \ @@ -809,7 +812,7 @@ find %{buildroot} -type f -name \*.py | while read py; do byte=$(dirname $py) - %py_compile $byte + %py3_compile $byte done pushd %{buildroot}
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.