packages: talloc/talloc.spec - rename to talloc, like upstream

Jakub Bogusz qboosh at pld-linux.org
Fri Oct 21 06:51:02 CEST 2011


On Thu, Oct 20, 2011 at 08:36:52PM +0200, glen wrote:
> Author: glen                         Date: Thu Oct 20 18:36:52 2011 GMT
> Module: packages                      Tag: HEAD
> ---- Log message:
> - rename to talloc, like upstream

> @@ -1,13 +1,12 @@
>  # $Revision$, $Date$
>  Summary:	The talloc library - a hierarchical pool based memory system
>  Summary(pl.UTF-8):	Biblioteka talloc - system przydzielania pamięci oparty na hierarchicznej puli
> -Name:		libtalloc
> +Name:		talloc
>  Version:	2.0.7
> -Release:	1
> -Epoch:		2
> +Release:	2
>  License:	LGPL v3+
>  Group:		Libraries
> -Source0:	http://samba.org/ftp/talloc/talloc-%{version}.tar.gz
> +Source0:	http://samba.org/ftp/talloc/%{name}-%{version}.tar.gz
>  # Source0-md5:	dbfb3146f4cc47054e13b8a2988299f9
>  URL:		http://talloc.samba.org/
>  BuildRequires:	docbook-dtd42-xml
> @@ -17,6 +16,8 @@
>  BuildRequires:	python-devel >= 1:2.4.2
>  BuildRequires:	python-modules
>  BuildRequires:	rpm-pythonprov
> +Provides:	libtalloc = 2:%{version}-%{release}
> +Obsoletes:	libtalloc < 2:2.0.7-1
>  BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
>  
>  %description
[...]
>  %description -n python-talloc
> @@ -59,9 +62,9 @@
>  Summary:	Development files for pytalloc-util library
>  Summary(pl.UTF-8):	Pliki programistyczne biblioteki pytalloc-util
>  Group:		Development/Libraries
> -Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
> +Requires:	%{name}-devel = %{version}-%{release}
>  Requires:	python-devel >= 1:2.4.2
> -Requires:	python-talloc = %{epoch}:%{version}-%{release}
> +Requires:	python-talloc = %{version}-%{release}

You can't decrease Epoch of already existing python-talloc* subpackages.
Unfortunately Epoch 2 must be preserved for all subpackages.


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list