SHA256
8
0
forked from pool/notmuch

- remove zsh completion, it's part of zsh itself

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/notmuch?expand=0&rev=4
This commit is contained in:
2013-02-19 09:01:17 +00:00
committed by Git OBS Bridge
parent 39df89fe30
commit 162b61b330
2 changed files with 7 additions and 5 deletions

View File

@@ -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 Mon Feb 18 14:12:35 UTC 2013 - mvyskocil@suse.com

View File

@@ -23,8 +23,6 @@
%{bcond_with ruby} %{bcond_with ruby}
%{bcond_with go} %{bcond_with go}
%global zshcompletiondir %{_datadir}/zsh/%(rpm -q --queryformat '%{VERSION}' zsh)/functions/
Name: notmuch Name: notmuch
Version: 0.15.2 Version: 0.15.2
Release: 0 Release: 0
@@ -62,7 +60,6 @@ BuildRequires: ruby-devel
%if %{with go} %if %{with go}
BuildRequires: go BuildRequires: go
%endif %endif
BuildRequires: zsh
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@@ -165,12 +162,13 @@ Requires: emacs-el
%build %build
#hand-made configure script #hand-made configure script
#zsh completion is a part of zsh itself
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
./configure \ ./configure \
%if %{without emacs} %if %{without emacs}
--without-emacs \ --without-emacs \
%endif %endif
--zshcompletiondir=%{zshcompletiondir} \ --without-zsh-completion \
--prefix=%{_prefix} \ --prefix=%{_prefix} \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
--includedir=%{_includedir} \ --includedir=%{_includedir} \
@@ -226,7 +224,6 @@ popd
%doc AUTHORS COPYING COPYING-GPL-3 NEWS README %doc AUTHORS COPYING COPYING-GPL-3 NEWS README
%{_bindir}/%{name} %{_bindir}/%{name}
%{_sysconfdir}/bash_completion.d/%{name} %{_sysconfdir}/bash_completion.d/%{name}
%{zshcompletiondir}/_%{name}
%{_mandir}/man1/%{name}*.1* %{_mandir}/man1/%{name}*.1*
%{_mandir}/man5/%{name}-hooks.5* %{_mandir}/man5/%{name}-hooks.5*
%{_mandir}/man7/%{name}-search-terms.7* %{_mandir}/man7/%{name}-search-terms.7*