diff --git a/m4.spec b/m4.spec index 7d56f9f..c926838 100644 --- a/m4.spec +++ b/m4.spec @@ -8,8 +8,6 @@ Source1: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz.sig # Patch0: update to glibc libio.h removal, rhbz#1573342 Patch0: m4-1.4.18-glibc-change-work-around.patch URL: http://www.gnu.org/software/m4/ -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info BuildRequires: gcc autoconf automake %ifarch ppc ppc64 BuildRequires: texinfo @@ -36,10 +34,10 @@ chmod 644 COPYING %build autoreconf -ivf %configure -make %{?_smp_mflags} +%make_build %install -make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT +%make_install rm -f $RPM_BUILD_ROOT%{_infodir}/dir %check @@ -52,18 +50,6 @@ make %{?_smp_mflags} check %{_infodir}/* %{_mandir}/man1/m4.1* -%post -if [ -f %{_infodir}/m4.info.gz ]; then # --excludedocs? - /sbin/install-info %{_infodir}/m4.info.gz %{_infodir}/dir || : -fi - -%preun -if [ "$1" = 0 ]; then - if [ -f %{_infodir}/m4.info.gz ]; then # --excludedocs? - /sbin/install-info --delete %{_infodir}/m4.info.gz %{_infodir}/dir || : - fi -fi - %changelog * Wed May 02 2018 Vitezslav Crhonek - 1.4.18-8 - Work around change in glibc