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

glen glen at pld-linux.org
Thu Oct 20 20:36:52 CEST 2011


Author: glen                         Date: Thu Oct 20 18:36:52 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rename to talloc, like upstream

---- Files affected:
packages/talloc:
   talloc.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: packages/talloc/talloc.spec
diff -u packages/talloc/talloc.spec:1.16 packages/talloc/talloc.spec:1.17
--- packages/talloc/talloc.spec:1.16	Mon Sep 19 21:29:05 2011
+++ packages/talloc/talloc.spec	Thu Oct 20 20:36:47 2011
@@ -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
@@ -31,7 +32,9 @@
 Summary:	Development files for the talloc library
 Summary(pl.UTF-8):	Pliki programistyczne biblioteki talloc
 Group:		Development/Libraries
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	%{name} = %{version}-%{release}
+Provides:	libtalloc-devel = 2:%{version}-%{release}
+Obsoletes:	libtalloc-devel < 2:2.0.7-1
 Obsoletes:	libtalloc-static
 
 %description devel
@@ -46,7 +49,7 @@
 Summary:	Python binding for talloc library
 Summary(pl.UTF-8):	Wiązanie Pythona do biblioteki talloc
 Group:		Libraries/Python
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	%{name} = %{version}-%{release}
 Requires:	python-libs >= 1:2.4.2
 
 %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}
 
 %description -n python-talloc-devel
 Development files for pytalloc-util library.
@@ -70,7 +73,7 @@
 Pliki programistyczne biblioteki pytalloc-util.
 
 %prep
-%setup -q -n talloc-%{version}
+%setup -q
 
 %build
 # note: configure in fact is waf call
@@ -96,7 +99,7 @@
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
-%triggerpostun -p /sbin/postshell -- %{name} < 2:2.0.1-5
+%triggerpostun -p /sbin/postshell -- libtalloc < 2:2.0.1-5
 -rm -f %{_libdir}/libtalloc.so.2
 /sbin/ldconfig
 
@@ -131,6 +134,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2011/10/20 18:36:47  glen
+- rename to talloc, like upstream
+
 Revision 1.16  2011/09/19 19:29:05  qboosh
 - updated to 2.0.7
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/talloc/talloc.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list