From fe7f929ba768163c5a170b7cccef27d6ca8e43b2 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 18:07:16 +0000 Subject: [PATCH 1/3] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- copy-jdk-configs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/copy-jdk-configs.spec b/copy-jdk-configs.spec index 5e5af8a..376c897 100644 --- a/copy-jdk-configs.spec +++ b/copy-jdk-configs.spec @@ -5,7 +5,7 @@ Name: copy-jdk-configs Version: 1.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: JDKs configuration files copier License: BSD @@ -66,6 +66,9 @@ rm "%{rpm_state_dir}/%{file}" || : %license LICENSE %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Fri Jan 08 2016 Jiri Vanek - 1.1-3 - pretrasn lua call now done in pcall (protected call) - also posttrans now always return 0 From 759e70eff3fa9f75d10f10840fe39ea5d6f26a7c Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Tue, 12 Jul 2016 17:06:06 +0200 Subject: [PATCH 2/3] posttrans silenced, the error is appearing only in state, when there is nothing to copy --- copy-jdk-configs.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/copy-jdk-configs.spec b/copy-jdk-configs.spec index 376c897..30ac2fb 100644 --- a/copy-jdk-configs.spec +++ b/copy-jdk-configs.spec @@ -5,7 +5,7 @@ Name: copy-jdk-configs Version: 1.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: JDKs configuration files copier License: BSD @@ -59,13 +59,16 @@ cp -a %{SOURCE0} $RPM_BUILD_ROOT/%{_libexecdir}/%{file} %posttrans # remove file created in pretrans # echo "removing %{rpm_state_dir}/%{file}" || : -rm "%{rpm_state_dir}/%{file}" || : +rm "%{rpm_state_dir}/%{file}" 2> /dev/null || : %files %{_libexecdir}/%{file} %license LICENSE %changelog +* Tue Jul 12 2016 Jiri Vanek - 1.1-5 +- posttrans silenced, the error is appearing only in state, when there is nothing to copy + * Wed Feb 03 2016 Fedora Release Engineering - 1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From ca4cf1151e16e3d2ab8e74a49c541dad64ecc8f9 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Tue, 9 Aug 2016 19:39:52 +0200 Subject: [PATCH 3/3] Updated to 1.2 --- copy-jdk-configs.spec | 7 +++++-- copy_jdk_configs.lua | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/copy-jdk-configs.spec b/copy-jdk-configs.spec index 30ac2fb..3b73cee 100644 --- a/copy-jdk-configs.spec +++ b/copy-jdk-configs.spec @@ -4,8 +4,8 @@ Name: copy-jdk-configs -Version: 1.1 -Release: 5%{?dist} +Version: 1.2 +Release: 1%{?dist} Summary: JDKs configuration files copier License: BSD @@ -66,6 +66,9 @@ rm "%{rpm_state_dir}/%{file}" 2> /dev/null || : %license LICENSE %changelog +* Tue Aug 09 2016 Jiri Vanek - 1.2-1 +- updated to 1,3 which fixing nss minor issue + * Tue Jul 12 2016 Jiri Vanek - 1.1-5 - posttrans silenced, the error is appearing only in state, when there is nothing to copy diff --git a/copy_jdk_configs.lua b/copy_jdk_configs.lua index a8e236b..8e8c853 100755 --- a/copy_jdk_configs.lua +++ b/copy_jdk_configs.lua @@ -103,7 +103,7 @@ local caredFiles = {"jre/lib/calendars.properties", "jre/lib/security/java.policy", "jre/lib/security/java.security", "jre/lib/security/local_policy.jar", - "jre/lib/security/nss.cfg,", + "jre/lib/security/nss.cfg", "jre/lib/ext"} function splitToTable(source, pattern)