diff --git a/notmuch.changes b/notmuch.changes index 1a483cc..bbf7f2b 100644 --- a/notmuch.changes +++ b/notmuch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 18 15:46:41 UTC 2013 - mvyskocil@suse.com + +- remove zsh completion, it's part of zsh itself + ------------------------------------------------------------------- Mon Feb 18 14:12:35 UTC 2013 - mvyskocil@suse.com diff --git a/notmuch.spec b/notmuch.spec index 18f87c2..e8b5efd 100644 --- a/notmuch.spec +++ b/notmuch.spec @@ -23,8 +23,6 @@ %{bcond_with ruby} %{bcond_with go} -%global zshcompletiondir %{_datadir}/zsh/%(rpm -q --queryformat '%{VERSION}' zsh)/functions/ - Name: notmuch Version: 0.15.2 Release: 0 @@ -62,7 +60,6 @@ BuildRequires: ruby-devel %if %{with go} BuildRequires: go %endif -BuildRequires: zsh BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -165,12 +162,13 @@ Requires: emacs-el %build #hand-made configure script +#zsh completion is a part of zsh itself export CFLAGS="%{optflags}" ./configure \ %if %{without emacs} --without-emacs \ %endif - --zshcompletiondir=%{zshcompletiondir} \ + --without-zsh-completion \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --includedir=%{_includedir} \ @@ -226,7 +224,6 @@ popd %doc AUTHORS COPYING COPYING-GPL-3 NEWS README %{_bindir}/%{name} %{_sysconfdir}/bash_completion.d/%{name} -%{zshcompletiondir}/_%{name} %{_mandir}/man1/%{name}*.1* %{_mandir}/man5/%{name}-hooks.5* %{_mandir}/man7/%{name}-search-terms.7*