Re: %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)

2018-03-06 Thread Germano Massullo
Thank you Björn you clarified all my remaining doubts! I will remove "BuildArch: noarch" because in my opinion is the best solution. Then I will resume the %{_libdir} macros ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an

Re: %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)

2018-03-06 Thread Björn Persson
Germano Massullo wrote: > # in noarch builds, %%{_libdir} is not defined in cmake, so the default > # installation would try installing for example > # file onepinopenscpkcs11.json > # into /usr/lib/mozilla/pkcs11-modules/onepinopenscpkcs11.json > # even if the system architecture is 64bit. This

Re: %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)

2018-03-06 Thread Germano Massullo
Il 06/03/2018 18:17, Germano Massullo ha scritto: > Thank you Dennis. Therefore I think that rpmlint messages should be > improved about noarch packages. > I started working on %{_lib} / %{_libdir} on firefox-pkcs11-loader spec > file because originally there were %files entries like >

Re: %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)

2018-03-06 Thread Germano Massullo
Il 06/03/2018 17:42, Dennis Gilmore ha scritto: > El mar, 06-03-2018 a las 17:20 +0100, Germano Massullo escribió: >> Il 06/03/2018 16:35, Dennis Gilmore ha scritto: >>> El mar, 06-03-2018 a las 15:29 +0100, Germano Massullo escribió: During package firefox-pkcs11-loader build, the following

Re: %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)

2018-03-06 Thread Dennis Gilmore
El mar, 06-03-2018 a las 17:20 +0100, Germano Massullo escribió: > Il 06/03/2018 16:35, Dennis Gilmore ha scritto: > > El mar, 06-03-2018 a las 15:29 +0100, Germano Massullo escribió: > > > During package firefox-pkcs11-loader build, the following two > > > spec > > > file > > > lines > > > > > >

Re: %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)

2018-03-06 Thread Germano Massullo
Il 06/03/2018 16:35, Dennis Gilmore ha scritto: > El mar, 06-03-2018 a las 15:29 +0100, Germano Massullo escribió: >> During package firefox-pkcs11-loader build, the following two spec >> file >> lines >> >> %dir %_prefix/%{_lib}/mozilla/pkcs11-modules/ >>

Re: %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)

2018-03-06 Thread Dennis Gilmore
El mar, 06-03-2018 a las 15:29 +0100, Germano Massullo escribió: > 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 > >

Re: %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)

2018-03-06 Thread Daniel P . Berrangé
On Tue, Mar 06, 2018 at 04:19:48PM +0100, Germano Massullo wrote: > Il 06/03/2018 15:50, Daniel P. Berrangé ha scritto: > > On Tue, Mar 06, 2018 at 03:46:38PM +0100, Germano Massullo wrote: > >> Il 06/03/2018 15:34, Daniel P. Berrangé ha scritto: > >>> %{_lib} expands to 'lib64' on x86_64, and

Re: %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)

2018-03-06 Thread Germano Massullo
Il 06/03/2018 16:19, Germano Massullo ha scritto: > Il 06/03/2018 15:50, Daniel P. Berrangé ha scritto: >> On Tue, Mar 06, 2018 at 03:46:38PM +0100, Germano Massullo wrote: >>> Il 06/03/2018 15:34, Daniel P. Berrangé ha scritto: %{_lib} expands to 'lib64' on x86_64, and %{_libdir} thus

Re: %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)

2018-03-06 Thread Germano Massullo
Il 06/03/2018 15:50, Daniel P. Berrangé ha scritto: > On Tue, Mar 06, 2018 at 03:46:38PM +0100, Germano Massullo wrote: >> Il 06/03/2018 15:34, Daniel P. Berrangé ha scritto: >>> %{_lib} expands to 'lib64' on x86_64, and %{_libdir} thus expands >>> to "/usr/lib64", but your app is installing files

Re: %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)

2018-03-06 Thread Daniel P . Berrangé
On Tue, Mar 06, 2018 at 03:46:38PM +0100, Germano Massullo wrote: > Il 06/03/2018 15:34, Daniel P. Berrangé ha scritto: > > %{_lib} expands to 'lib64' on x86_64, and %{_libdir} thus expands > > to "/usr/lib64", but your app is installing files into "/usr/lib" > > instead. > > I suspected this,

Re: %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)

2018-03-06 Thread Germano Massullo
Il 06/03/2018 15:34, Daniel P. Berrangé ha scritto: > %{_lib} expands to 'lib64' on x86_64, and %{_libdir} thus expands > to "/usr/lib64", but your app is installing files into "/usr/lib" > instead. I suspected this, but I found no hardcoded paths in

Re: %{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)

2018-03-06 Thread Daniel P . Berrangé
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 > >

%{_lib} leads to dir not found, whereas lib works fine (firefox-pkcs11-loader)

2018-03-06 Thread Germano Massullo
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/