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

file modified
+6 -2
@@ -1,7 +1,7 @@ 

  %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

  Name:           dot2tex

  Version:        2.8.7

- Release:        15%{?dist}

+ Release:        16%{?dist}

  Summary:        A Graphviz to LaTeX converter

  Group:          Applications/Publishing

  License:        MIT
@@ -9,7 +9,7 @@ 

  Source0:        http://dot2tex.googlecode.com/files/%{name}-%{version}.zip

  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

  BuildArch:      noarch

- BuildRequires:  python-devel

+ BuildRequires:  python2-devel

  Requires:       pydot, pyparsing, graphviz, tetex-preview

  

  %description
@@ -43,6 +43,10 @@ 

  

  

  %changelog

+ * Wed Jan 03 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.8.7-16

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.7-15

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

  

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.
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 churchyard

6 years ago