Mailinglist Archive: opensuse-buildservice (269 mails)

< Previous Next >
Re: [opensuse-buildservice] openSUSE:Factory: only warnings from rpm checks but a build error - why?
  • From: Marcus Hüwe <suse-tux@xxxxxx>
  • Date: Thu, 11 Sep 2008 21:39:10 +0200
  • Message-id: <20080911193910.GA3412@xxxxxxxxxxxxxxxxxxx>
On 2008-09-11 21:26:18 +0200, Martin Mohring wrote:
Adrian Schröter wrote:
On Donnerstag 11 September 2008 19:22:54 Martin Mohring wrote:


I have adapted the obs packages to the new rpm checking standards. As a
first starter, I did this for: openSUSE:Tools:Devel/obs-all-svn.
Now I only get warnings (as I see it - correct me if I am wrong), but
still a build error in the end. What did I do wrong?


Help would be appeciated !

Just package also the directories with

%dir /etc/lighttpd
%dir /etc/lighttpd/vhosts.d

Cleaned up all now, except:

%post -n obs-api
touch /srv/www/obs/{webclient,frontend}/log/development.log
chown lighttpd:lighttpd
%restart_on_update lighttpd

This gives the error:

... testing for pre/postinstall scripts that are not idempotent
chown: invalid user: `lighttpd:lighttpd'
postinstall script of obs-api- failed

How is that intended to be done?

Hmm you could ship the file with the package and then add something like
%attr(-, lighttpd, lighttpd)
(don't forget to add "PreReq: lighttpd" to the obs-api package)

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

< Previous Next >
Follow Ups