From e0a228e423e7987f0b86170833e5d50a785263ba Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 4 Aug 2015 12:39:30 -0700 Subject: [PATCH] bindings require the exact matching version of the lib (#1243737) --- libsolv.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libsolv.spec b/libsolv.spec index 45cf179..a655893 100644 --- a/libsolv.spec +++ b/libsolv.spec @@ -7,7 +7,7 @@ Name: libsolv Version: 0.6.11 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Url: https://github.com/openSUSE/libsolv Source: https://github.com/openSUSE/libsolv/archive/%{gitrev}.tar.gz @@ -58,6 +58,7 @@ Applications demoing the libsolv library. %package -n ruby-solv Summary: Ruby bindings for the libsolv library Group: Development/Languages +Requires: libsolv%{?_isa} = %{version}-%{release} %description -n ruby-solv Ruby bindings for sat solver. @@ -66,6 +67,7 @@ Ruby bindings for sat solver. Summary: Python bindings for the libsolv library Group: Development/Languages Requires: python +Requires: libsolv%{?_isa} = %{version}-%{release} %description -n python-solv Python bindings for sat solver. @@ -74,6 +76,7 @@ Python bindings for sat solver. Summary: Perl bindings for the libsolv library Group: Development/Languages Requires: perl +Requires: libsolv%{?_isa} = %{version}-%{release} %description -n perl-solv Perl bindings for sat solver. @@ -151,6 +154,9 @@ rm $RPM_BUILD_ROOT/usr/bin/testsolv %{python_sitearch}/* %changelog +* Tue Aug 04 2015 Adam Williamson - 0.6.11-2 +- make bindings require the exact matching version of the lib (#1243737) + * Mon Jun 22 2015 Jan Silhan - 0.6.11-1 - new version fixing segfault - RbConfig fixed in the upstream (1928f1a), libsolv-ruby22-rbconfig.patch erased