comparison contrib/mercurial.spec @ 23143:cd0c51c07e5f

config: move mergetools configuration from contrib to default configuration The merge tool configuration is an essential part of a good initial user experience. 'make osx' installers and direct 'make' installation did not have merge tool configuration. Now they have. Note: The installer fixes for windows have been done blindly and might require additional changes.
author Mads Kiilerich <madski@unity3d.com>
date Sun, 19 Oct 2014 03:22:23 +0200
parents a440166d03fc
children 3e48462ec15a
comparison
equal deleted inserted replaced
23142:c4ce077588d0 23143:cd0c51c07e5f
125 mkdir -p $RPM_BUILD_ROOT%{emacs_lispdir} 125 mkdir -p $RPM_BUILD_ROOT%{emacs_lispdir}
126 install -m 644 contrib/mercurial.el $RPM_BUILD_ROOT%{emacs_lispdir}/ 126 install -m 644 contrib/mercurial.el $RPM_BUILD_ROOT%{emacs_lispdir}/
127 install -m 644 contrib/mq.el $RPM_BUILD_ROOT%{emacs_lispdir}/ 127 install -m 644 contrib/mq.el $RPM_BUILD_ROOT%{emacs_lispdir}/
128 128
129 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/mercurial/hgrc.d 129 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/mercurial/hgrc.d
130 install -m 644 contrib/mergetools.hgrc $RPM_BUILD_ROOT%{_sysconfdir}/mercurial/hgrc.d/mergetools.rc
131 130
132 %clean 131 %clean
133 rm -rf $RPM_BUILD_ROOT 132 rm -rf $RPM_BUILD_ROOT
134 133
135 %files 134 %files
148 %{_bindir}/hg-ssh 147 %{_bindir}/hg-ssh
149 %dir %{_sysconfdir}/bash_completion.d/ 148 %dir %{_sysconfdir}/bash_completion.d/
150 %config(noreplace) %{_sysconfdir}/bash_completion.d/mercurial.sh 149 %config(noreplace) %{_sysconfdir}/bash_completion.d/mercurial.sh
151 %dir %{_sysconfdir}/mercurial 150 %dir %{_sysconfdir}/mercurial
152 %dir %{_sysconfdir}/mercurial/hgrc.d 151 %dir %{_sysconfdir}/mercurial/hgrc.d
153 %config(noreplace) %{_sysconfdir}/mercurial/hgrc.d/mergetools.rc
154 %if "%{?withpython}" 152 %if "%{?withpython}"
155 %{_bindir}/%{pythonhg} 153 %{_bindir}/%{pythonhg}
156 %{hgpyprefix} 154 %{hgpyprefix}
157 %else 155 %else
158 %if "%{?pythonver}" != "2.4" 156 %if "%{?pythonver}" != "2.4"