From de7bee4901b0aea3b17e5fe65673d01e507403d1 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 22 Feb 2008 22:36:03 +0000 Subject: [PATCH] Rename rpm-python subpackage to python-module-rpm (cherry picked from commit 067f680afd18f464fad7be66ee05efb25be9d807) --- rpm-4_0.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rpm-4_0.spec b/rpm-4_0.spec index 96fb43f..cd44e13 100644 --- a/rpm-4_0.spec +++ b/rpm-4_0.spec @@ -193,7 +193,7 @@ This package contains extra scripts and executable programs which arent currently used. %if_with python -%package python +%package -n python-module-rpm Version: %{rpm_version}_%__python_version Summary: Python bindings for apps which will manipulate RPM packages Summary(ru_RU.KOI8-R): Интерфейс для разработки Python-приложений, взаимодействующих с RPM-пакетами @@ -201,8 +201,10 @@ License: GPL/LGPL Group: Development/Python PreReq: lib%name = %rpm_version-%release Requires: python = %__python_version +Provides: rpm-python = %{rpm_version}_%__python_version-%release +Obsoletes: rpm-python -%description python +%description -n python-module-rpm This package contains a module which permits applications written in the Python programming language to use the interface supplied by RPM (RPM Package Manager) libraries. @@ -507,7 +509,7 @@ fi %endif #with build_topdir %if_with python -%files python +%files -n python-module-rpm %_libdir/python*/site-packages/*module.so %endif #with python