FS#59132 - [astyle] Provide symlinks for libastyle.so

Attached to Project: Community Packages
Opened by Earnestly (Earnest) - Sunday, 24 June 2018, 14:47 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 24 June 2018, 23:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Currently astyle only provides /usr/lib/libastyle.so.3.1.0 which causes ldconfig to generate an untracked /usr/lib/libastyle.so.3 file.

The solution would be to create symlinks for /usr/lib/libastyle.so, /usr/lib/libastyle.so.3, and /usr/lib/libastyle.so.3.1

The changes to the PKGBUILD might look like this:

install -Dm0644 bin/libastyle.so."$_pkgver" "$pkgdir"/usr/lib/libastyle.so."$_pkgver"

ln -sf libastyle.so."$_pkgver" "$pkgdir"/usr/lib/libastyle.so
ln -sf libastyle.so."$_pkgver" "$pkgdir"/usr/lib/libastyle.so."${_pkgver%.*}"
ln -sf libastyle.so."$_pkgver" "$pkgdir"/usr/lib/libastyle.so."${_pkgver%.*.*}"
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 24 June 2018, 23:57 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#57590 
Comment by Earnestly (Earnest) - Sunday, 24 June 2018, 14:48 GMT
Oh, I forgot to mention this will cause update conflicts which may or may not need a news item.

Loading...