Mailinglist Archive: opensuse-packaging (284 mails)

< Previous Next >
Re: [opensuse-packaging] RPM how to change a directory to a link
On Wed, Feb 09, 2011 at 05:01:07PM +0100, yersinia wrote:
On Wed, Feb 9, 2011 at 4:45 PM, Johannes Meixner <jsmeix@xxxxxxx> wrote:

Ugly and it does not work in any case.

What do you think of this toy spec http://rpm5.org/cvs/chngview?cn=14827
for changing a directory with a symbolic link ?

Does not work for me, as the uninstall of the old package removes
the files from the new package and you end up with an empty
/tmp/test-change-dir-to-symlink-directory dir.

(And "%pretrans -p /usr/bin/lua" should be "%pretrans -p <lua>" to
make it use rpm's internal lua)

Cheers,
Michael

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups