[packages/libreport] rename python bindings package to python-libreport

glen glen at pld-linux.org
Fri May 17 20:57:56 CEST 2013


commit 00cca651bd657f029bc6db6f9960f700fb0d8ee3
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri May 17 21:57:40 2013 +0300

    rename python bindings package to python-libreport

 libreport.spec | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/libreport.spec b/libreport.spec
index 72cc03a..831c130 100644
--- a/libreport.spec
+++ b/libreport.spec
@@ -2,7 +2,7 @@ Summary:	Generic library for reporting various problems
 Summary(pl.UTF-8):	Ogólna biblioteka do zgłaszania różnych problemów
 Name:		libreport
 Version:	2.1.3
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Libraries
 Source0:	https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
@@ -87,16 +87,18 @@ Development headers for libreport-web.
 %description web-devel -l pl.UTF-8
 Pliki nagłówkowe biblioteki libreport-web.
 
-%package python
+%package -n python-%{name}
 Summary:	Python bindings for libreport libraries
 Summary(pl.UTF-8):	Wiązania Pythona dla bibliotek libreport
 Group:		Libraries/Python
 Requires:	%{name} = %{version}-%{release}
+Provides:	%{name}-python = %{version}-%{release}
+Obsoletes:	libreport-python < 2.1.3-1
 
-%description python
+%description -n python-%{name}
 Python bindings for libreport libraries.
 
-%description python -l pl.UTF-8
+%description -n python-%{name} -l pl.UTF-8
 Wiązania Pythona dla bibliotek libreport
 
 %package cli
@@ -373,7 +375,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/libreport/libreport_curl.h
 %{_pkgconfigdir}/libreport-web.pc
 
-%files python
+%files -n python-%{name}
 %defattr(644,root,root,755)
 %{py_sitedir}/report
 %{py_sitedir}/reportclient
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libreport.git/commitdiff/00cca651bd657f029bc6db6f9960f700fb0d8ee3



More information about the pld-cvs-commit mailing list