diff --git a/m4.changes b/m4.changes index ee1b1a6..a0b29b7 100644 --- a/m4.changes +++ b/m4.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Oct 3 06:41:27 UTC 2015 - mpluskal@suse.com + +- Update info handling fro postun to preun + ------------------------------------------------------------------- Mon Mar 2 20:37:45 UTC 2015 - mpluskal@suse.com diff --git a/m4.spec b/m4.spec index 334669f..34c6546 100644 --- a/m4.spec +++ b/m4.spec @@ -26,7 +26,8 @@ Url: http://www.gnu.org/software/m4/ Source0: http://ftp.gnu.org/pub/gnu/m4/%{name}-%{version}.tar.bz2 Source1: http://ftp.gnu.org/pub/gnu/m4/%{name}-%{version}.tar.bz2.sig Source2: %{name}.keyring -Requires(pre): %{install_info_prereq} +Requires(post): %{install_info_prereq} +Requires(preun): %{install_info_prereq} Provides: base:%{_bindir}/m4 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -38,10 +39,10 @@ GNU m4 is an implementation of the traditional Unix macro processor. %build %configure \ - --without-included-regex \ - gl_cv_func_isnanl_works=yes \ - gl_cv_func_printf_directive_n=yes \ - gl_cv_func_printf_infinite_long_double=yes + --without-included-regex \ + gl_cv_func_isnanl_works=yes \ + gl_cv_func_printf_directive_n=yes \ + gl_cv_func_printf_infinite_long_double=yes make %{?_smp_mflags} %check @@ -53,14 +54,14 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags} %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz -%postun +%preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %files %defattr(-,root,root) %doc README COPYING NEWS THANKS TODO ChangeLog %{_bindir}/* -%doc %{_infodir}/*.gz +%{_infodir}/*.gz %{_mandir}/*/* %changelog