diff --git a/copy-jdk-configs.spec b/copy-jdk-configs.spec index 9ceff81..955a42b 100644 --- a/copy-jdk-configs.spec +++ b/copy-jdk-configs.spec @@ -4,8 +4,8 @@ Name: copy-jdk-configs -Version: 1.1 -Release: 3%{?dist} +Version: 1.2 +Release: 1%{?dist} Summary: JDKs configuration files copier License: BSD @@ -61,13 +61,22 @@ cp %{SOURCE1} $RPM_BUILD_ROOT/%{_docdir}/%{project}/ %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} %doc %{_docdir}/%{project}/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 + +* 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 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)