- 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
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
|
||||||
%configure \
|
%configure \
|
||||||
--docdir=%{_docdir}/%{name}
|
--docdir=%{_docdir}/%{name}
|
||||||
make
|
make
|
||||||
@ -51,6 +50,7 @@ make
|
|||||||
%install
|
%install
|
||||||
%{?make_install} %{!?make_install:make install DESTDIR=$RPM_BUILD_ROOT}
|
%{?make_install} %{!?make_install:make install DESTDIR=$RPM_BUILD_ROOT}
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}
|
rm -rf %{buildroot}%{_datadir}/%{name}
|
||||||
|
rm -rf %{buildroot}%{_datadir}/%{name}/INSTALL
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
Loading…
Reference in New Issue
Block a user