- fix to fix, actually remove INSTALL file

- add comments about removing installed files

OBS-URL: https://build.opensuse.org/package/show/devel:tools/gengetopt?expand=0&rev=4
This commit is contained in:
Ruediger Meier 2011-09-18 16:43:28 +00:00 committed by Git OBS Bridge
parent d199574049
commit 260cfd47b9

View File

@ -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