#561 rename rpm-python to python*-rpm for EOL of F24
Merged 6 years ago by mikem. Opened 6 years ago by julian8628.
julian8628/koji rpm-python  into  master

file modified
+8
@@ -64,7 +64,11 @@ 

  %{?python_provide:%python_provide python2-%{name}}

  BuildRequires: python-devel

  Requires: python-krbV >= 1.0.13

+ %if 0%{?fedora} >= 25 || 0%{?redhat} >= 8

This is supposed to be %rhel, not %redhat.

+ Requires: python2-rpm

+ %else

  Requires: rpm-python

+ %endif

  Requires: pyOpenSSL

  Requires: python-pycurl

  Requires: python-requests
@@ -80,7 +84,11 @@ 

  Summary: Build system tools python library

  %{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}

  BuildRequires: python%{python3_pkgversion}-devel

+ %if 0%{?fedora} >= 25 || 0%{?redhat} >= 8

This is supposed to be %rhel, not %redhat.

+ Requires: python%{python3_pkgversion}-rpm

+ %else

  Requires: rpm-python%{python3_pkgversion}

+ %endif

  Requires: python%{python3_pkgversion}-pycurl

  Requires: python%{python3_pkgversion}-pyOpenSSL

  Requires: python%{python3_pkgversion}-requests

Commit 1560f93 fixes this pull-request

Pull-Request has been merged by mikem@redhat.com

6 years ago

This is supposed to be %rhel, not %redhat.

This is supposed to be %rhel, not %redhat.

Ah, Neal is correct about the macro names, but we have the same mistake elsewhere in the spec.

Metadata