Mailinglist Archive: opensuse-buildservice (140 mails)

< Previous Next >
Re: [opensuse-buildservice] Problem with spec file
On Wed, Jul 25, 2012 at 12:24:25PM +0530, Saurabh Sood wrote:
I am trying to build a package for a cmake based project which
generates two executabes, one in /bin and the other in /sbin. I
created a desktop file for the one in /bin, but not for the other. I
am getting Build Errors, saying that 'Installed (but unpackaged) files
present. What does this error mean?

Build Log:
Spec File:

As you have changed the spec, it's hard to say

Anyway this is quite weird (despite the UsrMove).


All those files should appear in /usr/(s)bin/, so the cmake file does
not recognize the DCMAKE_INSTALL_PREFIX

So, please fix the cmake file to get whose files installed into /usr (or
%{_prefix}. Then following filelist will work for you

# this package owns the /usr/share/icons/hicolor/32x32/apps/, therefor
# you don't need to own it as well
BuildRequires: hicolor-icon-theme


Michal Vyskocil
< Previous Next >