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

file modified
+6 -2

@@ -9,7 +9,7 @@ 

  Summary: SELinux library and simple utilities

  Name: libselinux

  Version: 2.7

- Release: 7%{?dist}

+ Release: 8%{?dist}

  License: Public Domain

  Group: System Environment/Libraries

  # https://github.com/SELinuxProject/selinux/wiki/Releases

@@ -22,7 +22,7 @@ 

  # $ VERSION=2.7 ./make-fedora-selinux-patch.sh libselinux

  # HEAD https://github.com/fedora-selinux/selinux/commit/4247fad665261169b430895f0ab10f56eb33dd10

  Patch1: libselinux-fedora.patch

- BuildRequires: python python-devel ruby-devel ruby libsepol-static >= %{libsepolver} swig pcre2-devel xz-devel

+ BuildRequires: python2 python2-devel ruby-devel ruby libsepol-static >= %{libsepolver} swig pcre2-devel xz-devel

  %if 0%{?with_python3}

  BuildRequires: python3 python3-devel

  %endif # if with_python3

@@ -252,6 +252,10 @@ 

  %{ruby_vendorarchdir}/selinux.so

  

  %changelog

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

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Fri Jan 05 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.7-7

  - F-28: rebuild for ruby25

  

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

2 years ago