remove unneeded scriptlets
install-info is handled by filetriggers nowadays. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
814d592134
commit
f5e85a63e5
18
m4.spec
18
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 <vcrhonek@redhat.com> - 1.4.18-8
|
||||
- Work around change in glibc
|
||||
|
Loading…
Reference in New Issue
Block a user