- Ville Skytta: patch for non-failing %%post, %%preun

- Resolves: #223714
This commit is contained in:
Petr Machata 2007-01-25 12:13:07 +00:00
parent e29497950d
commit 14bb3b1525

View File

@ -1,7 +1,7 @@
Summary: A portable x86 assembler which uses Intel-like syntax.
Name: nasm
Version: 0.98.39
Release: 3.2.2
Release: 4%{?dist}
Patch0: nasm-0.98-boguself2.patch
Patch1: nasm-0.98.39-overfl.patch
License: LGPL
@ -61,11 +61,11 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/rdf2ihx
rm -rf "$RPM_BUILD_ROOT"
%post
/sbin/install-info %{_infodir}/nasm.info.gz %{_infodir}/dir
/sbin/install-info %{_infodir}/nasm.info.gz %{_infodir}/dir || :
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/nasm.info.gz %{_infodir}/dir
/sbin/install-info --delete %{_infodir}/nasm.info.gz %{_infodir}/dir || :
fi
%files
@ -90,6 +90,10 @@ fi
%{_bindir}/rdx
%changelog
* Thu Jan 25 2007 Petr Machata <pmachata@redhat.com> - 0.98.39-4
- Ville Skytta: patch for non-failing %%post, %%preun
- Resolves: #223714
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.98.39-3.2.2
- rebuild