Do you know how many 64-bit architectures Fedora has?

Marcin Juszkiewicz mjuszkiewicz at redhat.com
Mon Aug 24 13:40:32 UTC 2015


W dniu 24.08.2015 o 15:31, Neal Gompa pisze:
>
> ​ Well, the problem is that ​the path to apt-methods is hardcoded in
> reprepro itself. Thankfully, it's in a #define, but I don't know of a
> good way to fix it beyond just replacing the #define for 64-bit systems.
> ​If someone can suggest a better way than how I'm doing it now, I'm all
> ears, because I hate this patch[0].

At end of %setup add:

sed -i -e 's+/usr/lib+%{_libdir}+g' main.c

and it will replace /usr/lib with proper value on both 32 and 64 bit.




More information about the devel mailing list