diff --git a/mercurial-mergetools.hgrc.patch b/mercurial-mergetools.hgrc.patch index 935c07d..5a6f8fa 100644 --- a/mercurial-mergetools.hgrc.patch +++ b/mercurial-mergetools.hgrc.patch @@ -1,16 +1,12 @@ ---- contrib/mergetools.hgrc.orig 2008-03-24 19:05:20.000000000 -0400 -+++ contrib/mergetools.hgrc 2008-04-15 15:27:46.000000000 -0400 -@@ -1,11 +1,12 @@ - # Some default global settings for common merge tools +--- mercurial-1.1.2/contrib/mergetools.hgrc.orig 2009-02-07 07:14:46.000000000 -0500 ++++ mercurial-1.1.2/contrib/mergetools.hgrc 2009-02-07 07:14:15.000000000 -0500 +@@ -46,6 +46,6 @@ + ecmerge.regkey=Software\Elli\xc3\xa9 Computing\Merge + ecmerge.gui=True - [merge-tools] --kdiff3.args=--auto -L1 base --L2 local --L3 other $base $local $other -o $output -+kdiff3.args=--auto --L1 base --L2 local --L3 other $base $local $other -o $output - kdiff3.regkey=Software\KDiff3 - kdiff3.regappend=\kdiff3.exe - kdiff3.fixeol=True - kdiff3.gui=True -+kdiff3.priority=1 - - gvimdiff.args=--nofork -d -g -O $local $other $base - gvimdiff.regkey=Software\Vim\GVim +-filemerge.executable=/Developer/Applications/Utilities/FileMerge.app/Contents/MacOS/FileMerge +-filemerge.args=-left $other -right $local -ancestor $base -merge $output +-filemerge.gui=True ++#filemerge.executable=/Developer/Applications/Utilities/FileMerge.app/Contents/MacOS/FileMerge ++#filemerge.args=-left $other -right $local -ancestor $base -merge $output ++#filemerge.gui=True diff --git a/mercurial.spec b/mercurial.spec index 0a7b03f..0fa81b0 100644 --- a/mercurial.spec +++ b/mercurial.spec @@ -3,12 +3,14 @@ Summary: A fast, lightweight distributed source control management system Name: mercurial Version: 1.1.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 Group: Development/Tools URL: http://www.selenic.com/mercurial/ Source0: http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz Source1: mercurial-site-start.el +# temporary fix for filemerge bug +Patch0: mercurial-mergetools.hgrc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: python python-devel BuildRequires: emacs emacs-el pkgconfig @@ -24,7 +26,6 @@ Tutorial: http://www.selenic.com/mercurial/wiki/index.cgi/Tutorial Extensions: http://www.selenic.com/mercurial/wiki/index.cgi/CategoryExtension %define pkg mercurial -#%define pkgname Foo # If the emacs-el package has installed a pkgconfig file, use that to determine # install locations and Emacs version at build time, otherwise set defaults. @@ -78,6 +79,7 @@ documentation. %prep %setup -q +%patch0 -p1 %build make all @@ -129,7 +131,7 @@ path=%{_libexecdir}/mercurial/hgk EOF install hgk.rc $RPM_BUILD_ROOT/%{_sysconfdir}/mercurial/hgrc.d -install contrib/mergetools.hgrc $RPM_BUILD_ROOT%{_sysconfdir}/mercurial/hgrc.d/mergetools.rc.sample +install contrib/mergetools.hgrc $RPM_BUILD_ROOT%{_sysconfdir}/mercurial/hgrc.d/mergetools.rc %clean rm -rf $RPM_BUILD_ROOT @@ -147,7 +149,7 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/mercurial-convert-repo %dir %{_sysconfdir}/mercurial %dir %{_sysconfdir}/mercurial/hgrc.d -%{_sysconfdir}/mercurial/hgrc.d/mergetools.rc.sample +%{_sysconfdir}/mercurial/hgrc.d/mergetools.rc %dir %{python_sitearch}/mercurial %dir %{python_sitearch}/hgext @@ -166,6 +168,9 @@ rm -rf $RPM_BUILD_ROOT #cd tests && %{__python} run-tests.py %changelog +* Sat Feb 7 2009 Neal Becker - 1.1.2-3 +- Patch mergetools.rc to fix filemerge bug + * Thu Jan 1 2009 Neal Becker - 1.1.2-2 - Rename mergetools.rc -> mergetools.rc.sample