Various updates

Enable bash completion
Enable Judy, libatomic and libgcrypt
Change Source and URL to https
This commit is contained in:
Christopher Brown 2020-07-06 20:35:38 +01:00
parent cf5bb23170
commit 4c31f8f6f5

View File

@ -1,11 +1,11 @@
Name: stress-ng Name: stress-ng
Version: 0.11.14 Version: 0.11.14
Release: 1%{?dist} Release: 2%{?dist}
Summary: Stress test a computer system in various ways Summary: Stress test a computer system in various ways
License: GPLv2+ License: GPLv2+
URL: http://kernel.ubuntu.com/~cking/%{name} URL: https://kernel.ubuntu.com/~cking/%{name}
Source0: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.xz Source0: https://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.xz
BuildRequires: gcc BuildRequires: gcc
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -15,7 +15,10 @@ BuildRequires: libaio-devel
BuildRequires: libattr-devel BuildRequires: libattr-devel
BuildRequires: libbsd-devel BuildRequires: libbsd-devel
BuildRequires: libcap-devel BuildRequires: libcap-devel
BuildRequires: libgcrypt-devel
BuildRequires: Judy-devel
BuildRequires: lksctp-tools-devel BuildRequires: lksctp-tools-devel
BuildRequires: libatomic
BuildRequires: zlib-devel BuildRequires: zlib-devel
ExcludeArch: ppc64 ExcludeArch: ppc64
@ -40,16 +43,23 @@ 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
install -pm 644 bash-completion/%{name} \
%{buildroot}%{_sysconfdir}/bash_completion.d/%{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}
%changelog %changelog
* Mon Jul 6 2020 Chris Brown <chris.brown@redhat.com> - 0.11.14-2
- Add bash completion
- Enable Judy, libatomic and libgcrypt
- Switch source and URL to https
* Fri Jul 3 2020 Chris Brown <chris.brown@redhat.com> - 0.11.14-1 * Fri Jul 3 2020 Chris Brown <chris.brown@redhat.com> - 0.11.14-1
- Bump to 0.11.14 - Bump to 0.11.14