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

file modified
+12 -8
@@ -18,7 +18,7 @@ 


  Name:					dmlite

  Version:				1.10.0

- Release:				1%{?dist}

+ Release:				2%{?dist}

  Summary:				Lcgdm grid data management and storage framework

  Group:					Applications/Internet

  License:				ASL 2.0
@@ -44,7 +44,7 @@ 

  BuildRequires:			doxygen

  BuildRequires:			graphviz

  BuildRequires:			openssl-devel

- BuildRequires:			python-devel

+ BuildRequires:			python2-devel

  BuildRequires:			zlib-devel


  # Plugins requires
@@ -271,9 +271,9 @@ 

  %package dpm-tester

  Summary:      The dpm tester tool

  Group:        Applications/Internet

- Requires:     python

+ Requires:     python2

  Requires:     python-argparse

- Requires:     gfal2-python

+ Requires:     python2-gfal2

  Requires:     gfal2-plugin-http

  Requires:     gfal2-plugin-xrootd

  Requires:     gfal2-plugin-srm
@@ -345,10 +345,10 @@ 

  Summary:			Shell environment for dmlite

  Group:				Applications/Internet


- Requires:			python-dateutil

- Requires:			python-dmlite = %{version}

- Requires:                       MySQL-python

- Requires:                       python-pycurl

+ Requires:			python2-dateutil

+ Requires:			python2-dmlite = %{version}

+ Requires:                       python2-mysql

+ Requires:                       python2-pycurl


  Obsoletes:			dmlite-shell < %{version}-%{release}

@@ -572,6 +572,10 @@ 

  %config(noreplace) %{_sysconfdir}/dmlite.conf.d/domeadapter.conf



+ * Mon Mar 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.10.0-2

+ - Update Python 2 dependency declarations to new packaging standards

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


  * Fri Feb 16 2018 Andrea Manzi <amanzi@cern.ch> - 1.10.0-1

  - new upstream release


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.

Note: please do not backport this to f26, f27 branches, as some of the modified requirements are not available there

This PR was opened automatically, for source code see here

rebased onto 0d89771

5 years ago

Pull-Request has been merged by ishcherb

5 years ago