#1674: Freeze Exception request: gallery2
Fedora Release Engineering
rel-eng at fedoraproject.org
Tue May 5 20:52:51 UTC 2009
#1674: Freeze Exception request: gallery2
------------------------------+---------------------------------------------
Reporter: limb | Owner: rel-eng at lists.fedoraproject.org
Type: task | Status: new
Milestone: Fedora 11 Final | Component: koji
Resolution: | Keywords:
------------------------------+---------------------------------------------
Comment (by rdieter):
OK, confirmed with folks that %pretrans is to be avoided.
A solution I came up with under some testing, was to use in %files
%ghost /path/to/symlink
and a scriptlet (something like)
%post
if [ -d /path/to/symlink -a ! -L /path/to/symlink ]; then
mv /path/to/symlink /path/to/symlink.rpmbak && \
ln -s /path/to/symlink-target /path/to/symlink && \
rm -rf /path/to/symlink.rpmbak
fi
I can help do a proof-of-concept implemation in gallery cvs if you want.
--
Ticket URL: <https://fedorahosted.org/rel-eng/ticket/1674#comment:10>
Fedora Release Engineering <http://fedorahosted.org/rel-eng>
Release Engineering for the Fedora Project
More information about the rel-eng
mailing list