Mailinglist Archive: opensuse-packaging (284 mails)

< Previous Next >
[opensuse-packaging] Re: newbie question on %prep
On Fri, 18 Feb 2011 16:13:16 -0500
Greg Freemyer <greg.freemyer@xxxxxxxxx> wrote:


I'm trying to package log2timeline and I'm pulling the *.tgz via a
service pull.

When the tgz file is expanded in %prep, it creates .../log2timeline.

But the %prep section automatically does a "cd log2timeline-0.51"
before I can have any control.

How can I rename the extracted directory or cause the cd to go into

fyi: I'm going to need to package some prereq perl modules for this to
work, so if you can point me at a good example of a perl module spec
file, that would be great too.

Use the -n option.

%setup -q -n %{name}

Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel
up 7 days 17:15, 2 users, load average: 0.01, 0.06, 0.07
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >