FS#15048 - [mcpp] license file - bad symlink

Attached to Project: Arch Linux
Opened by Alessandro Doro (adoroo) - Wednesday, 10 June 2009, 23:15 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 03 October 2009, 10:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The file /usr/share/licenses/mcpp/LICENSE is a symlink to
../doc/mcpp/LICENSE.
The right destination is /usr/share/doc/mcpp/LICENSE.

The error is in the last line of the PKGBUILD build() function:
ln -sf ../doc/${pkgname}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
It should be changed to:
ln -sf ../../doc/${pkgname}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"

Additional info:
* package version: mcpp 2.7.2-2

Steps to reproduce:
$ cat /usr/share/licenses/mcpp/LICENSE
cat: /usr/share/licenses/mcpp/LICENSE: No such file or directory
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Saturday, 03 October 2009, 10:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  in SVN

Loading...