fix %_isa macro usage

This commit is contained in:
Rex Dieter 2014-12-19 08:12:47 -06:00
parent 4a9a41002c
commit 3ff19233a7

View File

@ -5,7 +5,7 @@ Summary: A PostScript interpreter and renderer
Name: ghostscript
Version: %{gs_ver}
Release: 4%{?dist}
Release: 5%{?dist}
# Included CMap data is Redistributable, no modification permitted,
# see http://bugzilla.redhat.com/487510
@ -31,8 +31,8 @@ Patch6: ghostscript-Fontmap.local.patch
Patch7: ghostscript-wrf-snprintf.patch
Patch8: ghostscript-system-openjpeg2.patch
Requires: %{name}-core{?_isa} = %{version}-%{release}
Requires: %{name}-x11{?_isa} = %{version}-%{release}
Requires: %{name}-core%{?_isa} = %{version}-%{release}
Requires: %{name}-x11%{?_isa} = %{version}-%{release}
BuildRequires: xz
BuildRequires: libjpeg-devel, libXt-devel
BuildRequires: zlib-devel, libpng-devel, unzip, gtk3-devel
@ -73,7 +73,7 @@ package.
%package devel
Summary: Files for developing applications that use ghostscript
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
Group: Development/Libraries
%description devel
@ -90,7 +90,7 @@ The documentation files that come with ghostscript.
%package x11
Summary: The X11 driver for Ghostscript
Requires: %{name}{?_isa} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
Group: Applications/Publishing
%description x11
@ -108,7 +108,7 @@ The parts of Ghostscript which do not require X11.
%package gtk
Summary: A GTK-enabled PostScript interpreter and renderer
Requires: %{name}{?_isa} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
Group: Applications/Publishing
%description gtk
@ -343,6 +343,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libgs.so
%changelog
* Fri Dec 19 2014 Rex Dieter <rdieter@fedoraproject.org> 9.15-5
- fix %%_isa macro usage
* Thu Dec 18 2014 Tim Waugh <twaugh@redhat.com> 9.15-4
- New ghostscript-x11 package for X11 driver (bug #148939).
- Ghostscript not requiring X11 is now in ghostscript-core.