From e21f94cd4edd45e1f3a8399b1f3581114edc2d0a Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Fri, 12 Feb 2021 13:40:23 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/cairomm.git#9ee2ea9db068898eb15f135d842b9c98225fbbf7 --- cairomm.spec | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/cairomm.spec b/cairomm.spec index b6f7132..73bff27 100644 --- a/cairomm.spec +++ b/cairomm.spec @@ -9,7 +9,7 @@ Name: cairomm Summary: C++ API for the cairo graphics library Version: 1.14.2 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://www.cairographics.org License: LGPLv2+ @@ -57,6 +57,12 @@ BuildRequires: pkgconfig(cairo-xlib-xrender) BuildRequires: pkgconfig(mm-common-libstdc++) BuildRequires: pkgconfig(sigc++-2.0) +# Prepare for future upgrade to API/ABI version 1.16 by introducing a name for +# API/ABI version 1.0. Dependent packages using pkg-config will not need to +# care; those that depend on this package by name, however, will need to be +# updated to require the versioned name. This name is chosen in accordance with +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#multiple. +Provides: %{name}%{apiver}%{_?isa} = %{version}-%{release} %description This library provides a C++ interface to cairo. @@ -66,6 +72,8 @@ This library provides a C++ interface to cairo. Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} +Provides: %{name}%{apiver}-devel%{_?isa} = %{version}-%{release} + %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. @@ -77,6 +85,8 @@ BuildArch: noarch Requires: libstdc++-docs Requires: libsigc++20-doc +Provides: %{name}%{apiver}-doc = %{version}-%{release} + %description doc Documentation for %{name} can be viewed either through the devhelp documentation browser or through a web browser at @@ -147,6 +157,12 @@ cp -rp examples %{buildroot}%{_datadir}/doc/%{name}-%{apiver}/ %changelog +* Thu Feb 11 2021 Benjamin A. Beasley - 1.14.2-4 +- Prepare for future upgrade to API/ABI version 1.16 by introducing virtual + Provides for a name for API/ABI version 1.0: cairomm1.0. This will be the name + of a future package that continues to provide API/ABI version 1.0 after the + upgrade. + * Thu Feb 11 2021 Benjamin A. Beasley - 1.14.2-3 - Switch from autotools to meson; enable the tests, since the meson build system permits us to use a shared boost library