Mailinglist Archive: opensuse-buildservice (312 mails)

< Previous Next >
Re: [opensuse-buildservice] Need help to build package - ramlog
  • From: <doiggl@xxxxxxxxxxxxxxxxxx>
  • Date: Wed, 22 Jul 2009 17:11:07 +1000
  • Message-id: <95391932759391828628c7f0dd110c47@xxxxxxxxxxxxxxxxxxxxxxx>
I made another change, 2 lines added before the %install section in the

# %prep
# %setup -c %{name}

I Triggered a rebuild.

The result was this:
----- building ramlog.spec (user abuild)
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl
error: File /usr/src/packages/SOURCES/ramlog-1.1.0-6.1.tar.gz: No such file
or directory
System halted.

Question: How do I get the file(ramlog-1.1.0-6.1.tar.gz) unpacked in
correct location ?.

I have the file(ramlog-1.1.0-1.tar.gz) attached to the "Files Add" location
(visiable on the page in the files section)
I Must be missing something in the ramlog.spec
Any help most welcome.

Package details

Michal Seben wrote:
you must add %prep section with %setup macro
for extract tarball (e.g. before %install section):

%setup -q -c %{name}

-q -- less verbose
-c create directory, because your tarball doesn't looks health :(


To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups