Re: Patching JSON tag without hardcoding library path (package firefox-pkcs11-loader)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il 04/03/2018 16:57, Rex Dieter ha scritto:
What's wrong with hard-coding?  (e.g. so it to be something like
%{_libdir}/pkcs11/onepin-opensc-pkcs11.so
)

The path
/usr/lib64/pkcs11/onepin-opensc-pkcs11.so
on a 32bit system would be
/usr/lib/pkcs11/onepin-opensc-pkcs11.so
then something like
%{_libdir}/pkcs11/onepin-opensc-pkcs11.so
would be much better

Il 04/03/2018 17:04, Fabio Valentini ha scritto:
What about just using sed at the beginning of %build (or where appropriate) to replace the wrong location with the right one (where rpm obviously knows the right %{_libdir})?

It was an idea I was thinking about. As soon as possible I will make some practise with sed
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux