Dominique Leuenberger 2020-03-08 21:25:04 +00:00 committed by Git OBS Bridge
commit 9f17fb0763
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Mar 8 13:22:46 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Supplement against bash-completion, not bash
-------------------------------------------------------------------
Sun Mar 8 12:58:44 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Drop SLE12 compat ifdef
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 4 19:58:41 UTC 2020 - Martin Hauke <mardnh@gmx.de> Wed Mar 4 19:58:41 UTC 2020 - Martin Hauke <mardnh@gmx.de>

View File

@ -48,10 +48,7 @@ Summary: Bash Completion for %{name}
Group: System/Benchmark Group: System/Benchmark
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: bash-completion Requires: bash-completion
Supplements: packageand(stress-ng:bash) Supplements: (stress-ng and bash-completion)
%if 0%{?sle_version} < 150000
BuildRequires: bash-completion
%endif
BuildArch: noarch BuildArch: noarch
%description bash-completion %description bash-completion
@ -62,7 +59,7 @@ Bash completion script for stress-ng.
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
make %{?_smp_mflags} %make_build
%install %install
install -D -p -m 0755 stress-ng \ install -D -p -m 0755 stress-ng \
@ -76,7 +73,7 @@ install -D -p -m 0644 bash-completion/stress-ng \
%license COPYING %license COPYING
%doc README %doc README
%{_bindir}/stress-ng %{_bindir}/stress-ng
%{_mandir}/man1/stress-ng.1%{ext_man} %{_mandir}/man1/stress-ng.1%{?ext_man}
%files bash-completion %files bash-completion
%{_datadir}/bash-completion/completions/%{name} %{_datadir}/bash-completion/completions/%{name}