Re: Problem changing symlink to directory with %pretrans scriptlet

2014-01-06 Thread Panu Matilainen
On 01/06/2014 11:47 PM, Bill Nottingham wrote: Richard Fearn (richardfe...@gmail.com) said: On 28 December 2013 16:43, Bruno Wolff III wrote: https://fedoraproject.org/wiki/Packaging:Guidelines#The_.25pretrans_scriptlet Notes that you need to use lua in pretrans scriptlets, not shell commands.

Re: Problem changing symlink to directory with %pretrans scriptlet

2014-01-06 Thread Bill Nottingham
Richard Fearn (richardfe...@gmail.com) said: > On 28 December 2013 16:43, Bruno Wolff III wrote: > > https://fedoraproject.org/wiki/Packaging:Guidelines#The_.25pretrans_scriptlet > > Notes that you need to use lua in pretrans scriptlets, not shell commands. > > Thanks. I've already seen that. It

Re: Problem changing symlink to directory with %pretrans scriptlet

2013-12-28 Thread Richard Fearn
[Sending to the right list this time] Hi Bruno, On 28 December 2013 16:43, Bruno Wolff III wrote: > https://fedoraproject.org/wiki/Packaging:Guidelines#The_.25pretrans_scriptlet > Notes that you need to use lua in pretrans scriptlets, not shell commands. Thanks. I've already seen that. It doesn

Re: Problem changing symlink to directory with %pretrans scriptlet

2013-12-28 Thread Bruno Wolff III
On Sat, Dec 28, 2013 at 13:23:35 +, Richard Fearn wrote: Hi all, I'm trying to change a symlink to a directory but it's not working. I've reduced the problem down to a simple test case. https://fedoraproject.org/wiki/Packaging:Guidelines#The_.25pretrans_scriptlet Notes that you need to

Problem changing symlink to directory with %pretrans scriptlet

2013-12-28 Thread Richard Fearn
Hi all, I'm trying to change a symlink to a directory but it's not working. I've reduced the problem down to a simple test case. This package: http://richardfearn.fedorapeople.org/test/1-1/test.spec creates the following: * a directory /usr/share/javadoc/test-1 (named after the package versi