fix multilib issue

This commit is contained in:
Matthias Clasen 2012-10-29 22:43:21 -04:00
parent 4e457604b1
commit c169ed0351

View File

@ -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@redhat.com> - 0.30-2
- Add %%{_isa} as required to fix multilib issues
* Tue Sep 25 2012 Lennart Poettering <lpoetter@redhat.com> - 0.30-1
- New upstream release