Updates for CentOS 8

This commit is contained in:
root
2019-09-29 13:58:38 +02:00
parent 5b0e3fef09
commit 9cbb068cea
7 changed files with 172 additions and 16 deletions

View File

@@ -6,7 +6,12 @@ License: Public Domain
Group: Applications/System
Source: https://pypi.python.org/packages/source/p/pydf/%{name}-%{version}.tar.gz
URL: https://pypi.python.org/pypi/pydf
Requires: python >= 2.3
%if 0%{?rhel} >= 8
Requires: python36
%else
Requires: python
%endif
BuildRequires: platform-python-devel
BuildArch: noarch
%description
@@ -15,6 +20,8 @@ just like df, but in colors. The output format is completely customizable.
%prep
%setup -q
pathfix.py -pni /usr/bin/python3 pydf
pathfix.py -pni /usr/bin/python3 pydfrc
%build