Revert inadvertent soname bump

This commit is contained in:
Kalev Lember 2019-08-20 16:00:01 +02:00
parent e83849cdeb
commit abfaa4cbf6
2 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,29 @@
From 784743e5e7a11b47d0495582044f89bb703f5e78 Mon Sep 17 00:00:00 2001
From: Kalev Lember <klember@redhat.com>
Date: Tue, 20 Aug 2019 15:57:57 +0200
Subject: [PATCH] build: Use the same soname as 1.22.x
The switch to meson inadvertently bumped soname. Switch it back to what
it was with the autotools build.
https://gitlab.gnome.org/GNOME/libpeas/issues/31
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index d4a481c..ddd0283 100644
--- a/meson.build
+++ b/meson.build
@@ -30,7 +30,7 @@ endif
# Compatibility with libtool versioning:
# current = minor * 100 + micro - interface
# revision = interface
-lib_version_soversion = version_major
+lib_version_soversion = 0
lib_version_current = version_minor * 100 + version_micro - interface_age
lib_version_revision = interface_age
lib_version = '@0@.@1@.@2@'.format(
--
2.21.0

View File

@ -6,13 +6,15 @@
Name: libpeas
Version: 1.23.90.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Plug-ins implementation convenience library
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/Libpeas
Source0: https://download.gnome.org/sources/%{name}/1.23/%{name}-%{version}.tar.xz
Patch0: 0001-build-Use-the-same-soname-as-1.22.x.patch
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: gtk-doc
@ -109,6 +111,9 @@ that are needed to write applications that use libpeas.
%{_datadir}/glade/catalogs/libpeas-gtk.xml
%changelog
* Tue Aug 20 2019 Kalev Lember <klember@redhat.com> - 1.23.90.1-2
- Revert inadvertent soname bump
* Tue Aug 20 2019 Kalev Lember <klember@redhat.com> - 1.23.90.1-1
- Update to 1.23.90.1
- Switch to the meson build system