Tighten post/postun scriptlet deps with the _isa macro

This commit is contained in:
Kalev Lember 2014-10-13 21:11:37 +02:00
parent 457c027d4d
commit d7299652df

View File

@ -8,8 +8,6 @@ Group: System Environment/Libraries
#VCS: git:git://git.gnome.org/librsvg #VCS: git:git://git.gnome.org/librsvg
Source: http://download.gnome.org/sources/librsvg/2.40/librsvg-%{version}.tar.xz Source: http://download.gnome.org/sources/librsvg/2.40/librsvg-%{version}.tar.xz
Requires(post): gdk-pixbuf2
Requires(postun): gdk-pixbuf2
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: gdk-pixbuf2-devel BuildRequires: gdk-pixbuf2-devel
@ -26,6 +24,9 @@ BuildRequires: gobject-introspection-devel
BuildRequires: vala-devel BuildRequires: vala-devel
BuildRequires: vala-tools BuildRequires: vala-tools
Requires(post): gdk-pixbuf2%{?_isa}
Requires(postun): gdk-pixbuf2%{?_isa}
Provides: librsvg3 = %{name}.%{version}-%{release} Provides: librsvg3 = %{name}.%{version}-%{release}
Obsoletes: librsvg3 <= 2.26.3-3.fc14 Obsoletes: librsvg3 <= 2.26.3-3.fc14