#2 Add python_provide macro
Opened a month ago by sergiomb. Modified a month ago
rpms/ sergiomb/python3-dateutil epel7  into  epel7

file modified
+7 -1

@@ -1,9 +1,10 @@ 

+ %global srcname dateutil

  # This is an epel-only package.

  # We want python3*-dateutil in EPEL, but the original package is in RHEL.

  # This was forked from the latest python-dateutil in rawhide on 2016-07-27.

  Name:           python3-dateutil

  Version:        2.4.2

- Release:        5%{?dist}

+ Release:        6%{?dist}

  Epoch:          1

  Summary:        Powerful extensions to the standard datetime module

  

@@ -32,6 +33,8 @@ 

  Requires:       python%{python3_pkgversion}-six

  Requires:       tzdata

  

+ %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}

+ 

  %description -n python%{python3_pkgversion}-dateutil

  The dateutil module provides powerful extensions to the standard datetime

  module available in Python 2.3+.

@@ -90,6 +93,9 @@ 

  %{python3_other_sitelib}/*.egg-info

  

  %changelog

+ * Thu Jan 23 2020 Sérgio Basto <sergio@serjux.com> - 1:2.4.2-6

+ - Add python_provide macro

+ 

  * Thu Mar 07 2019 Troy Dawson <tdawson@redhat.com>

  - Rebuilt to change main python from 3.4 to 3.6

  

it makes yum install python3-dateutil works