Mailinglist Archive: opensuse-packaging (144 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Re: automake fails to build
- From: Dimstar / Dominique Leuenberger <dimstar@xxxxxxxxxxxx>
- Date: Fri, 04 Nov 2011 15:11:36 +0100
- Message-id: <1320415896.3494.19.camel@3120-3560.ams.tmf-group.com>
On Fri, 2011-11-04 at 15:08 +0100, Kim Leyendecker wrote:
You won't be allowed to package /usr/local in an rpm on OBS. /usr/local
is for 'local' installs.
You really should read the blog post I linked earlier. It's very basic
packaging quick start.
To answer the actual question: yes, you do have to specify what files
are part of a package in the %files section.
Or, as others pointed out: don't package anything that already exists.
Link it to your project.
Dominique
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx
It´s now building, but it still fails. Seems like the make worked out
well, but it can´t be packaged.
Have I to add the following to the %files section?
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/local/bin/aclocal
/usr/local/bin/aclocal-1.11
/usr/local/bin/automake
You won't be allowed to package /usr/local in an rpm on OBS. /usr/local
is for 'local' installs.
You really should read the blog post I linked earlier. It's very basic
packaging quick start.
To answer the actual question: yes, you do have to specify what files
are part of a package in the %files section.
Or, as others pointed out: don't package anything that already exists.
Link it to your project.
Dominique
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx
| < Previous | Next > |