Hello I made another change, 2 lines added before the %install section in the ramlog.spec # %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 obs://build.opensuse.org/home:doiggl/openSUSE_Factory/44950a54c52ea954cc9fbeb6079e5e33-ramlog' /usr/src/packages/SOURCES/ramlog.spec 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. Glenn Package details https://build.opensuse.org/package/view_file?file=ramlog.spec&package=ramlog&project=home%3Adoiggl
Michal Seben wrote:
you must add %prep section with %setup macro for extract tarball (e.g. before %install section):
%prep %setup -q -c %{name}
-q -- less verbose -c create directory, because your tarball doesn't looks health :(
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org