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

file modified
+7 -3

@@ -2,7 +2,7 @@ 

  

  Name:       chm2pdf

  Version:    0.9.1

- Release:    21%{?dist}

+ Release:    22%{?dist}

  Summary:    A tool to convert CHM files to PDF files

  Group:      Applications/Publishing

  License:    GPLv2+

@@ -10,8 +10,8 @@ 

  Source:     http://chm2pdf.googlecode.com/files/chm2pdf-%{version}.tar.gz

  

  BuildArch:  noarch

- BuildRequires:  python-devel

- Requires:   python >= 2.5, python-chm, htmldoc

+ BuildRequires:  python2-devel

+ Requires:   python2 >= 2.5, python2-chm, htmldoc

  Patch1:     chm2pdf_insecure_tempdirs.patch

  # https://code.google.com/p/chm2pdf/issues/detail?id=3

  Patch2:     chm2pdf-0.9.1_space.patch

@@ -42,6 +42,10 @@ 

  

  

  %changelog

+ * Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.9.1-22

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-21

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_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. 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 branch(es) as some of the modified requirements are not available there

This PR was opened automatically, for source code see here

rebased onto f43997c

2 years ago

rebased onto f66a2c5

2 years ago

Pull-Request has been merged by ishcherb

2 years ago