Browse code

/etc/profile.d permissions fix for mercurial.

YustasSwamp authored on 2015/07/01 02:46:22
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Mercurial-3.1.2
2 2
 Name:		mercurial
3 3
 Version:	3.1.2
4
-Release:	1%{?dist}
4
+Release:	2%{?dist}
5 5
 License:	GPLv2+
6 6
 URL:		https://www.ruby-lang.org/en/
7 7
 Group:		System Environment/Security
... ...
@@ -34,7 +34,7 @@ cat >> %{buildroot}/.hgrc << "EOF"
34 34
 username = "$(id -u)"
35 35
 EOF
36 36
 
37
-install -vdm644 %{buildroot}/etc/profile.d
37
+install -vdm755 %{buildroot}/etc/profile.d
38 38
 cat >> %{buildroot}/etc/profile.d/mercurial-exports.sh <<- "EOF"
39 39
 export PYTHONPATH="$PYTHONPATH:/opt/%{name}-%{version}/mercurial/pure"
40 40
 EOF
... ...
@@ -56,5 +56,7 @@ rm -rf %{buildroot}/*
56 56
 %exclude /opt/%{name}-%{version}/contrib/plan9
57 57
 %exclude /opt/%{name}-%{version}/build/temp.*
58 58
 %changelog
59
+*	Tue Jun 30 2015 Alexey Makhalov <amakhalov@vmware.com> 3.1.2-2
60
+-	/etc/profile.d permission fix
59 61
 *	Mon Oct 13 2014 Divya Thaluru <dthaluru@vmware.com> 3.1.2-1
60 62
 -	Initial build.	First version