diff --git a/autoconf213.changes b/autoconf213.changes index 537fdee..30e2452 100644 --- a/autoconf213.changes +++ b/autoconf213.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 6 19:21:59 UTC 2015 - dimstar@opensuse.org + +- Move %install_info_delete from postun to preun: we need to handle + the case while the file is still present. +- Fix filename of info files for post/preun: autoconf213.info.gz. + ------------------------------------------------------------------- Wed Mar 20 13:31:27 UTC 2013 - mmeister@suse.com diff --git a/autoconf213.spec b/autoconf213.spec index 655b811..5f0011d 100644 --- a/autoconf213.spec +++ b/autoconf213.spec @@ -1,7 +1,7 @@ # # spec file for package autoconf213 # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -89,16 +89,16 @@ make %{?_smp_mflags} rm -f ${RPM_BUILD_ROOT}%{_infodir}/standards* %post -%install_info --info-dir=%{_infodir} %{_infodir}/autoconf2.13.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/autoconf213.info.gz -%postun -%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf2.13.info.gz +%preun +%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf213.info.gz %files %defattr(-,root,root) %doc AUTHORS COPYING NEWS README TODO %{_prefix}/bin/* %{_prefix}/share/autoconf-2.13 -%doc %{_infodir}/*.gz +%doc %{_infodir}/autoconf213.info.gz %changelog