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