make the package build on EPEL-6 and EPEL-7

This commit is contained in:
Kamil Dudka 2017-02-23 18:25:10 +01:00
parent c3dca65a4a
commit e39c25d146

View File

@ -1,4 +1,4 @@
%global with_python3 0%{?fedora} || 0%{?rhel} >= 7
%global with_python3 0%{?fedora} || 0%{?rhel} > 7
Summary: A utility for determining file types
Name: file
@ -54,6 +54,9 @@ necessary for developing programs using libmagic.
Summary: Python 2 bindings for the libmagic API
Group: Development/Libraries
BuildRequires: python2-devel
%if 0%{?rhel} && 0%{?rhel} <= 7
BuildRequires: python-setuptools
%endif
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
@ -186,6 +189,7 @@ cd %{py3dir}
%changelog
* Thu Feb 23 2017 Kamil Dudka <kdudka@redhat.com> - 5.30-5
- make the package build on EPEL-6 and EPEL-7
- drup undocumented override of the __libtoolize RPM macro
- drop undocumented non-upstream file-5.24-varied.patch
- drop undocumented non-upstream file-5.22-awk-perl.patch