Hello community, here is the log from the commit of package librest for openSUSE:Factory checked in at 2017-10-13 14:06:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/librest (Old) and /work/SRC/openSUSE:Factory/.librest.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "librest" Fri Oct 13 14:06:11 2017 rev:24 rq:532468 version:0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/librest/librest.changes 2016-06-03 16:33:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.librest.new/librest.changes 2017-10-13 14:06:13.030270582 +0200 @@ -1,0 +2,8 @@ +Tue Apr 25 14:22:10 UTC 2017 - [email protected] + +- Use librest-0_7-0 as shared library name, similar to how it is + done for libmwaw-0_3. +- Drop redundant %clean section; use %_smp_mflags for parallel + build. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ librest.spec ++++++ --- /var/tmp/diff_new_pack.eEj2qL/_old 2017-10-13 14:06:14.346212712 +0200 +++ /var/tmp/diff_new_pack.eEj2qL/_new 2017-10-13 14:06:14.346212712 +0200 @@ -1,7 +1,7 @@ # # spec file for package librest # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,9 +18,10 @@ Name: librest %define _name rest -%define soname 0 +%define sover 0 %define abi 0.7 %define abi_pkg 0_7 +%define libname librest-%{abi_pkg}-%{sover} Version: 0.8.0 Release: 0 Summary: Library to access RESTful web services @@ -48,12 +49,14 @@ wrapper around libsoup. * the second aids with XML parsing by wrapping libxml2. -%package -n librest%{soname} +%package -n %{libname} Summary: Library to access RESTful web services Group: System/Libraries Recommends: config(ca-certificates) +Obsoletes: librest0 < %{version}-%{release} +Provides: librest0 = %{version}-%{release} -%description -n librest%{soname} +%description -n %{libname} This library was designed to make it easier to access web services that claim to be "RESTful". A reasonable description is that a RESTful service should have urls that represent remote objects, which methods @@ -80,7 +83,7 @@ %package devel Summary: Library to access RESTful web services - Development Files Group: Development/Libraries/GNOME -Requires: librest%{soname} = %{version} +Requires: %{libname} = %{version} Requires: typelib-1_0-Rest-%{abi_pkg} = %{version} %description devel @@ -96,26 +99,22 @@ %configure \ --disable-static \ --with-ca-certificates=/etc/ssl/ca-bundle.pem -%__make %{?jobs:-j%jobs} V=1 +make %{?_smp_mflags} V=1 %install %makeinstall find %{buildroot} -type f -name "*.la" -delete -print -%clean -%{__rm} -rf %{buildroot} +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig -%post -n librest%{soname} -p /sbin/ldconfig - -%postun -n librest%{soname} -p /sbin/ldconfig - -%files -n librest%{soname} +%files -n %{libname} %defattr(-, root, root) %doc AUTHORS COPYING README -%{_libdir}/librest-%{abi}.so.%{soname} -%{_libdir}/librest-%{abi}.so.%{soname}.* -%{_libdir}/librest-extras-%{abi}.so.%{soname} -%{_libdir}/librest-extras-%{abi}.so.%{soname}.* +%{_libdir}/librest-%{abi}.so.%{sover} +%{_libdir}/librest-%{abi}.so.%{sover}.* +%{_libdir}/librest-extras-%{abi}.so.%{sover} +%{_libdir}/librest-extras-%{abi}.so.%{sover}.* %files -n typelib-1_0-Rest-%{abi_pkg} %defattr(-, root, root) ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.eEj2qL/_old 2017-10-13 14:06:14.398210426 +0200 +++ /var/tmp/diff_new_pack.eEj2qL/_new 2017-10-13 14:06:14.398210426 +0200 @@ -1 +1,3 @@ -librest0 +librest-0_7-0 + obsoletes "librest0 < <version>" + provides "librest0 = <version>"
