Michael,

i'm sorry but this is not a right solution, because nobody except you, does
not have nv92 or higher at this time. These patches will break KBE on S10
and Nevada lower then 92.
I would not generate locales in KBE (or CBE).

Solution is easy ... --disable-nls for configure and in install section add
rm -rf $RPM_BUILD_ROOT/%{_datadir}/locale.

Luc

On Thu, Jul 3, 2008 at 11:28 PM, Michael Schuster <Michael.Schuster at sun.com>
wrote:

> mind you, I still don't succeed 100%, but I think I know where to look.
> Will continue tonight.
>
> michael
> --
> Michael Schuster        http://blogs.sun.com/recursion
> Recursion, n.: see 'Recursion'
>
> Index: libiconv.spec
> ===================================================================
> --- libiconv.spec       (revision 2246)
> +++ libiconv.spec       (working copy)
> @@ -45,6 +45,8 @@
>  rm ${RPM_BUILD_ROOT}%{_libdir}/lib*.la
>  rm $RPM_BUILD_ROOT%{_libdir}/charset.alias
>  touch $RPM_BUILD_ROOT%{_datadir}/libiconv_with_gettext
> +mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale
> +
>  %clean
>  rm -rf $RPM_BUILD_ROOT
>
> @@ -58,6 +60,7 @@
>  %dir %attr (0755, root, other) %{_datadir}/doc
>  %{_datadir}/libiconv_with_gettext
>  %{_datadir}/doc/*
> +%{_datadir}/locale/*
>  %dir %attr (0755, root, bin) %{_mandir}
>  %dir %attr (0755, root, bin) %{_mandir}/man1
>  %{_mandir}/man1/iconv.1
> Index: diff.spec
> ===================================================================
> --- diff.spec   (revision 2246)
> +++ diff.spec   (working copy)
> @@ -59,6 +59,7 @@
>     /usr/bin/ginstall -m 0755 %SOURCE2 $RPM_BUILD_ROOT%{_bindir}/gendiff
>  fi
>  rm -rf $RPM_BUILD_ROOT%{_infodir}
> +rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
>
>  %clean
>  rm -rf $RPM_BUILD_ROOT
> Index: bison.spec
> ===================================================================
> --- bison.spec  (revision 2246)
> +++ bison.spec  (working copy)
> @@ -52,6 +52,7 @@
>  rm -rf $RPM_BUILD_ROOT%{_libdir}
>  rm -rf $RPM_BUILD_ROOT%{_infodir}
>  rm -rf $RPM_BUILD_ROOT%{_datadir}/aclocal
> +rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
>
>  %clean
>  rm -rf $RPM_BUILD_ROOT
> Index: subversion.spec
> ===================================================================
> --- subversion.spec     (revision 2246)
> +++ subversion.spec     (working copy)
> @@ -92,7 +92,6 @@
>  %{_datadir}/apr
>  %dir %attr (0755, root, other) %{_datadir}/doc
>  %{_datadir}/doc/*
> -%attr (-, root, other) %{_datadir}/locale
>  %dir %attr (0755, root, bin) %{_mandir}
>  %dir %attr (0755, root, bin) %{_mandir}/man1
>  %{_mandir}/man1/*
>
>


-- 
Lukas 'Luc' Oboril
IRC nickname: luc^ at freenode


When dealing with people, let us remember we are not dealing with creatures
of logic. We are dealing with creatures of emotions, creatures bristling
with prejudices and motivated by pride and vanity. Dale Carnegie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/kde-discuss/attachments/20080703/6af056a3/attachment.html>

Reply via email to