barman: Fix typo
authorDevrim Gunduz <devrim@gunduz.org>
Mon, 19 May 2025 17:50:27 +0000 (20:50 +0300)
committerDevrim Gunduz <devrim@gunduz.org>
Mon, 19 May 2025 17:50:27 +0000 (20:50 +0300)
rpm/redhat/main/common/barman/main/barman.spec

index 413b649a9aa347e87b52ab1f6274418dc982f2cb..9c52796872ce5a80347139bd1fc2a4ceb2a8579e 100644 (file)
@@ -2,7 +2,7 @@
 %global        __ospython %{_bindir}/python3.13
 %global        python3_pkgversion 3.13
 %endif
-%if 0%{?rhel} && 0%{?rhel} < 10
+%if 0%{?rhel} && 0%{?rhel} <= 10
 %global        __ospython %{_bindir}/python3.12
 %global        python3_pkgversion 3.12
 %endif
@@ -61,7 +61,7 @@ Requires:     python3-argcomplete python3-dateutil
 Requires:      python3-psycopg2 >= 2.9.9 python3-six
 %endif
 
-%if 0%{?rhel} %% 0%{?rhel} >= 10
+%if 0%{?rhel} && 0%{?rhel} >= 10
 Requires:      python3-argcomplete python3-dateutil
 Requires:      python3-psycopg2 >= 2.9.9 python3-six
 %endif