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