[nasm] Properly obsolete arch-specific doc subpackage

Mikolaj Izdebski mizdebsk at fedoraproject.org
Thu Mar 7 12:54:49 UTC 2013


commit 2eaf716c35fb963bcf5104473aa75fbad2783c0c
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Thu Mar 7 13:54:03 2013 +0100

    Properly obsolete arch-specific doc subpackage

 nasm.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/nasm.spec b/nasm.spec
index af27faa..4409b03 100644
--- a/nasm.spec
+++ b/nasm.spec
@@ -1,7 +1,7 @@
 Summary: A portable x86 assembler which uses Intel-like syntax
 Name: nasm
 Version: 2.10.07
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: BSD
 URL: http://www.nasm.us
 Source0: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}.tar.bz2
@@ -14,6 +14,8 @@ Requires(preun): /sbin/install-info
 Summary: Documentation for NASM
 BuildRequires: ghostscript, texinfo
 BuildArch: noarch
+# For arch to noarch conversion
+Obsoletes: %{name}-doc < %{version}-%{release}
 
 %package rdoff
 Summary: Tools for the RDOFF binary format, sometimes used with NASM
@@ -80,6 +82,9 @@ fi
 %{_bindir}/rdf2srec
 
 %changelog
+* Thu Mar  7 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 2.10.07-3
+- Properly obsolete arch-specific doc subpackage
+
 * Thu Mar  7 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 2.10.07-2
 - Update to current packaging guidelines
 - Resolves: rhbz#919008 (doc subpackage should be noarch)


More information about the scm-commits mailing list