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