- 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:
parent
d199574049
commit
260cfd47b9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user