Fix possible cleanup warning during package upgrade

This commit is contained in:
Vitezslav Crhonek 2015-08-31 13:31:26 +02:00
parent 989aa91197
commit 8c9bc2bffb

View File

@ -8,7 +8,7 @@
Name: tog-pegasus
Version: %{major_ver}.1
Release: 29%{?dist}
Release: 30%{?dist}
Epoch: 2
Summary: OpenPegasus WBEM Services for Linux
@ -425,7 +425,7 @@ if [ $1 -gt 1 ]; then
if [ -d /var/lib/Pegasus/prev_repository ]; then
rm -rf /var/lib/Pegasus/prev_repository
fi;
mv /var/lib/Pegasus/repository /var/lib/Pegasus/prev_repository;
cp -r /var/lib/Pegasus/repository /var/lib/Pegasus/prev_repository;
fi
fi
:;
@ -517,6 +517,9 @@ fi
%changelog
* Mon Aug 31 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.14.1-30
- Fix possible cleanup warning during package upgrade
* Thu Aug 13 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.14.1-29
- Require restorecon because of %%post
Resolves: #1253127