#1 Allow python-mimeparse to build on rhel/epel 8
Merged 5 years ago by carlwgeorge. Opened 5 years ago by kanarip.
rpms/ kanarip/python-mimeparse master  into  master

Drop conditionals as python2-setuptools is available everywhere
Jeroen van Meeuwen (Kolab Systems) • 5 years ago  
Allow python-mimeparse to build on rhel/epel 8
Jeroen van Meeuwen (Kolab Systems) • 5 years ago  
file modified
+1 -1
@@ -18,7 +18,7 @@ 

  %package -n python2-%{srcname}

  Summary:        %{summary}

  BuildRequires:  python2-devel

- BuildRequires:  python%{?fedora:2}-setuptools

+ BuildRequires:  python2-setuptools

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

  

  

There's no package python-setuptools on EPEL 8+

At the time I wrote this line it was necessary, but now python2-setuptools works everywhere. As you noted EL8 has python2-setuptools. EL7's python-setuptools provides python2-setuptools. EPEL6 has a dummy python2-setuptools package that requires python-setuptools.

Let's just drop the conditional entirely and change it to plain BuildRequires: python2-setuptools.

1 new commit added

  • Drop conditionals as python2-setuptools is available everywhere
5 years ago

Pull-Request has been merged by carlwgeorge

5 years ago