diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-07-17 08:28:42 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-07-17 08:28:42 +0200 |
commit | 56a3b322f5d60945d2f11ec24d4169922a579f4a (patch) | |
tree | 0e210183d862d0ec00a098966ff735af0162259a /php-composer-spdx-licenses-rpm.patch |
php-composer-spdx-licenses: new package
Diffstat (limited to 'php-composer-spdx-licenses-rpm.patch')
-rw-r--r-- | php-composer-spdx-licenses-rpm.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/php-composer-spdx-licenses-rpm.patch b/php-composer-spdx-licenses-rpm.patch new file mode 100644 index 0000000..08bc3f6 --- /dev/null +++ b/php-composer-spdx-licenses-rpm.patch @@ -0,0 +1,12 @@ +diff -up src/SpdxLicenses.php.rpm src/SpdxLicenses.php +--- src/SpdxLicenses.php.rpm 2015-07-17 07:41:29.007308656 +0200 ++++ src/SpdxLicenses.php 2015-07-17 07:43:40.425973108 +0200 +@@ -178,7 +178,7 @@ class SpdxLicenses + */ + public static function getResourcesDir() + { +- return dirname(__DIR__) . '/res'; ++ return (getenv('BUILDROOT_SPDX')?:'') . '/usr/share/php-composer-spdx-licenses'; + } + + private function loadLicenses() |