Remove standards.info in %install, not %check

This commit is contained in:
Jeroen van Meeuwen (Kolab Systems) 2019-02-21 12:23:16 +01:00
parent 5def78ed47
commit bc578cfe51

View File

@ -65,13 +65,13 @@ make install DESTDIR=$RPM_BUILD_ROOT
rm ${RPM_BUILD_ROOT}/%{_bindir}/autoscan-%{version}
%check
make check
# We don't want to include the standards.info stuff in the package,
# because it comes from binutils...
rm -f ${RPM_BUILD_ROOT}%{_infodir}/standards*
%check
make check
%files
%{_bindir}/*
%{_infodir}/*.info*