From 769332b05cc2e8b29830f54ed017829381611bb4 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Mon, 8 Jul 2013 16:28:27 +0200 Subject: [PATCH] Make the Requires arch-specific --- libldb.spec | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/libldb.spec b/libldb.spec index 2d8ad37..fc5924c 100644 --- a/libldb.spec +++ b/libldb.spec @@ -9,12 +9,12 @@ Name: libldb Version: 1.1.16 -Release: 1%{?dist} +Release: 2%{?dist} Group: Development/Libraries Summary: A schema-less, ldap like, API and database -Requires: libtalloc >= %{talloc_version} -Requires: libtdb >= %{tdb_version} -Requires: libtevent >= %{tevent_version} +Requires: libtalloc%{?_isa} >= %{talloc_version} +Requires: libtdb%{?_isa} >= %{tdb_version} +Requires: libtevent%{?_isa} >= %{tevent_version} License: LGPLv3+ URL: http://ldb.samba.org/ Source: http://samba.org/ftp/ldb/ldb-%{version}.tar.gz @@ -50,7 +50,7 @@ servers, or use local tdb databases. %package -n ldb-tools Group: Development/Libraries Summary: Tools to manage LDB files -Requires: libldb = %{version}-%{release} +Requires: libldb%{?_isa} = %{version}-%{release} %description -n ldb-tools Tools to manage LDB files @@ -58,10 +58,10 @@ Tools to manage LDB files %package devel Group: Development/Libraries Summary: Developer tools for the LDB library -Requires: libldb = %{version}-%{release} -Requires: libtdb-devel >= %{tdb_version} -Requires: libtalloc-devel >= %{talloc_version} -Requires: libtevent-devel >= %{tevent_version} +Requires: libldb%{?_isa} = %{version}-%{release} +Requires: libtdb-devel%{?_isa} >= %{tdb_version} +Requires: libtalloc-devel%{?_isa} >= %{talloc_version} +Requires: libtevent-devel%{?_isa} >= %{tevent_version} Requires: pkgconfig %description devel @@ -70,8 +70,8 @@ Header files needed to develop programs that link against the LDB library. %package -n pyldb Group: Development/Libraries Summary: Python bindings for the LDB library -Requires: libldb = %{version}-%{release} -Requires: python-tdb >= %{tdb_version} +Requires: libldb%{?_isa} = %{version}-%{release} +Requires: python-tdb%{?_isa} >= %{tdb_version} %description -n pyldb Python bindings for the LDB library @@ -79,7 +79,7 @@ Python bindings for the LDB library %package -n pyldb-devel Group: Development/Libraries Summary: Development files for the Python bindings for the LDB library -Requires: pyldb = %{version}-%{release} +Requires: pyldb%{?_isa} = %{version}-%{release} %description -n pyldb-devel Development files for the Python bindings for the LDB library @@ -177,6 +177,9 @@ rm -rf %{buildroot} %postun -n pyldb -p /sbin/ldconfig %changelog +* Mon Jul 08 2013 Jakub Hrozek - 1.1.16-2 +- Make the Requires arch-specific + * Tue Jul 02 2013 - Andreas Schneider - 1.1.16-1 - New upstream release 1.1.16