Skip to content

Commit 0b0905c

Browse files
xsuchypraiskup
authored andcommitted
clean up of macros referencing rhel7
1 parent 8001a15 commit 0b0905c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mock/mock.spec

+2-4
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,11 @@ Conflicts: mock-core-configs < 33
3333
# Requires 'mock-core-configs', or replacement (GitHub PR#544).
3434
Requires: mock-configs
3535
Requires: %{name}-filesystem = %{version}-%{release}
36-
%if 0%{?fedora} || 0%{?rhel} >= 8
3736
# This is still preferred package providing 'mock-configs'
3837
Suggests: mock-core-configs
39-
%endif
4038

4139
Requires: systemd
42-
%if 0%{?fedora} || 0%{?rhel} >= 8
40+
%if 0%{?fedora} || 0%{?rhel}
4341
Requires: systemd-container
4442
%endif
4543
Requires: coreutils
@@ -93,7 +91,7 @@ BuildRequires: python%{python3_pkgversion}-requests
9391
BuildRequires: python%{python3_pkgversion}-templated-dictionary
9492
%endif
9593

96-
%if 0%{?fedora} || 0%{?rhel} >= 8
94+
%if 0%{?fedora} || 0%{?rhel}
9795
BuildRequires: perl-interpreter
9896
%else
9997
BuildRequires: perl

0 commit comments

Comments
 (0)