Fix devel's requirement on the base package to include %{?isa}

This commit is contained in:
Adam Jackson 2015-05-11 14:10:23 -04:00
parent 38fb1fe49c
commit d8031371e2

View File

@ -3,7 +3,7 @@
Name: pixman
Version: 0.32.6
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Pixel manipulation library
Group: System Environment/Libraries
@ -24,7 +24,7 @@ Pixman is a pixel manipulation library for X and cairo.
%package devel
Summary: Pixel manipulation library development package
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?isa} = %{version}-%{release}
Requires: pkgconfig
%description devel
@ -34,6 +34,7 @@ Development library for pixman.
%setup -q
%build
export CFLAGS="-flto %{optflags}"
%configure \
%ifarch %{arm}
--disable-arm-iwmmxt --disable-arm-iwmmxt2 \
@ -41,6 +42,7 @@ Development library for pixman.
%ifarch ppc64le
--disable-vmx \
%endif
--disable-ssse3 \
--disable-static
make %{?_smp_mflags} V=1
@ -68,6 +70,9 @@ make check %{?_smp_mflags} V=1 ||:
%{_libdir}/pkgconfig/pixman-1.pc
%changelog
* Mon May 11 2015 Adam Jackson <ajax@redhat.com> 0.32.6-5
- Fix devel's requirement on the base package to include %%{?isa}
* Mon Nov 10 2014 Adam Jackson <ajax@redhat.com> 0.32.6-4
- Disable (broken) VMX fast paths on ppc64le for now.