Accepting request 340502 from home:lmuelle:pysamba
Rename pyldb to python-ldb. OBS-URL: https://build.opensuse.org/request/show/340502 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=74
This commit is contained in:
parent
76f606b6c4
commit
2b65e90392
@ -1,2 +1,2 @@
|
|||||||
libldb1
|
libldb1
|
||||||
pyldb
|
python-ldb
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 22 20:52:14 UTC 2015 - lmuelle@suse.com
|
||||||
|
|
||||||
|
- Rename pyldb to python-ldb.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 7 21:55:16 UTC 2015 - lmuelle@suse.com
|
Mon Sep 7 21:55:16 UTC 2015 - lmuelle@suse.com
|
||||||
|
|
||||||
|
30
ldb.spec
30
ldb.spec
@ -18,9 +18,9 @@
|
|||||||
|
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
%define talloc_version 2.0.8
|
%define talloc_version 2.1.4
|
||||||
%define tdb_version 1.3.4
|
%define tdb_version 1.3.7
|
||||||
%define tevent_version 0.9.17
|
%define tevent_version 0.9.25
|
||||||
|
|
||||||
Name: ldb
|
Name: ldb
|
||||||
BuildRequires: docbook-xsl-stylesheets
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
@ -30,8 +30,8 @@ BuildRequires: libtdb-devel >= %{tdb_version}
|
|||||||
BuildRequires: libtevent-devel >= %{tevent_version}
|
BuildRequires: libtevent-devel >= %{tevent_version}
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: popt-devel
|
BuildRequires: popt-devel
|
||||||
BuildRequires: pytalloc-devel >= %{talloc_version}
|
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-talloc-devel >= %{talloc_version}
|
||||||
BuildRequires: python-tdb >= %{tdb_version}
|
BuildRequires: python-tdb >= %{tdb_version}
|
||||||
BuildRequires: python-tevent >= %{tevent_version}
|
BuildRequires: python-tevent >= %{tevent_version}
|
||||||
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
||||||
@ -91,27 +91,31 @@ Group: Development/Libraries/C and C++
|
|||||||
Tools to manipulate ldb files
|
Tools to manipulate ldb files
|
||||||
|
|
||||||
|
|
||||||
%package -n pyldb
|
%package -n python-ldb
|
||||||
Summary: Python bindings for the LDB library
|
Summary: Python bindings for the LDB library
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %{libldb_name} = %{version}
|
Requires: %{libldb_name} = %{version}
|
||||||
PreReq: /sbin/ldconfig
|
PreReq: /sbin/ldconfig
|
||||||
|
Provides: pyldb = %{version}
|
||||||
|
Obsoletes: pyldb < %{version}
|
||||||
|
|
||||||
%description -n pyldb
|
%description -n python-ldb
|
||||||
This package contains the python bindings for the LDB library.
|
This package contains the python bindings for the LDB library.
|
||||||
|
|
||||||
|
|
||||||
%package -n pyldb-devel
|
%package -n python-ldb-devel
|
||||||
Summary: Development files for the Python bindings for the LDB library
|
Summary: Development files for the Python bindings for the LDB library
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: pyldb = %{version}
|
Requires: python-ldb = %{version}
|
||||||
%if 0%{?suse_version} > 1020
|
%if 0%{?suse_version} > 1020
|
||||||
Requires: pkg-config
|
Requires: pkg-config
|
||||||
%else
|
%else
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
%endif
|
%endif
|
||||||
|
Provides: pyldb-devel = %{version}
|
||||||
|
Obsoletes: pyldb-devel < %{version}
|
||||||
|
|
||||||
%description -n pyldb-devel
|
%description -n python-ldb-devel
|
||||||
This package contains the development files for the Python bindings for the
|
This package contains the development files for the Python bindings for the
|
||||||
LDB library.
|
LDB library.
|
||||||
|
|
||||||
@ -153,9 +157,9 @@ DESTDIR=${RPM_BUILD_ROOT} make install
|
|||||||
|
|
||||||
%postun -n %{libldb_name} -p /sbin/ldconfig
|
%postun -n %{libldb_name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n pyldb -p /sbin/ldconfig
|
%post -n python-ldb -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n pyldb -p /sbin/ldconfig
|
%postun -n python-ldb -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{libldb_name}
|
%files -n %{libldb_name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -198,12 +202,12 @@ DESTDIR=${RPM_BUILD_ROOT} make install
|
|||||||
%{_mandir}/man1/ldbsearch.1.gz
|
%{_mandir}/man1/ldbsearch.1.gz
|
||||||
%{_mandir}/man3/ldb.3.gz
|
%{_mandir}/man3/ldb.3.gz
|
||||||
|
|
||||||
%files -n pyldb
|
%files -n python-ldb
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{python_sitearch}/ldb.so
|
%{python_sitearch}/ldb.so
|
||||||
%{_libdir}/libpyldb-util.so.*
|
%{_libdir}/libpyldb-util.so.*
|
||||||
|
|
||||||
%files -n pyldb-devel
|
%files -n python-ldb-devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_includedir}/pyldb.h
|
%{_includedir}/pyldb.h
|
||||||
%{_libdir}/libpyldb-util.so
|
%{_libdir}/libpyldb-util.so
|
||||||
|
Loading…
Reference in New Issue
Block a user