Fixes for gcc 8.0.1

This commit is contained in:
Stan Cox 2018-02-14 11:17:57 -05:00
commit d65c8777af

View File

@ -117,7 +117,6 @@ URL: http://sourceware.org/systemtap/
Source: ftp://sourceware.org/pub/systemtap/releases/systemtap-%{version}.tar.gz Source: ftp://sourceware.org/pub/systemtap/releases/systemtap-%{version}.tar.gz
# Build* # Build*
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gettext-devel BuildRequires: gettext-devel
BuildRequires: pkgconfig(nss) BuildRequires: pkgconfig(nss)
@ -708,9 +707,6 @@ done
touch $RPM_BUILD_ROOT%{dracutstap}/params.conf touch $RPM_BUILD_ROOT%{dracutstap}/params.conf
%endif %endif
%clean
rm -rf ${RPM_BUILD_ROOT}
%pre runtime %pre runtime
getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr
getent group stapsys >/dev/null || groupadd -g 157 -r stapsys 2>/dev/null || groupadd -r stapsys getent group stapsys >/dev/null || groupadd -g 157 -r stapsys 2>/dev/null || groupadd -r stapsys