import copy-jdk-configs-3.7-4.el8
This commit is contained in:
parent
26fc6956c9
commit
835564c3e5
11
SOURCES/addNssCfgFips.patch
Normal file
11
SOURCES/addNssCfgFips.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- copy_jdk_configs.lua
|
||||||
|
+++ copy_jdk_configs.lua
|
||||||
|
@@ -35,6 +35,7 @@
|
||||||
|
"jre/lib/ext",
|
||||||
|
"jre/lib/security/blacklist",
|
||||||
|
"jre/lib/security/javaws.policy",
|
||||||
|
+ "jre/lib/security/nss.fips.cfg",
|
||||||
|
"lib/security",
|
||||||
|
"conf",
|
||||||
|
"lib/ext"}
|
||||||
|
|
@ -8,7 +8,7 @@ Name: copy-jdk-configs
|
|||||||
# hash relevant to version tag
|
# hash relevant to version tag
|
||||||
%global htag 1d18ce8b5dec47a0468136ab6cdadfb93defe2c4
|
%global htag 1d18ce8b5dec47a0468136ab6cdadfb93defe2c4
|
||||||
Version: 3.7
|
Version: 3.7
|
||||||
Release: 1%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: JDKs configuration files copier
|
Summary: JDKs configuration files copier
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -17,6 +17,8 @@ Source0: %{URL}/blob/%{htag}/f/%{file}
|
|||||||
Source1: %{URL}/blob/%{htag}/f/LICENSE
|
Source1: %{URL}/blob/%{htag}/f/LICENSE
|
||||||
Source2: %{URL}/blob/%{htag}/f/%{fixFile}
|
Source2: %{URL}/blob/%{htag}/f/%{fixFile}
|
||||||
|
|
||||||
|
Patch0: addNssCfgFips.patch
|
||||||
|
|
||||||
# we need to duplicate msot of the percents in that script so they survive rpm expansion (even in that sed they have to be duplicated)
|
# we need to duplicate msot of the percents in that script so they survive rpm expansion (even in that sed they have to be duplicated)
|
||||||
%global pretrans_install %(cat %{SOURCE0} | sed s/%%/%%%%/g | sed s/\\^%%%%/^%%/g)
|
%global pretrans_install %(cat %{SOURCE0} | sed s/%%/%%%%/g | sed s/\\^%%%%/^%%/g)
|
||||||
|
|
||||||
@ -31,6 +33,8 @@ archiving. With script to fix incorrectly created rpmnew files
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
cp -a %{SOURCE1} .
|
cp -a %{SOURCE1} .
|
||||||
|
cp -a %{SOURCE0} .
|
||||||
|
%patch0 -p0
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -58,7 +62,7 @@ end
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_libexecdir}
|
mkdir -p $RPM_BUILD_ROOT/%{_libexecdir}
|
||||||
cp -a %{SOURCE0} $RPM_BUILD_ROOT/%{_libexecdir}/%{file}
|
cp -a %{file} $RPM_BUILD_ROOT/%{_libexecdir}/%{file}
|
||||||
chmod 644 $RPM_BUILD_ROOT/%{_libexecdir}/%{file}
|
chmod 644 $RPM_BUILD_ROOT/%{_libexecdir}/%{file}
|
||||||
cp -a %{SOURCE2} $RPM_BUILD_ROOT/%{_libexecdir}/%{fixFile}
|
cp -a %{SOURCE2} $RPM_BUILD_ROOT/%{_libexecdir}/%{fixFile}
|
||||||
|
|
||||||
@ -73,6 +77,20 @@ rm "%{rpm_state_dir}/%{file}" 2> /dev/null || :
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 09 2020 Jiri Vanek <jvanek@redhat.com> - 3.7-3
|
||||||
|
- added link to http://hydra.brq.redhat.com:8080/view/c~j~c/#projectstatus
|
||||||
|
- removed source check from test.yaml
|
||||||
|
- added gating.yaml
|
||||||
|
- Resolves: rhbz#1855374
|
||||||
|
|
||||||
|
* Thu Jul 09 2020 Jiri Vanek <jvanek@redhat.com> - 3.7-3
|
||||||
|
- added gatnig placeholder
|
||||||
|
- Resolves: rhbz#1855374
|
||||||
|
|
||||||
|
* Thu Jul 09 2020 Jiri Vanek <jvanek@redhat.com> - 3.7-2
|
||||||
|
- added nss.fips.cfg to cared files
|
||||||
|
- Resolves: rhbz#1855374
|
||||||
|
|
||||||
* Wed May 02 2018 Jiri Vanek <jvanek@redhat.com> - 3.7-1
|
* Wed May 02 2018 Jiri Vanek <jvanek@redhat.com> - 3.7-1
|
||||||
- udpated to latst relase
|
- udpated to latst relase
|
||||||
- configurable blacklist
|
- configurable blacklist
|
||||||
|
Loading…
Reference in New Issue
Block a user