Omaha #4072 Remove old python files before installing.
Former-commit-id: ba56c1d304d2f7ca03f26112ec2f8b25783ff8ca
This commit is contained in:
parent
f05248d198
commit
c740122b7c
1 changed files with 4 additions and 1 deletions
|
@ -54,6 +54,9 @@ cp -rv ${DYNAMICSERIALIZE_SRC_DIR}/* \
|
||||||
%{_build_root}/awips2/python/lib/python2.7/site-packages/dynamicserialize
|
%{_build_root}/awips2/python/lib/python2.7/site-packages/dynamicserialize
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
|
if [ -d /awips2/python/lib/python2.7/site-packages/dynamicserialize ]; then
|
||||||
|
rm -rf /awips2/python/lib/python2.7/site-packages/dynamicserialize
|
||||||
|
fi
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue