Re: RPM packaging and ldconfig handling

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, 2018-01-31 at 14:53 +0100, Kamil Dudka wrote:
> On Wednesday, January 31, 2018 2:00:08 PM CET Florian Weimer wrote:
> > On 01/31/2018 01:54 PM, Kamil Dudka wrote:
> > 
> > > See that libcurl.so.4 now points to libcurl.so.4.5.0.minimal by mistake.
> > > 
> > > What is the recommended way to make libcurl{-minimal} build properly
> > > again?
> > 
> > I think in this situation, you need to disable this feature using:
> > 
> > %undefine __brp_ldconfig
> 
> Thank both of you for the suggestion!  It has indeed resolved the problem.
> 
> > Depending on whether you can include the appropriate symbolic links in 
> > the packages themselves,
> 
> Those symlinks are created by libtool, so I believe they are appropriate.
> 
> > you can or cannot remove the explicit ldconfig calls.
> 
> %undefine __brp_ldconfig removes the build-time ldconfig calls as I
> understand 
> it.  Are you saying that I can remove the following install-time ldconfig 
> calls, too?

If you don't simply merge master branch to others, then yes. Otherwise, you
should consider using macro we've created.

> %post -n libcurl -p /sbin/ldconfig
> 
> %postun -n libcurl -p /sbin/ldconfig
> 
> %post -n libcurl-minimal -p /sbin/ldconfig
> 
> %postun -n libcurl-minimal -p /sbin/ldconfig

%ldconfig_scriptlets -n libcurl
%ldconfig_scriptlets -n libcurl-minimal
- -- 
- -Igor Gnatenko
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAlpxyuQACgkQaVcUvRu8
X0yNURAAvoM8dUhwc4godVoc7O5y7t41JUijeDkhBLzSQSouUwAIefeaNWqO2Wr4
fy4TBY7A4piyKlwXdGsmjh7GGpwl3l623zoaqaugL/8hs8212JVelFQs7WhE6d2r
s6sMsy5Y9spue8FpT+rQ8Tn+Qaqyeo9ZCHfo5xUrvSj/YeEyWTssZa7XWjPNHb5h
Loy4n8kivD2tq+ycAIx+3w6+U1DsyRvhYUmQy/DwfegLy5TSuybf2ott42mZLy5k
WkEHZZ/gJnIMuW0Ra+E2unN7zpeKnC6Eg+ss0mhBb33C0WXLtZvWCHLxTrliheuy
Bn5+aGpf01zCev2r9/iK91/MR1ZtCxPMK7/P68qEQ4RoCrGUT3GtBBuSQ9MzFqge
If8lFHVYSfNKpdzSBLTlwB+2ONcStylA1jUg9MiSRN6anH5867pJvTF+4iGOWfn6
E2yf4IA57p//xGH5LIoXKMMCYWt5bcVnydxnznEHwGYBKAQgk9/4eBhkGSHZBJAQ
qAUC/V9SXuvFNW8c77sJKBlPXirFRIdBa/whHzyGKwBDAqCCW6h0r2yFQ84pmVYF
5xFZpkWdMOBbAa1Rz2NqojfoJqz8b4YGkPtYGve3TZ/nqoDr/wxpiKsobV4oOK63
aAgQh+bk1UD+9HqLOcxuPFRYnxWeTb9Vo0QBjk8IN7Fkt2A6goQ=
=1OCS
-----END PGP SIGNATURE-----
_______________________________________________
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