Exclude bash-completion from BuildRequires for RHEL6 build

This commit is contained in:
Kenjiro Nakayama 2016-01-24 16:51:08 +09:00
parent c0e38c29bb
commit cd0aa33ef6
3 changed files with 9 additions and 3 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
/0.29.1-803700e.tar.gz
/0.30.0-c81622c.tar.gz
/0.31.0-d7193e1.tar.gz
/0.31.0-3675402.tar.gz

View File

@ -1 +1 @@
17b93e155cda9f6d50e17cffb44ee8b3 0.31.0-d7193e1.tar.gz
0db56ff7986c56246b0e3b7a8024ffcb 0.31.0-3675402.tar.gz

View File

@ -1,10 +1,10 @@
%global commit d7193e13a7f8f9fe9732e1f546a39e45d3925eb3
%global commit 36754027ac4f44c1d4329ee2b4fa1b112b6c3e45
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global bashcompdir %(pkg-config --variable=completionsdir bash-completion)
Name: the_silver_searcher
Version: 0.31.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Super-fast text searching tool (ag)
Group: Applications/Text
License: ASL 2.0 and BSD
@ -14,7 +14,9 @@ Source: https://github.com/ggreer/the_silver_searcher/archive/%{commit}/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: pcre-devel
%if ! 0%{?el6}
BuildRequires: pkgconfig(bash-completion)
%endif
BuildRequires: xz-devel
BuildRequires: zlib-devel
@ -46,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}
%doc README.md LICENSE
%changelog
* Sun Jan 24 2015 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.31.0-2
- Build for RHEL6(EPEL)
* Tue Dec 29 2015 Kenjiro Nakayama <nakayamakenjiro@gmail.com> - 0.31.0-1
- update to 0.31.0