summaryrefslogtreecommitdiffstats
path: root/composer.spec
diff options
context:
space:
mode:
Diffstat (limited to 'composer.spec')
-rw-r--r--composer.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/composer.spec b/composer.spec
index 0dc3545..1352c44 100644
--- a/composer.spec
+++ b/composer.spec
@@ -39,7 +39,7 @@
Name: composer
Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}}
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Dependency Manager for PHP
License: MIT
@@ -53,6 +53,8 @@ Source5: makesrc.sh
# Use our autoloader, resources path, fix for tests
Patch0: %{name}-rpm.patch
+# Disable XDG support as only partially implemented
+Patch1: %{name}-noxdg.patch
BuildArch: noarch
BuildRequires: php-cli
@@ -190,7 +192,8 @@ Documentation: https://getcomposer.org/doc/
%setup -q -n %{gh_project}-%{gh_commit}
%patch0 -p1 -b .rpm
-find . -name \*.rpm -delete -print
+%patch1 -p1 -b .noxdg
+find . \( -name \*.rpm -o -name \*noxdg \) -delete -print
if grep -r '\.\./res'; then
: Patch need to fixed
@@ -327,6 +330,9 @@ exit $ret
%changelog
+* Mon May 31 2021 Remi Collet <remi@remirepo.net> - 2.0.14-2
+- disable XDG directories usage, see #1955455
+
* Sat May 22 2021 Remi Collet <remi@remirepo.net> - 2.0.14-1
- update to 2.0.14
- switch to composer/xdebug-handler v2