From 157b79454fdbd19f743ceed3cf09a8f0a8be24cdfe7fcc6361d457084cbb1ba2 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 15 Nov 2021 07:23:11 +0000 Subject: [PATCH] Accepting request 926300 from home:aschnell:branches:Base:System fixed name of shared library package and split off libparted-fs-resize (bsc#1191778) OBS-URL: https://build.opensuse.org/request/show/926300 OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=151 --- baselibs.conf | 3 ++- parted.changes | 6 ++++++ parted.spec | 31 ++++++++++++++++++++++++------- 3 files changed, 32 insertions(+), 8 deletions(-) diff --git a/baselibs.conf b/baselibs.conf index 68e421f..b5e964e 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,3 +1,4 @@ -libparted0 +libparted2 obsoletes "parted- <= 2.3.10" provides "parted- = " +libparted-fs-resize0 diff --git a/parted.changes b/parted.changes index bdf90fc..cd0dbc3 100644 --- a/parted.changes +++ b/parted.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 19 13:16:11 CEST 2021 - aschnell@suse.com + +- fixed name of shared library package and split off + libparted-fs-resize (bsc#1191778) + ------------------------------------------------------------------- Tue Oct 19 09:48:22 UTC 2021 - Dominique Leuenberger diff --git a/parted.spec b/parted.spec index 19015a6..e0e5dc6 100644 --- a/parted.spec +++ b/parted.spec @@ -101,11 +101,20 @@ Obsoletes: parted-64bit GNU Parted is a program for creating, destroying, resizing, checking, and copying partitions, and the file systems on them. -%package -n libparted0 +%package -n libparted2 +Summary: Library for manipulating partitions +Group: System/Libraries +Obsoletes: libparted0 + +%description -n libparted2 +Libparted is a library for creating, destroying, resizing, checking +and copying partitions and the file systems on them. + +%package -n libparted-fs-resize0 Summary: Library for manipulating partitions Group: System/Libraries -%description -n libparted0 +%description -n libparted-fs-resize0 Libparted is a library for creating, destroying, resizing, checking and copying partitions and the file systems on them. @@ -113,7 +122,8 @@ and copying partitions and the file systems on them. Summary: Parted Include Files and Libraries necessary for Development Group: Development/Libraries/C and C++ Requires: device-mapper-devel >= 1.02.33 -Requires: libparted0 = %version +Requires: libparted-fs-resize0 = %version +Requires: libparted2 = %version # bug437293 %ifarch ppc64 Obsoletes: parted-devel-64bit @@ -187,8 +197,11 @@ rm %{buildroot}%{_libdir}/*.la %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz -%post -n libparted0 -p /sbin/ldconfig -%postun -n libparted0 -p /sbin/ldconfig +%post -n libparted2 -p /sbin/ldconfig +%postun -n libparted2 -p /sbin/ldconfig + +%post -n libparted-fs-resize0 -p /sbin/ldconfig +%postun -n libparted-fs-resize0 -p /sbin/ldconfig %files %defattr(-,root,root) @@ -205,9 +218,13 @@ rm %{buildroot}%{_libdir}/*.la %{_libdir}/pkgconfig/libparted*.pc %{_libdir}/*.so -%files -n libparted0 +%files -n libparted2 %defattr(-,root,root) -%{_libdir}/*.so.* +%{_libdir}/libparted.so.* + +%files -n libparted-fs-resize0 +%defattr(-,root,root) +%{_libdir}/libparted-fs-resize.so.* %files lang -f %{name}.lang