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
This commit is contained in:
Richard Brown 2019-09-23 09:21:52 +00:00 committed by Git OBS Bridge
parent 5a8cb79e51
commit 557a983daa
3 changed files with 23 additions and 3 deletions

View File

@ -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/
#

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 28 11:17:12 UTC 2019 - Fabian Vogt <fvogt@suse.com>
- Split librpmbuild into a separate subpackage, it's pulled in by
python-rpm
-------------------------------------------------------------------
Fri Aug 23 07:19:03 UTC 2019 - Martin Liška <mliska@suse.cz>

View File

@ -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