Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libcmpiutil for openSUSE:Factory checked in at 2022-04-27 21:41:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcmpiutil (Old) and /work/SRC/openSUSE:Factory/.libcmpiutil.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcmpiutil" Wed Apr 27 21:41:55 2022 rev:23 rq:973112 version:0.5.7 Changes: -------- --- /work/SRC/openSUSE:Factory/libcmpiutil/libcmpiutil.changes 2015-06-10 09:16:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libcmpiutil.new.1538/libcmpiutil.changes 2022-04-27 21:42:07.897070908 +0200 @@ -1,0 +2,8 @@ +Wed Apr 27 09:34:33 UTC 2022 - Jan Engelhardt <jeng...@inai.de> + +- Resolve rpmlint report "libcmpiutil.x86_64: E: + shlib-policy-name-error SONAME: libcmpiutil.so.0, expected + package suffix: 0" +- Throw out old specfile constructs + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcmpiutil.spec ++++++ --- /var/tmp/diff_new_pack.afS8dk/_old 2022-04-27 21:42:08.509071655 +0200 +++ /var/tmp/diff_new_pack.afS8dk/_new 2022-04-27 21:42:08.517071665 +0200 @@ -1,7 +1,7 @@ # # spec file for package libcmpiutil # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,15 +12,23 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: libcmpiutil +Version: 0.5.7 +Release: 0 +Summary: Library of utility functions for CMPI providers +License: LGPL-2.1-or-later +URL: http://libvirt.org/CIM/ +Group: Development/Libraries/C and C++ +Source: %{name}-%{version}.tar.bz2 +Patch1: fix-arm.patch +Patch2: 0001-libcmpiutil-Fix-endianness-issues-in-embedded-object.patch BuildRequires: bison BuildRequires: flex BuildRequires: libxml2-devel -BuildRequires: sblim-cmpi-devel %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} BuildRequires: pkgconfig %else @@ -30,15 +38,8 @@ BuildRequires: pkg-config %endif %endif -Url: http://libvirt.org/CIM/ -Version: 0.5.7 -Release: 0 -Summary: Library of utility functions for CMPI providers -License: LGPL-2.1+ -Group: Development/Libraries/C and C++ -Source: %{name}-%{version}.tar.bz2 -Patch1: fix-arm.patch -Patch2: 0001-libcmpiutil-Fix-endianness-issues-in-embedded-object.patch +BuildRequires: sblim-cmpi-devel +# SLE11 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -48,26 +49,23 @@ This extends from operations like getting typed instance properties to standardizing method dispatch and argument checking. +%package -n libcmpiutil0 +Summary: Library of utility functions for CMPI providers +Group: Development/Libraries/C and C++ +Obsoletes: libcmpiutil < %{version}-%{release} - -Authors: --------- - Dan Smith <da...@us.ibm.com> +%description -n libcmpiutil0 +Libcmpiutil is a library of utility functions for CMPI providers. The +goal is to reduce the amount of repetitive work done in most CMPI +providers by encapsulating common procedures with more "normal" APIs. +This extends from operations like getting typed instance properties to +standardizing method dispatch and argument checking. %package devel Summary: Library of utility functions for CMPI providers Group: Development/Libraries/C and C++ +Requires: libcmpiutil0 = %{version}-%{release} Requires: sblim-cmpi-devel -%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} -Requires: pkgconfig -%else -%if 0%{?suse_version} < 920 -Requires: pkgconfig -%else -Requires: pkg-config -%endif -%endif -Requires: %{name} = %{version}-%{release} %description devel Libcmpiutil is a library of utility functions for CMPI providers. The @@ -76,7 +74,6 @@ This extends from operations like getting typed instance properties to standardizing method dispatch and argument checking. - %prep %setup -q %ifarch %arm @@ -86,22 +83,22 @@ chmod -x *.c *.y *.h *.l %build -export CFLAGS="$RPM_OPT_FLAGS -fgnu89-inline" +export CFLAGS="%{optflags} -fgnu89-inline" %configure --enable-static=no -make +%if 0%{?make_build:1} +%make_build +%else +make %{?_smp_mflags} +%endif %install %makeinstall -%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la} - -%clean -%{__rm} -rf $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig +rm -f %{buildroot}/%{_libdir}/*.{a,la} -%postun -p /sbin/ldconfig +%post -n libcmpiutil0 -p /sbin/ldconfig +%postun -n libcmpiutil0 -p /sbin/ldconfig -%files +%files -n libcmpiutil0 %defattr(-, root, root, -) %doc doc/doxygen.conf doc/mainpage README COPYING %{_libdir}/lib*.so.*