Mailinglist Archive: opensuse-packaging (284 mails)

< Previous Next >
Re: [opensuse-packaging] newbie question on %prep
  • From: Greg Freemyer <greg.freemyer@xxxxxxxxx>
  • Date: Fri, 18 Feb 2011 17:21:38 -0500
  • Message-id: <AANLkTinANZKxB=4M-p7SM4CsBNKUP2viQGUy7_b0Qu05@mail.gmail.com>
Thanks All,

The nice thing about newbie questions is everyone knows the answer.

Greg

On Fri, Feb 18, 2011 at 4:29 PM, Nelson Marques <nmo.marques@xxxxxxxxx> wrote:
On Fri, Feb 18, 2011 at 9:13 PM, Greg Freemyer <greg.freemyer@xxxxxxxxx>
wrote:
All,

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.

try this:

%setup -q -n %{name}

instead of the default which should be: %setup -q.

NM


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

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.

Thanks
Greg
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx





--
nelson marques
nmo.marques@xxxxxxxxx




--
Greg Freemyer
Head of EDD Tape Extraction and Processing team
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
CNN/TruTV Aired Forensic Imaging Demo -
  
http://insession.blogs.cnn.com/2010/03/23/how-computer-evidence-gets-retrieved/

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >