[paraview/f14/master] - Remove any previous %{_libdir}/paraview/paraview directories which prevent updates
Orion Poplawski
orion at fedoraproject.org
Thu Oct 7 21:39:36 UTC 2010
commit 5d2dfce637534cba9a6a384496b579b2b84b3118
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Thu Oct 7 15:39:43 2010 -0600
- Remove any previous %{_libdir}/paraview/paraview directories
which prevent updates
paraview.spec | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/paraview.spec b/paraview.spec
index b0bb9ef..730e0ae 100644
--- a/paraview.spec
+++ b/paraview.spec
@@ -9,7 +9,7 @@
Name: paraview
Version: %{pv_majmin}.%{pv_patch}
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Parallel visualization application
Group: Applications/Engineering
@@ -351,6 +351,14 @@ update-desktop-database &> /dev/null ||:
update-desktop-database &> /dev/null ||:
+#Handle changing from directory to file
+%pre
+if [ -d %{_libdir}/paraview/paraview ]
+then
+ rm -r %{_libdir}/paraview/paraview
+fi
+
+
%post data
update-mime-database %{_datadir}/mime &> /dev/null || :
@@ -407,6 +415,10 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%changelog
+* Thu Oct 7 2010 Orion Poplawski <orion at cora.nwra.com> - 3.8.1-3
+- Remove any previous %%{_libdir}/paraview/paraview directories
+ which prevent updates
+
* Tue Oct 5 2010 Orion Poplawski <orion at cora.nwra.com> - 3.8.1-2
- Disable install of third party libraries
More information about the scm-commits
mailing list