Define library name and use it instead of libldb1.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=13
This commit is contained in:
parent
5dfa981eeb
commit
641b973225
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 3 21:18:46 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
- Define library name and use it instead of libldb1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 3 14:03:09 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
|
13
ldb.spec
13
ldb.spec
@ -52,7 +52,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Ldb is an LDAP-like embedded database.
|
||||
|
||||
|
||||
%package -n libldb1
|
||||
%define libldb_name libldb1
|
||||
%package -n %{libldb_name}
|
||||
License: LGPL-3.0+
|
||||
Summary: An LDAP-like embedded database
|
||||
Group: System/Libraries
|
||||
@ -63,7 +64,7 @@ BuildRequires: pkgconfig
|
||||
%endif
|
||||
PreReq: /sbin/ldconfig
|
||||
|
||||
%description -n libldb1
|
||||
%description -n %{libldb_name}
|
||||
Ldb is an LDAP-like embedded database.
|
||||
|
||||
This package includes the ldb1 library.
|
||||
@ -120,13 +121,11 @@ CONFIGURE_OPTIONS="\
|
||||
%install
|
||||
DESTDIR=${RPM_BUILD_ROOT} make install
|
||||
|
||||
%post -n libldb1
|
||||
/sbin/ldconfig
|
||||
%post -n %{libldb_name} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libldb1
|
||||
/sbin/ldconfig
|
||||
%postun -n %{libldb_name} -p /sbin/ldconfig
|
||||
|
||||
%files -n libldb1
|
||||
%files -n %{libldb_name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libldb.so.*
|
||||
%{_libdir}/libpyldb-util.so.*
|
||||
|
Loading…
Reference in New Issue
Block a user