Define library name and use it instead of libtalloc2.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/talloc?expand=0&rev=7
This commit is contained in:
parent
c635925c2d
commit
dc39e83fec
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 3 21:13:08 UTC 2012 - lmuelle@suse.com
|
||||||
|
|
||||||
|
- Define library name and use it instead of libtalloc2.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 2 15:05:32 UTC 2012 - lmuelle@suse.com
|
Sat Jun 2 15:05:32 UTC 2012 - lmuelle@suse.com
|
||||||
|
|
||||||
|
15
talloc.spec
15
talloc.spec
@ -54,12 +54,13 @@ destructors.
|
|||||||
It is the core memory allocator used in Samba.
|
It is the core memory allocator used in Samba.
|
||||||
|
|
||||||
|
|
||||||
%package -n libtalloc2
|
%define libtalloc_name libtalloc2
|
||||||
|
%package -n %{libtalloc_name}
|
||||||
License: LGPL-3.0+
|
License: LGPL-3.0+
|
||||||
Summary: Libraries and Header Files to Develop Programs with talloc2 Support
|
Summary: Libraries and Header Files to Develop Programs with talloc2 Support
|
||||||
Provides: bundled(libreplace)
|
Provides: bundled(libreplace)
|
||||||
|
|
||||||
%description -n libtalloc2
|
%description -n %{libtalloc_name}
|
||||||
Talloc is a hierarchical, reference counted memory pool system with
|
Talloc is a hierarchical, reference counted memory pool system with
|
||||||
destructors.
|
destructors.
|
||||||
|
|
||||||
@ -72,7 +73,7 @@ This package includes the talloc2 library.
|
|||||||
License: LGPL-3.0+
|
License: LGPL-3.0+
|
||||||
Summary: Libraries and Header Files to Develop Programs with talloc2 Support
|
Summary: Libraries and Header Files to Develop Programs with talloc2 Support
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libtalloc2 = %{version}
|
Requires: %{libtalloc_name} = %{version}
|
||||||
|
|
||||||
%description -n libtalloc-devel
|
%description -n libtalloc-devel
|
||||||
Talloc is a hierarchical, reference counted memory pool system with
|
Talloc is a hierarchical, reference counted memory pool system with
|
||||||
@ -87,7 +88,7 @@ Libraries and Header Files to Develop Programs with talloc2 Support
|
|||||||
License: LGPL-3.0+
|
License: LGPL-3.0+
|
||||||
Summary: Python bindings for the Talloc library
|
Summary: Python bindings for the Talloc library
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: libtalloc2 = %{version}
|
Requires: %{libtalloc_name} = %{version}
|
||||||
|
|
||||||
%description -n pytalloc
|
%description -n pytalloc
|
||||||
This package contains the python bindings for the Talloc library.
|
This package contains the python bindings for the Talloc library.
|
||||||
@ -131,15 +132,15 @@ doxygen doxy.config
|
|||||||
%install
|
%install
|
||||||
DESTDIR=${RPM_BUILD_ROOT} make install
|
DESTDIR=${RPM_BUILD_ROOT} make install
|
||||||
|
|
||||||
%post -n libtalloc2 -p /sbin/ldconfig
|
%post -n %{libtalloc_name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libtalloc2 -p /sbin/ldconfig
|
%postun -n %{libtalloc_name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n pytalloc -p /sbin/ldconfig
|
%post -n pytalloc -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n pytalloc -p /sbin/ldconfig
|
%postun -n pytalloc -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libtalloc2
|
%files -n %{libtalloc_name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libtalloc.so.*
|
%{_libdir}/libtalloc.so.*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user