- fix build on old SLE*, avoid using outdated autotools

- fix rpmlint warning about installing useless INSTALL file

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

View File

@ -43,7 +43,6 @@ and consist of only one character) can be handled.
%setup -q
%build
autoreconf -fi
%configure \
--docdir=%{_docdir}/%{name}
make
@ -51,6 +50,7 @@ make
%install
%{?make_install} %{!?make_install:make install DESTDIR=$RPM_BUILD_ROOT}
rm -rf %{buildroot}%{_datadir}/%{name}
rm -rf %{buildroot}%{_datadir}/%{name}/INSTALL
%check
make check