File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 2
2
%define osg_version 1.116
3
3
%define release_num 1
4
4
%define vtag %{osg_version }.igtf.%{igtf_version }-%{release_num }
5
+ %define enable_trusted_sha1_certs 0
5
6
6
7
Name: osg-ca-certs
7
8
Version: %{osg_version }
@@ -59,7 +60,14 @@ export CADIST=$PWD/certificates
59
60
export PKG_NAME=%{name }
60
61
61
62
./build-certificates-dir.sh
63
+
64
+ %if 0%{?enable_trusted_sha1_certs }
62
65
./add-trusted-sha1-certs.sh certificates trusted-cert java-cert
66
+ %else
67
+ # We still want to make the osg-ca-certs and osg-ca-certs-java RPMs
68
+ find certificates -name "*.pem" -exec cp '{}' '{}.java-cert' ';'
69
+ find certificates -name "*.pem" -exec mv '{}' '{}.trusted-cert' ';'
70
+ %endif
63
71
64
72
%install
65
73
mkdir -p $RPM_BUILD_ROOT /etc/grid-security/certificates
You can’t perform that action at this time.
0 commit comments