put the bash completion in the right location
This commit is contained in:
parent
4c31f8f6f5
commit
06b8c2dc05
@ -1,6 +1,6 @@
|
|||||||
Name: stress-ng
|
Name: stress-ng
|
||||||
Version: 0.11.14
|
Version: 0.11.14
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Stress test a computer system in various ways
|
Summary: Stress test a computer system in various ways
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -43,24 +43,29 @@ export LDFLAGS="%{__global_ldflags}"
|
|||||||
%install
|
%install
|
||||||
install -p -m 755 -D %{name} %{buildroot}%{_bindir}/%{name}
|
install -p -m 755 -D %{name} %{buildroot}%{_bindir}/%{name}
|
||||||
install -p -m 644 -D %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
install -p -m 644 -D %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
|
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
|
||||||
install -pm 644 bash-completion/%{name} \
|
install -pm 644 bash-completion/%{name} \
|
||||||
%{buildroot}%{_sysconfdir}/bash_completion.d/%{name}
|
%{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README
|
%doc README
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man1/%{name}.1.*
|
%{_mandir}/man1/%{name}.1.*
|
||||||
%{_sysconfdir}/bash_completion.d/%{name}
|
%dir %{_datadir}/bash-completion
|
||||||
|
%dir %{_datadir}/bash-completion/completions
|
||||||
|
%{_datadir}/bash-completion/completions/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jul 6 2020 Chris Brown <chris.brown@redhat.com> - 0.11.14-2
|
* Tue Jul 07 2020 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.11.14-3
|
||||||
|
- Fix bash completion path
|
||||||
|
|
||||||
|
* Mon Jul 06 2020 Chris Brown <chris.brown@redhat.com> - 0.11.14-2
|
||||||
- Add bash completion
|
- Add bash completion
|
||||||
- Enable Judy, libatomic and libgcrypt
|
- Enable Judy, libatomic and libgcrypt
|
||||||
- Switch source and URL to https
|
- Switch source and URL to https
|
||||||
|
|
||||||
* Fri Jul 3 2020 Chris Brown <chris.brown@redhat.com> - 0.11.14-1
|
* Fri Jul 03 2020 Chris Brown <chris.brown@redhat.com> - 0.11.14-1
|
||||||
- Bump to 0.11.14
|
- Bump to 0.11.14
|
||||||
|
|
||||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.07.29-11
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.07.29-11
|
||||||
|
Loading…
Reference in New Issue
Block a user