OBS cannot find source.tar.gz when compiling for SUSE

Hi, I have a strange problem: I’m trying to use OBS web interface to create rpms for SUSE and Fedora. While compiling for Fedora is successful, all my attempts to create rpms for SUSE failed with the following error:


I have the following modifications for qoobar.spec:
11c11
< Release: 1

> Release: 24.1

----- building qoobar.spec (user abuild)


  • exec rpmbuild -ba --define ‘_srcdefattr (-,root,root)’ --define ‘disturl obs://build.opensuse.org/home:alexnovichkov/openSUSE_11.3/339e6b74fe0d9d185c23e37f7e9e356d-qoobar’ /usr/src/packages/SOURCES/qoobar.spec
    error: File /home/abuild/rpmbuild/SOURCES/qoobar-1.3.2.tar.gz: No such file or directory
    96.349402] SysRq : Power Off
    99.157211] Power down.

So, as I can see here, OBS cannot find any sources. Has anybody any idea how to solve this?

The project page is https://build.opensuse.org/package/show?package=qoobar&project=home%3Aalexnovichkov

Hi
Seems to be finding it fine now? Your issue is with the desktop file;


%suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop

Change to


%suse_update_desktop_file -r -G %{name} %{name} Education Music

Packaging/SUSE Package Conventions/Desktop Menu - openSUSE

Thank you for your help. Rpm for SUSE 11.3 was built successfully.

Hi
Your welcome :slight_smile: