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? %files %defattr(-,root,root,-) %if %suse_version <= 1120 %dir /usr/bin %dir %{_libdir}/otb/lib*.so.* %else %{_bindir}/* %{_libdir}/otb/lib*.so.* %endif %files devel %defattr(-,root,root,-) %if %suse_version <= 1120 %dir %{_includedir}/otb/ %dir %{_libdir}/otb/lib*.so %dir %{_libdir}/otb/*.cmake %else %{_includedir}/otb/ %{_libdir}/otb/lib*.so %{_libdir}/otb/*.cmake %endif Thank you very much, Angelos On 12/03/2010 07:50 PM, Malcolm wrote:
On Fri, 03 Dec 2010 19:36:56 +0200 Angelos Tzotsos<gcpp.kalxas@gmail.com> wrote:
OrfeoToolbox-3.6.0-74.1.i586.rpm: directories not owned by a package:
- /usr/lib/otb
OrfeoToolbox-devel-3.6.0-74.1.i586.rpm: directories not owned by a package:
- /usr/lib/otb
Hi 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 http://users.ntua.gr/tzotsos -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org