Bug 133389
Summary: | RFE: add __soext macro | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Anders F Björklund <afb> |
Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> |
Status: | CLOSED UPSTREAM | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | nobody+pnasrat |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-10-25 22:14:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Anders F Björklund
2004-09-23 17:49:10 UTC
Something like this is needed, and not only for mac os x; both hpux and aix have other than *.so markers for shared libraries iirc. I'd probably go with the shorter %{so} if/when the time comes. Note: current restrictions on macro definitions prevent defining 2 character macros iirc, that is intentional ;-) I thought a cool feature would be to have a %{__sover} macro (or something), that would expand to versioned libraries ext: %ifnos darwin %define __sover %{__soext}.* %else %define __sover *.%{__soext} %endif But one still needs to change the spec files from the current *.so, to listing both libfoo.%{__soext} and libbar.%{__soext} Since otherwise the wild card matches the runtime libraries too, not only the developer library symlinks (like it does on Linux) This is added as the macro %__so since (at least) rpm-4.4.2. |