Il 15/02/2015 22:01, Kevin Fenzi ha scritto:
On Fri, 13 Feb 2015 23:44:18 +0100
gil <puntogil@libero.it> wrote:

a fix for this problem is:
(see 
http://pkgs.fedoraproject.org/cgit/java-service-wrapper.git/tree/java-service-wrapper.spec 
)
Well, this doesn't seem like a fix, but more of a workaround and a bit
prone to failure if new arches are added, etc. 
yes, ... newer arches?
in the case of the library that i had to repackage (leveldbjni) only supports x86 and x86_64 arch es
as in most of the cases, and i do not have hardware/devices different from those required ...

      
# rpmbuild < 4.6 support
What happened in 4.6? 
i don't remember/know. i just copied the text as an example.

      
%if ! 0%{?__isa_bits}
%ifarch x86_64 ia64 ppc64 sparc64 s390x alpha ppc64le aarch64
%global __isa_bits 64
%else
%global __isa_bits 32
%endif
%endif
kevin
regards
gil