@@ -7,14 +7,6 @@ URL: http://www.dogtagpki.org/
7
7
# The entire source code is GPLv2 except for 'pki-tps' which is LGPLv2
8
8
License: GPLv2 and LGPLv2
9
9
10
- %if 0%{?rhel } && 0%{?rhel } <= 7
11
- # no arch exclusion
12
- %else
13
- # Exclude 's390' and 's390x' architectures since
14
- # 'esc' does not exist on these two platforms
15
- ExcludeArch: s390 s390x
16
- %endif
17
-
18
10
Version: 10.6.8
19
11
Release: 1%{?_timestamp }%{?_commit_id }%{?dist }
20
12
# global _phase -a1
@@ -248,7 +240,7 @@ BuildRequires: resteasy-jackson2-provider >= 3.0.17-1
248
240
%endif
249
241
250
242
%if 0%{?with_python2 }
251
- %if 0%{?rhel } && 0%{? rhel } <= 7
243
+ %if 0%{?rhel }
252
244
# no pylint
253
245
%else
254
246
BuildRequires: pylint
@@ -263,7 +255,7 @@ BuildRequires: python2-pyflakes >= 1.2.3
263
255
%endif # with_python2
264
256
265
257
%if 0%{?with_python3 }
266
- %if 0%{?rhel } && 0%{? rhel } <= 7
258
+ %if 0%{?rhel }
267
259
# no pylint
268
260
%else
269
261
BuildRequires: python3-pylint
@@ -890,12 +882,6 @@ Requires: pki-console-theme >= %{version}
890
882
%description -n pki-console
891
883
The PKI Console is a Java application used to administer PKI server.
892
884
893
- For deployment purposes, a PKI Console requires ONE AND ONLY ONE of the
894
- following "Mutually-Exclusive" PKI Theme packages:
895
-
896
- * dogtag-pki-console-theme (Dogtag Certificate System deployments)
897
- * redhat-pki-console-theme (Red Hat Certificate System deployments)
898
-
899
885
%endif # with console
900
886
901
887
%if %{with theme }
@@ -965,6 +951,7 @@ cd build
965
951
%if 0%{?with_python3_default }
966
952
-DWITH_PYTHON3_DEFAULT:BOOL= ON \
967
953
%endif
954
+ -DPYTHON_EXECUTABLE= %{__python3} \
968
955
-DWITH_TEST:BOOL= %{?with_test:ON }%{!?with_test:OFF } \
969
956
%if ! %{with server } && ! %{with ca } && ! %{with kra } && ! %{with ocsp } && ! %{with tks } && ! %{with tps }
970
957
-DWITH_SERVER:BOOL= OFF \
1090
1077
rm -f %{buildroot }%{_datadir }/pki/server/lib/slf4j-jdk14.jar
1091
1078
%endif
1092
1079
1093
- %if 0%{?rhel } && 0%{? rhel } <= 7
1080
+ %if 0%{?rhel }
1094
1081
# no pylint
1095
1082
%else
1096
1083
0 commit comments