Make the Requires arch-specific
This commit is contained in:
parent
6a1d425501
commit
769332b05c
27
libldb.spec
27
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 <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
|
||||
- New upstream release 1.1.16
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user