summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-12-04 13:39:40 +0100
committerRemi Collet <remi@remirepo.net>2017-12-04 13:39:40 +0100
commitcd5e577fa3898264a152dc3cd3a2aeae193ef4d6 (patch)
tree6154bd5f316db04636ec94a9fdc3d4bb523f4586
parent43a14d718aa288248451c7a21b06ef51570659ec (diff)
fix csh profile script for EL-6
-rw-r--r--composer.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/composer.spec b/composer.spec
index f0928bb..4e13ceb 100644
--- a/composer.spec
+++ b/composer.spec
@@ -17,7 +17,7 @@
Name: composer
Version: 1.5.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Dependency Manager for PHP
Group: Development/Libraries
@@ -199,6 +199,10 @@ if (version_compare(PluginInterface::PLUGIN_API_VERSION, "%{api_version}")) {
: Profile scripts
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
install -m 644 %{SOURCE3} %{SOURCE4} %{buildroot}%{_sysconfdir}/profile.d/
+# remirepo:3
+%if 0%{?rhel} == 6
+sed -e 's/euid/uid/' -i %{buildroot}%{_sysconfdir}/profile.d/composer.csh
+%endif
: Library
mkdir -p %{buildroot}%{_datadir}/php
@@ -258,6 +262,9 @@ exit $ret
%changelog
+* Mon Dec 4 2017 Remi Collet <remi@remirepo.net> - 1.5.5-2
+- fix csh profile script for EL-6
+
* Fri Dec 1 2017 Remi Collet <remi@remirepo.net> - 1.5.5-1
- Update to 1.5.5