#1 Update Python 2 dependency declarations to new packaging standards
Merged 6 years ago by rdieter. Opened 6 years ago by ishcherb.
rpms/ ishcherb/kf5-ki18n pyambiguous  into  master

file modified
+7 -3
@@ -2,7 +2,7 @@ 

  

  Name:           kf5-%{framework}

  Version: 5.42.0

- Release: 1%{?dist}

+ Release: 2%{?dist}

  Summary:        KDE Frameworks 5 Tier 1 addon for localization

  

  License:        LGPLv2+
@@ -27,7 +27,7 @@ 

  BuildRequires:  kf5-rpm-macros >= %{version}

  BuildRequires:  perl-interpreter

  # FindPythonInterp.cmake , can find/use multiple versions, rely on the default for now

- BuildRequires:  python

+ BuildRequires:  python2

  BuildRequires:  qt5-qtbase-devel

  BuildRequires:  qt5-qtdeclarative-devel

  BuildRequires:  qt5-qtscript-devel
@@ -41,7 +41,7 @@ 

  Summary:        Development files for %{name}

  Requires:       %{name}%{?_isa} = %{version}-%{release}

  Requires:       gettext

- Requires:       python

+ Requires:       python2

  %description    devel

  The %{name}-devel package contains libraries and header files for

  developing applications that use %{name}.
@@ -98,6 +98,10 @@ 

  

  

  %changelog

+ * Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 5.42.0-2

+ - Update Python 2 dependency declarations to new packaging standards

+   (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)

+ 

  * Mon Jan 08 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.42.0-1

  - 5.42.0

  

This package uses names with ambiguous python- prefix in requirements.

According to Fedora Packaging guidelines for Python, packages must use names with either python2- or python3- prefix in requirements where available.
We are aiming to rename python-* dependencies to python2-*, so we can later switch the python-* namespace to Python 3.

This PR is part of Fedora's Switch to Python 3 effort.

Note that, although this PR was created automatically, we will respond to any comments or issues which you might find with it. We will keep the PR open for review for a week, and if there's no feedback we'll merge it. There is no need to build the package right after merge, this change can wait for the next package rebuild.
The local mock build passed, for Koji scratch build please see simple-koji-ci result.

This PR was opened automatically, for source code see here

Pull-Request has been merged by rdieter

6 years ago