Make the Requires arch-specific

This commit is contained in:
Jakub Hrozek 2013-07-08 16:28:27 +02:00
parent 6a1d425501
commit 769332b05c

View File

@ -9,12 +9,12 @@
Name: libldb Name: libldb
Version: 1.1.16 Version: 1.1.16
Release: 1%{?dist} Release: 2%{?dist}
Group: Development/Libraries Group: Development/Libraries
Summary: A schema-less, ldap like, API and database Summary: A schema-less, ldap like, API and database
Requires: libtalloc >= %{talloc_version} Requires: libtalloc%{?_isa} >= %{talloc_version}
Requires: libtdb >= %{tdb_version} Requires: libtdb%{?_isa} >= %{tdb_version}
Requires: libtevent >= %{tevent_version} Requires: libtevent%{?_isa} >= %{tevent_version}
License: LGPLv3+ License: LGPLv3+
URL: http://ldb.samba.org/ URL: http://ldb.samba.org/
Source: http://samba.org/ftp/ldb/ldb-%{version}.tar.gz Source: http://samba.org/ftp/ldb/ldb-%{version}.tar.gz
@ -50,7 +50,7 @@ servers, or use local tdb databases.
%package -n ldb-tools %package -n ldb-tools
Group: Development/Libraries Group: Development/Libraries
Summary: Tools to manage LDB files Summary: Tools to manage LDB files
Requires: libldb = %{version}-%{release} Requires: libldb%{?_isa} = %{version}-%{release}
%description -n ldb-tools %description -n ldb-tools
Tools to manage LDB files Tools to manage LDB files
@ -58,10 +58,10 @@ Tools to manage LDB files
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: Developer tools for the LDB library Summary: Developer tools for the LDB library
Requires: libldb = %{version}-%{release} Requires: libldb%{?_isa} = %{version}-%{release}
Requires: libtdb-devel >= %{tdb_version} Requires: libtdb-devel%{?_isa} >= %{tdb_version}
Requires: libtalloc-devel >= %{talloc_version} Requires: libtalloc-devel%{?_isa} >= %{talloc_version}
Requires: libtevent-devel >= %{tevent_version} Requires: libtevent-devel%{?_isa} >= %{tevent_version}
Requires: pkgconfig Requires: pkgconfig
%description devel %description devel
@ -70,8 +70,8 @@ Header files needed to develop programs that link against the LDB library.
%package -n pyldb %package -n pyldb
Group: Development/Libraries Group: Development/Libraries
Summary: Python bindings for the LDB library Summary: Python bindings for the LDB library
Requires: libldb = %{version}-%{release} Requires: libldb%{?_isa} = %{version}-%{release}
Requires: python-tdb >= %{tdb_version} Requires: python-tdb%{?_isa} >= %{tdb_version}
%description -n pyldb %description -n pyldb
Python bindings for the LDB library Python bindings for the LDB library
@ -79,7 +79,7 @@ Python bindings for the LDB library
%package -n pyldb-devel %package -n pyldb-devel
Group: Development/Libraries Group: Development/Libraries
Summary: Development files for the Python bindings for the LDB library Summary: Development files for the Python bindings for the LDB library
Requires: pyldb = %{version}-%{release} Requires: pyldb%{?_isa} = %{version}-%{release}
%description -n pyldb-devel %description -n pyldb-devel
Development files for the Python bindings for the LDB library Development files for the Python bindings for the LDB library
@ -177,6 +177,9 @@ rm -rf %{buildroot}
%postun -n pyldb -p /sbin/ldconfig %postun -n pyldb -p /sbin/ldconfig
%changelog %changelog
* Mon Jul 08 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.1.16-2
- Make the Requires arch-specific
* Tue Jul 02 2013 - Andreas Schneider <asn@redhat.com> - 1.1.16-1 * Tue Jul 02 2013 - Andreas Schneider <asn@redhat.com> - 1.1.16-1
- New upstream release 1.1.16 - New upstream release 1.1.16