Hi,
I'm trying to learn about packaging,
Archie has been so kind to introduce to the argument,
many thanks Archie!I have already setup 2 build environments in vbox, for 32bit and 64bit, and have already re-packaged a couple of libraries in both environments.
Now I have a question, one specfile list:
BuildRequires: libldap2.4_2-devel
once I installed libldap2.4_2-devel in the 32 bit environment all is fine, the package does build correctly.
The same package, while trying to build it in 64 bit environment, complain about the missing library (libldap2.4_2-devel), even if the library is correctly installed.
I was able to build the package modifying the library name to:
BuildRequires: lib64ldap2.4_2-devel
Of course, this change will not be portable across the 32 and 64 bit environments.
What is needed to do here ? Is it an error in ldap2.4_2-devel library ?
Could be worked out with a conditional like this one:
%ifarch x86_64
BuildRequires: lib64ldap2.4_2-devel
%else
BuildRequires: libldap2.4_2-devel
%endif
Suggestions will be greatly appreciated. Thanks!
AS