[libcanberra/f18] fix multilib issue

Matthias Clasen mclasen at fedoraproject.org
Tue Oct 30 02:43:04 UTC 2012


commit c169ed03514dfacccfe002dec935579452739c8c
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Mon Oct 29 22:43:21 2012 -0400

    fix multilib issue

 libcanberra.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/libcanberra.spec b/libcanberra.spec
index 2a93bbd..f41f953 100644
--- a/libcanberra.spec
+++ b/libcanberra.spec
@@ -1,6 +1,6 @@
 Name: libcanberra
 Version: 0.30
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Portable Sound Event Library
 Group: System Environment/Libraries
 Source0: http://0pointer.de/lennart/projects/libcanberra/libcanberra-%{version}.tar.xz
@@ -31,9 +31,9 @@ A small and lightweight implementation of the XDG Sound Theme Specification
 %package gtk2
 Summary: Gtk+ 2.x Bindings for libcanberra
 Group: System Environment/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
 # Some other stuff is included in the gtk3 package, so always pull that in.
-Requires: %{name}-gtk3 = %{version}-%{release}
+Requires: %{name}-gtk3%{?_isa} = %{version}-%{release}
 
 %description gtk2
 Gtk+ 2.x bindings for libcanberra
@@ -41,7 +41,7 @@ Gtk+ 2.x bindings for libcanberra
 %package gtk3
 Summary: Gtk+ 3.x Bindings for libcanberra
 Group: System Environment/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
 
 %description gtk3
 Gtk+ 3.x bindings for libcanberra
@@ -49,7 +49,7 @@ Gtk+ 3.x bindings for libcanberra
 %package devel
 Summary: Development Files for libcanberra Client Development
 Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
 Requires: gtk2-devel
 
 %description devel
@@ -140,6 +140,9 @@ rm $RPM_BUILD_ROOT%{_docdir}/libcanberra/README
 %{_datadir}/vala/vapi/libcanberra.vapi
 
 %changelog
+* Mon Oct 29 2012 Matthias Clasen <mclasen at redhat.com> - 0.30-2
+- Add %%{_isa} as required to fix multilib issues
+
 * Tue Sep 25 2012 Lennart Poettering <lpoetter at redhat.com> - 0.30-1
 - New upstream release
 


More information about the scm-commits mailing list