Fix subpackage requires

This commit is contained in:
Ankur Sinha (Ankur Sinha Gmail) 2013-03-20 14:09:38 +11:00
parent 54fad3ef63
commit f2d2abb475

View File

@ -1,6 +1,6 @@
Name: libgexiv2
Version: 0.5.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
Group: System Environment/Libraries
@ -13,6 +13,7 @@ Patch0: %{name}-pkgconf.patch
BuildRequires: exiv2-devel gobject-introspection-devel libtool
BuildRequires: python-devel python3-devel pygobject3-base python3-gobject
%description
libgexiv2 is a GObject-based wrapper around the Exiv2 library.
It makes the basic features of Exiv2 available to GNOME applications.
@ -31,6 +32,7 @@ developing applications that use %{name}.
%package python2
Summary: Python2 bindings for %{name}
Requires: %{name} = %{version}-%{release}
Requires: pygobject3-base
%description python2
This package contains the python2 bindings for %{name}
@ -38,6 +40,7 @@ This package contains the python2 bindings for %{name}
%package python3
Summary: Python3 bindings for %{name}
Requires: %{name} = %{version}-%{release}
Requires: python3-gobject
%description python3
This package contains the python3 bindings for %{name}
@ -88,6 +91,9 @@ find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
%{python3_sitearch}/gi/overrides/__pycache__/GExiv2*
%changelog
* Wed Mar 20 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.5.0-6
- Fix requires
* Wed Mar 20 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.5.0-5
- Fix python bindings generation
- Add new subpackages for python2,3 bindings