From 557a983daaa620301857a5866e44f36b86648b332894303f37e3d354dd162c3c Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Mon, 23 Sep 2019 09:21:52 +0000 Subject: [PATCH] Accepting request 726741 from home:favogt:branches:Base:System - Split librpmbuild into a separate subpackage, it's pulled in by python-rpm OBS-URL: https://build.opensuse.org/request/show/726741 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=506 --- python-rpm.spec | 2 +- rpm.changes | 6 ++++++ rpm.spec | 18 ++++++++++++++++-- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/python-rpm.spec b/python-rpm.spec index 34ee7ae..e307442 100644 --- a/python-rpm.spec +++ b/python-rpm.spec @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # diff --git a/rpm.changes b/rpm.changes index 3107232..826d0b5 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 28 11:17:12 UTC 2019 - Fabian Vogt + +- Split librpmbuild into a separate subpackage, it's pulled in by + python-rpm + ------------------------------------------------------------------- Fri Aug 23 07:19:03 UTC 2019 - Martin Liška diff --git a/rpm.spec b/rpm.spec index 2f6e999..059a0d7 100644 --- a/rpm.spec +++ b/rpm.spec @@ -12,13 +12,15 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # #Compat macro for new _fillupdir macro introduced in Nov 2017 %{?!_fillupdir:%define _fillupdir /var/adm/fillup-templates} +%global librpmsover 8 + Name: rpm BuildRequires: binutils BuildRequires: bzip2 @@ -152,6 +154,15 @@ is easy to update packages. RPM keeps track of all these manipulations in a central database. This way it is possible to get an overview of all installed packages. RPM also supports database queries. +%package -n librpmbuild%{librpmsover} +Summary: Library for building RPM packages +# Was part of rpm before +Group: System/Libraries +Conflicts: rpm < %{version} + +%description -n librpmbuild%{librpmsover} +Thie package contains a library with functions for building RPM packages. + %package devel Summary: Development files for librpm Group: Development/Libraries/C and C++ @@ -437,10 +448,13 @@ fi %dir %attr(755,root,root) /usr/src/packages/RPMS/* %{_fillupdir}/sysconfig.services-rpm +%files -n librpmbuild%{librpmsover} +%{_libdir}/librpmbuild.so.%{librpmsover} +%{_libdir}/librpmbuild.so.%{librpmsover}.* + %files build %defattr(-,root,root) /usr/bin/rpmbuild -%{_libdir}/librpmbuild.so.* /usr/lib/rpm/elfdeps /usr/lib/rpm/rpmdeps /usr/lib/rpm/debugedit