summaryrefslogtreecommitdiffstats
path: root/php-composer-spdx-licenses-rpm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-composer-spdx-licenses-rpm.patch')
-rw-r--r--php-composer-spdx-licenses-rpm.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/php-composer-spdx-licenses-rpm.patch b/php-composer-spdx-licenses-rpm.patch
index 3d8227e..f7b3f7a 100644
--- a/php-composer-spdx-licenses-rpm.patch
+++ b/php-composer-spdx-licenses-rpm.patch
@@ -1,7 +1,7 @@
-diff -up src/SpdxLicenses.php.rpm src/SpdxLicenses.php
---- src/SpdxLicenses.php.rpm 2015-09-08 09:17:14.000000000 +0200
-+++ src/SpdxLicenses.php 2015-09-08 09:19:33.416111340 +0200
-@@ -178,7 +178,7 @@ class SpdxLicenses
+diff -up ./src/SpdxLicenses.php.rpm ./src/SpdxLicenses.php
+--- ./src/SpdxLicenses.php.rpm 2021-11-18 13:15:53.000000000 +0100
++++ ./src/SpdxLicenses.php 2021-11-18 13:22:10.402686746 +0100
+@@ -213,7 +213,7 @@ class SpdxLicenses
*/
public static function getResourcesDir()
{
@@ -9,11 +9,11 @@ diff -up src/SpdxLicenses.php.rpm src/SpdxLicenses.php
+ return (getenv('BUILDROOT_SPDX')?:'') . '/usr/share/php-composer-spdx-licenses';
}
- private function loadLicenses()
-diff -up tests/SpdxLicensesTest.php.rpm tests/SpdxLicensesTest.php
---- tests/SpdxLicensesTest.php.rpm 2015-09-08 09:20:20.453342020 +0200
-+++ tests/SpdxLicensesTest.php 2015-09-08 09:21:51.442788249 +0200
-@@ -64,12 +64,6 @@ class SpdxLicensesTest extends \PHPUnit_
+ /**
+diff -up ./tests/SpdxLicensesTest.php.rpm ./tests/SpdxLicensesTest.php
+--- ./tests/SpdxLicensesTest.php.rpm 2021-11-18 13:15:53.000000000 +0100
++++ ./tests/SpdxLicensesTest.php 2021-11-18 13:21:44.972772614 +0100
+@@ -75,12 +75,6 @@ class SpdxLicensesTest extends TestCase
is_dir($dir),
'Expected resources directory to exist.'
);