On 10/07/2010 02:52 PM, Orion Poplawski wrote:
In paraview 3.8.0, %{_libdir}/paraview/paraview is a directory:
ls -l /usr/lib64/paraview/paraview
total 660
-rw-r--r--. 1 root root 4213 Aug 2 15:35 benchmark.py
-rw-r--r--. 2 root root 4202 Aug 2 16:20 benchmark.pyc
-rw-r--r--. 2 root root 4202 Aug 2 16:20 benchmark.pyo
....
In paraview 3.8.1, it is a file.
It fails to upgrade with:
Error unpacking rpm package paraview-3.8.1-2.fc14.x86_64
error: unpacking of archive failed on file /usr/lib64/paraview/paraview: cpio:
rename
paraview-3.8.0-4.fc14.x86_64 was supposed to be removed but is not!
Anything I can do to fix?
Would this be acceptable?
#Handle changing from directory to file
%triggerin -- paraview <= 3.8.0
rm -rf %{_libdir}/paraview/paraview
Is there a place in the wiki where possible packaging tips like this are kept?
Should this be on such a page?
https://fedoraproject.org/wiki/Packaging_tricks ?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301
http://www.cora.nwra.com