mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-php/spdx-licenses: fix spdx-{exceptions,licenses}.json install location
spdx-{exceptions,licenses}.json files must be installed into Composer/res
or `composer validate` will throw the following error:
> [ErrorException]
> file_get_contents(/usr/share/php/Composer/res/spdx-licenses.json): failed to open stream: No such file or directory
Package-Manager: Portage-2.3.49, Repoman-2.3.10
This commit is contained in:
@@ -16,7 +16,10 @@ RDEPEND="
|
||||
dev-php/fedora-autoloader"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Composer/res"
|
||||
doins -r res/.
|
||||
|
||||
insinto "/usr/share/php/Composer/Spdx"
|
||||
doins -r src/. res "${FILESDIR}"/autoload.php
|
||||
doins -r src/. "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
||||
Reference in New Issue
Block a user