diff --git a/gengetopt.spec b/gengetopt.spec index a9be612..29e35da 100644 --- a/gengetopt.spec +++ b/gengetopt.spec @@ -49,8 +49,12 @@ make %install %{?make_install} %{!?make_install:make install DESTDIR=$RPM_BUILD_ROOT} + +# our system's getopt.h has getopt_long() on board, no need to install sources rm -rf %{buildroot}%{_datadir}/%{name} -rm -rf %{buildroot}%{_datadir}/%{name}/INSTALL +# make rpmlint happy and delete INSTALL +rm -f %{buildroot}%{_docdir}/%{name}/INSTALL + %check make check