On Tue, Mar 06, 2018 at 03:29:58PM +0100, Germano Massullo wrote:
> During package firefox-pkcs11-loader build, the following two spec file
> lines
> 
> %dir %_prefix/%{_lib}/mozilla/pkcs11-modules/
> %_prefix/%{_lib}/mozilla/pkcs11-modules/onepinopenscpkcs11.json
> 
> and also this variant
> 
> %dir %{_libdir}/mozilla/pkcs11-modules/
> %{_libdir}/mozilla/pkcs11-modules/onepinopenscpkcs11.json
> 
> lead to errors
> 
> Directory not found: 
> /builddir/build/BUILDROOT/firefox-pkcs11-loader-3.13.0-2.fc27.x86_64/usr/lib64/mozilla/pkcs11-modules
> File not found: 
> /builddir/build/BUILDROOT/firefox-pkcs11-loader-3.13.0-2.fc27.x86_64/usr/lib64/mozilla/pkcs11-modules/onepinopenscpkcs11.json
> 
> (Copr build path URL [1] )
> 
> instead
> 
> %dir %_prefix/lib/mozilla/pkcs11-modules/
> %_prefix/lib/mozilla/pkcs11-modules/onepinopenscpkcs11.json
> 
> works fine
> (Copr build path URL [2] )
> 
> How can you explain this?

%{_lib} expands to 'lib64' on x86_64, and %{_libdir} thus expands
to "/usr/lib64", but your app is installing files into "/usr/lib"
instead.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to