Mailinglist Archive: opensuse-packaging (284 mails)

< Previous Next >
Re: [opensuse-packaging] newbie question on %prep
On 02/18/2011 11:13 PM, Greg Freemyer wrote:

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

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.


Try these links: it gives a good basic rundown on
the common parts of the spec file and also gives all the interesting
things you can do with %setup. here you get all the rest of the documentation and
there's even reasonable info on macros but you have to browse for it.
Dave P
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >