Consolidate python files in the independent pyldb subpackage.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=34
This commit is contained in:
parent
299456e778
commit
abb034a6fc
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 29 10:10:41 UTC 2013 - lmuelle@suse.com
|
||||
|
||||
- Consolidate python files in the independent pyldb subpackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 10:31:06 UTC 2013 - lmuelle@suse.com
|
||||
|
||||
|
20
ldb.spec
20
ldb.spec
@ -87,6 +87,15 @@ Group: Development/Libraries/C and C++
|
||||
Tools to manipulate ldb files
|
||||
|
||||
|
||||
%package -n pyldb
|
||||
Summary: Python bindings for the LDB library
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{libldb_name} = %{version}
|
||||
|
||||
%description -n pyldb
|
||||
This package contains the python bindings for the LDB library.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -n ldb-%{version} -q
|
||||
|
||||
@ -124,10 +133,13 @@ DESTDIR=${RPM_BUILD_ROOT} make install
|
||||
|
||||
%postun -n %{libldb_name} -p /sbin/ldconfig
|
||||
|
||||
%post -n pyldb -p /sbin/ldconfig
|
||||
|
||||
%postun -n pyldb -p /sbin/ldconfig
|
||||
|
||||
%files -n %{libldb_name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libldb.so.*
|
||||
%{_libdir}/libpyldb-util.so.*
|
||||
%dir %{_libdir}/ldb
|
||||
%{_libdir}/ldb/asq.so
|
||||
%{_libdir}/ldb/paged_results.so
|
||||
@ -152,7 +164,6 @@ DESTDIR=${RPM_BUILD_ROOT} make install
|
||||
%{_libdir}/libpyldb-util.so
|
||||
%{_libdir}/pkgconfig/ldb.pc
|
||||
%{_libdir}/pkgconfig/pyldb-util.pc
|
||||
%{python_sitearch}/ldb.so
|
||||
|
||||
%files -n ldb-tools
|
||||
%defattr(-,root,root)
|
||||
@ -163,4 +174,9 @@ DESTDIR=${RPM_BUILD_ROOT} make install
|
||||
%{_bindir}/ldbrename
|
||||
%{_bindir}/ldbsearch
|
||||
|
||||
%files -n pyldb
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/ldb.so
|
||||
%{_libdir}/libpyldb-util.so.*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user