posttrans silenced, the error is appearing only in state, when there is nothing to copy
This commit is contained in:
parent
fe7f929ba7
commit
759e70eff3
@ -5,7 +5,7 @@
|
|||||||
Name: copy-jdk-configs
|
Name: copy-jdk-configs
|
||||||
|
|
||||||
Version: 1.1
|
Version: 1.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: JDKs configuration files copier
|
Summary: JDKs configuration files copier
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -59,13 +59,16 @@ cp -a %{SOURCE0} $RPM_BUILD_ROOT/%{_libexecdir}/%{file}
|
|||||||
%posttrans
|
%posttrans
|
||||||
# remove file created in pretrans
|
# remove file created in pretrans
|
||||||
# echo "removing %{rpm_state_dir}/%{file}" || :
|
# echo "removing %{rpm_state_dir}/%{file}" || :
|
||||||
rm "%{rpm_state_dir}/%{file}" || :
|
rm "%{rpm_state_dir}/%{file}" 2> /dev/null || :
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_libexecdir}/%{file}
|
%{_libexecdir}/%{file}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 12 2016 Jiri Vanek <jvanek@redhat.com> - 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 <releng@fedoraproject.org> - 1.1-4
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user