SHA256
1
0
forked from pool/autoconf213

Accepting request 284557 from home:dimstar:Factory

- 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.

OBS-URL: https://build.opensuse.org/request/show/284557
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/autoconf213?expand=0&rev=9
This commit is contained in:
Stephan Kulow 2015-02-06 20:27:29 +00:00 committed by Git OBS Bridge
parent 69d84890c5
commit cdb2105136
2 changed files with 12 additions and 5 deletions

View File

@ -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 Wed Mar 20 13:31:27 UTC 2013 - mmeister@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package autoconf213 # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -89,16 +89,16 @@ make %{?_smp_mflags}
rm -f ${RPM_BUILD_ROOT}%{_infodir}/standards* rm -f ${RPM_BUILD_ROOT}%{_infodir}/standards*
%post %post
%install_info --info-dir=%{_infodir} %{_infodir}/autoconf2.13.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/autoconf213.info.gz
%postun %preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf2.13.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf213.info.gz
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING NEWS README TODO %doc AUTHORS COPYING NEWS README TODO
%{_prefix}/bin/* %{_prefix}/bin/*
%{_prefix}/share/autoconf-2.13 %{_prefix}/share/autoconf-2.13
%doc %{_infodir}/*.gz %doc %{_infodir}/autoconf213.info.gz
%changelog %changelog