#2 Switch BuildRequires to python3
Closed a year ago by rmattes. Opened a year ago by pviktori.
rpms/ pviktori/openni-primesense py-br  into  master

file modified
+5 -2
@@ -13,7 +13,7 @@ 

  

  Name:           openni-primesense

  Version:        5.1.6.6

- Release:        15%{?gitrev}%{?dist}

+ Release:        16%{?gitrev}%{?dist}

  Summary:        PrimeSensor/Kinect Modules for OpenNI

  License:        ASL 2.0

  URL:            https://github.com/PrimeSense/Sensor
@@ -27,7 +27,7 @@ 

  ExclusiveArch:  %{ix86} x86_64 %{arm}

  

  BuildRequires:  gcc-c++

- BuildRequires:  openni-devel >= 1.5.0.0, python2

+ BuildRequires:  openni-devel >= 1.5.0.0, python3

  BuildRequires:  dos2unix

  BuildRequires:  libjpeg-devel

  Requires:       openni >= 1.5.0.0
@@ -115,6 +115,9 @@ 

  %{_bindir}/XnSensorServer

  

  %changelog

+ * Mon Feb 03 2020 Petr Viktorin <pviktori@redhat.com> - 5.1.6.6-16

+ - Switch BuildRequires to python3

+ 

  * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.6.6-15

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

openni-devel seems to build fine with python3 instead of python2.
Can the BuildRequires be switched?

Thanks for the PR. Grepping through the source reveals no .py files or matches to "python" outside of the README - it seems the python BR is not required at all. I've removed it altogether in rawhide per the BZ bug, so I'll close this PR without merging.

Pull-Request has been closed by rmattes

a year ago