Mailinglist Archive: opensuse-buildservice (158 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: Problem building a library package for OpenSUSE_11.2
  • From: Angelos Tzotsos <gcpp.kalxas@xxxxxxxxx>
  • Date: Fri, 03 Dec 2010 20:30:12 +0200
  • Message-id: <4CF93734.3080505@xxxxxxxxx>
Hi Malcolm,

I have 2 %files section, with files splitting in 2 rpm packages.
Should I add this to both?

Is this what you propose?

%if %suse_version <= 1120
%dir /usr/bin
%dir %{_libdir}/otb/lib*.so.*

%files devel
%if %suse_version <= 1120
%dir %{_includedir}/otb/
%dir %{_libdir}/otb/lib*.so
%dir %{_libdir}/otb/*.cmake

Thank you very much,

On 12/03/2010 07:50 PM, Malcolm wrote:
On Fri, 03 Dec 2010 19:36:56 +0200
Angelos Tzotsos<gcpp.kalxas@xxxxxxxxx> wrote:
OrfeoToolbox-3.6.0-74.1.i586.rpm: directories not owned by a 

 - /usr/lib/otb

OrfeoToolbox-devel-3.6.0-74.1.i586.rpm: directories not owned
by a package:

 - /usr/lib/otb

In the %files section add;

%dir /usr/lib
%dir /usr/lib/otb

I would put a suse version wrapper around it as well.

Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens

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

< Previous Next >
Follow Ups