Accepting request 340500 from home:lmuelle:pysamba

Rename pytalloc to python-talloc.

OBS-URL: https://build.opensuse.org/request/show/340500
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/talloc?expand=0&rev=52
This commit is contained in:
Lars Müller 2015-10-22 21:36:09 +00:00 committed by Git OBS Bridge
parent 696977368c
commit c678ab2e00
3 changed files with 19 additions and 10 deletions

View File

@ -1,2 +1,2 @@
libtalloc2
pytalloc
python-talloc

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Oct 22 20:41:47 UTC 2015 - lmuelle@suse.com
- Rename pytalloc to python-talloc.
-------------------------------------------------------------------
Thu Oct 22 18:07:41 UTC 2015 - lmuelle@suse.com

View File

@ -90,27 +90,31 @@ It is the core memory allocator used in Samba.
Libraries and Header Files to Develop Programs with talloc2 Support
%package -n pytalloc
%package -n python-talloc
Summary: Python bindings for the Talloc library
Group: Development/Libraries/Python
Requires: %{libtalloc_name} = %{version}
PreReq: /sbin/ldconfig
Provides: pytalloc = %{version}
Obsoletes: pytalloc < %{version}
%description -n pytalloc
%description -n python-talloc
This package contains the python bindings for the Talloc library.
%package -n pytalloc-devel
%package -n python-talloc-devel
Summary: Developer tools for the Talloc library
Group: Development/Libraries/Python
Requires: pytalloc = %{version}
Requires: python-talloc = %{version}
%if 0%{?suse_version} > 1020
Requires: pkg-config
%else
Requires: pkgconfig
%endif
Provides: pytalloc-devel = %{version}
Obsoletes: pytalloc-devel < %{version}
%description -n pytalloc-devel
%description -n python-talloc-devel
Libraries and Header Files to Develop Programs with pytalloc Support
@ -147,9 +151,9 @@ DESTDIR=${RPM_BUILD_ROOT} make install
%postun -n %{libtalloc_name} -p /sbin/ldconfig
%post -n pytalloc -p /sbin/ldconfig
%post -n python-talloc -p /sbin/ldconfig
%postun -n pytalloc -p /sbin/ldconfig
%postun -n python-talloc -p /sbin/ldconfig
%files -n %{libtalloc_name}
%defattr(-,root,root)
@ -164,12 +168,12 @@ DESTDIR=${RPM_BUILD_ROOT} make install
%{_mandir}/man3/talloc.3*
%endif
%files -n pytalloc
%files -n python-talloc
%defattr(-,root,root)
%{_libdir}/libpytalloc-util.so.*
%{python_sitearch}/talloc.so
%files -n pytalloc-devel
%files -n python-talloc-devel
%defattr(-,root,root,-)
%{_includedir}/pytalloc.h
%{_libdir}/pkgconfig/pytalloc-util.pc