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

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

 



On Mar 4, 2018 16:59, "Rex Dieter" <rdieter@xxxxxxxxxxxx> wrote:
Germano Massullo wrote:

> Package
> https://src.fedoraproject.org/rpms/firefox-pkcs11-loader
> (upstream) https://github.com/open-eid/firefox-pkcs11-loader
>
> contains file
> https://github.com/open-eid/firefox-pkcs11-loader/blob/master/onepinopenscpkcs11.json
> that has the tag
> "path": "onepin-opensc-pkcs11.so"
>
> This tag is wrong and for example on x86_64 CPU architecture systems, it
> must be
> "path": "/usr/lib64/pkcs11/onepin-opensc-pkcs11.so"
>
> How could I patch this file without having to hardcode the /usr/lib64
> path?

What's wrong with hard-coding?  (e.g. so it to be something like
%{_libdir}/pkcs11/onepin-opensc-pkcs11.so
)

-- Rex

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})?

Fabio

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@lists.fedoraproject.org

_______________________________________________
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