From c678ab2e002110a73034b365eaa3554ad45cfc793f4f3d7421392e058ad1bfc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Thu, 22 Oct 2015 21:36:09 +0000 Subject: [PATCH] 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 --- baselibs.conf | 2 +- talloc.changes | 5 +++++ talloc.spec | 22 +++++++++++++--------- 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/baselibs.conf b/baselibs.conf index a7749dc..b950c3c 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,2 +1,2 @@ libtalloc2 -pytalloc +python-talloc diff --git a/talloc.changes b/talloc.changes index 962585d..fc556fb 100644 --- a/talloc.changes +++ b/talloc.changes @@ -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 diff --git a/talloc.spec b/talloc.spec index f4b348b..af6e690 100644 --- a/talloc.spec +++ b/talloc.spec @@ -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