Mailinglist Archive: opensuse-buildservice (312 mails)

< Previous Next >
Re: [opensuse-buildservice] Need help to build package - ramlog
  • From: Michal Seben <mseben@xxxxxxx>
  • Date: Wed, 22 Jul 2009 10:11:57 +0200
  • Message-id: <4A66C9CD.4060900@xxxxxxx>
doiggl@xxxxxxxxxxxxxxxxxx wrote:
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 :(


problem is that you mixed %release tag from spec, with your tarball name
and %release tag is managed (incremented) by obs, so you should not use
this tag in your package name

I created submitrequest 15094, also with other changes to see diff use :
#osc request show --diff 15094
for accept use
#osc request accept 15094
if you don't won't accept them use
#osc request decline 15094

check also warnings after build and for post/pre
install macros
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups