#3 Update Python 2 dependency declarations to new packaging standards
Merged 6 years ago by plautrba. Opened 6 years ago by ishcherb.
rpms/ ishcherb/libsemanage pyambiguous  into  master

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

  Summary: SELinux binary policy manipulation library 

  Name: libsemanage

  Version: 2.7

- Release: 5%{?dist}

+ Release: 6%{?dist}

  License: LGPLv2+

  Group: System Environment/Libraries

  Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804/libsemanage-2.7.tar.gz
@@ -22,7 +22,7 @@ 

  BuildRequires: libselinux-devel >= %{libselinuxver} swig ustr-devel

  BuildRequires: libsepol-devel >= %{libsepolver} 

  BuildRequires: audit-libs-devel

- BuildRequires: python python-devel bison flex bzip2-devel

+ BuildRequires: python2 python2-devel bison flex bzip2-devel

  

  %if 0%{?with_python3}

  BuildRequires: python3
@@ -206,6 +206,10 @@ 

  %endif # if with_python3

  

  %changelog

+ * Tue Jan 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.7-6

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Wed Nov 22 2017 Petr Lautrbach <plautrba@redhat.com> - 2.7-5

  - free genhomedircon fallback user

  - Rebuild with libsepol-2.7-3 and libselinux-2.7-6

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 plautrba

6 years ago