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,13 +1,13 @@
Name: stress-ng
Version: 0.11.14
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Stress test a computer system in various ways
License: GPLv2+
URL: http://kernel.ubuntu.com/~cking/%{name}
Source0: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.xz
URL: https://kernel.ubuntu.com/~cking/%{name}
Source0: https://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: kernel-headers
BuildRequires: keyutils-libs-devel
@ -15,7 +15,10 @@ BuildRequires: libaio-devel
BuildRequires: libattr-devel
BuildRequires: libbsd-devel
BuildRequires: libcap-devel
BuildRequires: libgcrypt-devel
BuildRequires: Judy-devel
BuildRequires: lksctp-tools-devel
BuildRequires: libatomic
BuildRequires: zlib-devel
ExcludeArch: ppc64
@ -40,16 +43,23 @@ export LDFLAGS="%{__global_ldflags}"
%install
install -p -m 755 -D %{name} %{buildroot}%{_bindir}/%{name}
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
%license COPYING
%doc README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.*
%{_sysconfdir}/bash_completion.d/%{name}
%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
- Bump to 0.11.14