Accepting request 782687 from home:mnhauke
- Supplement against bash-completion, not bash - Drop SLE12 compat ifdef OBS-URL: https://build.opensuse.org/request/show/782687 OBS-URL: https://build.opensuse.org/package/show/benchmark/stress-ng?expand=0&rev=170
This commit is contained in:
parent
85a5fc3a99
commit
5982efcdd2
@ -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>
|
||||
|
||||
|
@ -48,10 +48,7 @@ Summary: Bash Completion for %{name}
|
||||
Group: System/Benchmark
|
||||
Requires: %{name} = %{version}
|
||||
Requires: bash-completion
|
||||
Supplements: packageand(stress-ng:bash)
|
||||
%if 0%{?sle_version} < 150000
|
||||
BuildRequires: bash-completion
|
||||
%endif
|
||||
Supplements: (stress-ng and bash-completion)
|
||||
BuildArch: noarch
|
||||
|
||||
%description bash-completion
|
||||
@ -62,7 +59,7 @@ Bash completion script for stress-ng.
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
install -D -p -m 0755 stress-ng \
|
||||
@ -76,7 +73,7 @@ install -D -p -m 0644 bash-completion/stress-ng \
|
||||
%license COPYING
|
||||
%doc README
|
||||
%{_bindir}/stress-ng
|
||||
%{_mandir}/man1/stress-ng.1%{ext_man}
|
||||
%{_mandir}/man1/stress-ng.1%{?ext_man}
|
||||
|
||||
%files bash-completion
|
||||
%{_datadir}/bash-completion/completions/%{name}
|
||||
|
Loading…
Reference in New Issue
Block a user