Fix build failures caused by update to Makefile.am

Related: #1494855
This commit is contained in:
Siteshwar Vashisht 2017-10-09 12:46:49 +02:00
parent 01b9c3d676
commit cd1a8b8a5d

View File

@ -14,6 +14,7 @@ URL: https://github.com/scop/bash-completion
Source0: https://github.com/scop/bash-completion/releases/download/%{version}/%{name}-%{version}.tar.xz
# https://bugzilla.redhat.com/677446, see also redefine_filedir comments
Patch0: %{name}-1.99-noblacklist.patch
# It should be removed while rebasing to bash-completion-2.8
Patch1: %{name}-rfkill.patch
BuildArch: noarch
@ -22,6 +23,9 @@ BuildRequires: dejagnu
BuildRequires: screen
BuildRequires: tcllib
%endif
# Needed for rfkill patch as it modifies Makefile.am
# It should be removed while rebasing to bash-completion-2.8
BuildRequires: automake
Requires: bash >= 4.1
%description
@ -32,6 +36,9 @@ of the programmable completion feature of bash.
%autosetup -p1
%build
# Needed for rfkill patch as it modifies Makefile.am
# It should be removed while rebasing to bash-completion-2.8
aclocal
%configure
%make_build