Skip to content

Commit 7bfaf53

Browse files
committed
Fedora dependencies
- Try and fix dependencies for Fedora 30+
1 parent 741fcb5 commit 7bfaf53

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

rpm/dsc-datatool.spec

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ BuildArch: noarch
1414

1515
BuildRequires: python3-devel
1616
BuildRequires: python3-setuptools
17-
%if 0%{?suse_version} || 0%{?sle_version}
18-
BuildRequires: python3-maxminddb
19-
BuildRequires: python3-PyYAML
20-
%else
17+
%if 0%{?rhel}
2118
BuildRequires: python36-maxminddb
2219
BuildRequires: python36-PyYAML
20+
%else
21+
BuildRequires: python3-maxminddb
22+
BuildRequires: python3-PyYAML
2323
%endif
2424

25-
%if 0%{?suse_version} || 0%{?sle_version}
26-
Requires: python3-maxminddb
27-
Requires: python3-PyYAML
28-
%else
25+
%if 0%{?rhel}
2926
Requires: python36-maxminddb
3027
Requires: python36-PyYAML
28+
%else
29+
Requires: python3-maxminddb
30+
Requires: python3-PyYAML
3131
%endif
3232

3333
%package doc

0 commit comments

Comments
 (0)