SHA256
1
0
forked from pool/libcdio

Accepting request 925680 from home:iznogood:branches:multimedia:libs

Fixes build with new rpmlint (See staging A )
- Bump cdiopp_name libcdio++0 to libcdio++1, this was missed when
  it was bumped by upstream. Followup change in baselibs.conf to.
- Split out new subpackage libiso9660++0, add needed Requires and
  entry in baselibs.conf.

OBS-URL: https://build.opensuse.org/request/show/925680
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcdio?expand=0&rev=64
This commit is contained in:
Matej Cepl 2021-10-17 12:40:21 +00:00 committed by Git OBS Bridge
parent d3cd7c1162
commit 8da909d76f
4 changed files with 29 additions and 6 deletions

View File

@ -2,7 +2,8 @@ libcdio19
obsoletes "libcdio-<targettype> <= <version>"
provides "libcdio-<targettype> = <version>"
libiso9660-11
libcdio++0
libiso9660++0
libcdio++1
libudf0
#libcdio_cdda1
#libcdio_paranoia1

View File

@ -1,7 +1,7 @@
#
# spec file for package cdio-utils
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Oct 16 11:58:37 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Bump cdiopp_name libcdio++0 to libcdio++1, this was missed when
it was bumped by upstream. Followup change in baselibs.conf to.
- Split out new subpackage libiso9660++0, add needed Requires and
entry in baselibs.conf.
-------------------------------------------------------------------
Tue Jul 16 10:51:54 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package libcdio
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,8 +17,9 @@
%define cdio_name libcdio19
%define cdiopp_name libcdio++0
%define cdiopp_name libcdio++1
%define iso9660_name libiso9660-11
%define iso9660pp_name libiso9660++0
%define udf_name libudf0
Name: libcdio
Version: 2.1.0
@ -41,7 +42,7 @@ BuildRequires: pkgconfig
BuildRequires: popt-devel
BuildRequires: pkgconfig(libcddb)
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
Requires(preun):%{install_info_prereq}
%description
The libcdio package contains libraries for CD-ROM and CD image
@ -78,6 +79,14 @@ Group: System/Libraries
%description -n %{iso9660_name}
A library for working with ISO 9660 filesystems, which are mainly used on CDs.
%package -n %{iso9660pp_name}
Summary: Library for working with ISO 9660 filesystems
Group: System/Libraries
%description -n %{iso9660pp_name}
A library for working with ISO 9660 filesystems, which are mainly used on CDs.
This subpackage contains the C++ API library for cdio.
%package -n %{udf_name}
Summary: Library for working with Universal Disk Format filesystems
Group: System/Libraries
@ -92,9 +101,10 @@ Group: Development/Languages/C and C++
Requires: %{cdio_name} = %{version}
Requires: %{cdiopp_name} = %{version}
Requires: %{iso9660_name} = %{version}
Requires: %{iso9660pp_name} = %{version}
Requires: %{udf_name} = %{version}
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
Requires(preun):%{install_info_prereq}
%description devel
The libcdio package contains libraries for CD-ROM and CD image
@ -134,10 +144,12 @@ make %{?_smp_mflags} check
%post -n %{cdio_name} -p /sbin/ldconfig
%post -n %{cdiopp_name} -p /sbin/ldconfig
%post -n %{iso9660_name} -p /sbin/ldconfig
%post -n %{iso9660pp_name} -p /sbin/ldconfig
%post -n %{udf_name} -p /sbin/ldconfig
%postun -n %{cdio_name} -p /sbin/ldconfig
%postun -n %{cdiopp_name} -p /sbin/ldconfig
%postun -n %{iso9660_name} -p /sbin/ldconfig
%postun -n %{iso9660pp_name} -p /sbin/ldconfig
%postun -n %{udf_name} -p /sbin/ldconfig
%post devel
@ -151,6 +163,8 @@ make %{?_smp_mflags} check
%files -n %{cdiopp_name}
%{_libdir}/libcdio++.so.*
%files -n %{iso9660pp_name}
%{_libdir}/libiso9660++.so.*
%files -n %{iso9660_name}