From abfaa4cbf632d9be6b3b40cb05f1801519cc38be Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 20 Aug 2019 16:00:01 +0200 Subject: [PATCH] Revert inadvertent soname bump --- ...-build-Use-the-same-soname-as-1.22.x.patch | 29 +++++++++++++++++++ libpeas.spec | 7 ++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 0001-build-Use-the-same-soname-as-1.22.x.patch diff --git a/0001-build-Use-the-same-soname-as-1.22.x.patch b/0001-build-Use-the-same-soname-as-1.22.x.patch new file mode 100644 index 0000000..e04dfab --- /dev/null +++ b/0001-build-Use-the-same-soname-as-1.22.x.patch @@ -0,0 +1,29 @@ +From 784743e5e7a11b47d0495582044f89bb703f5e78 Mon Sep 17 00:00:00 2001 +From: Kalev Lember +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 + diff --git a/libpeas.spec b/libpeas.spec index 6e3e066..aceeb60 100644 --- a/libpeas.spec +++ b/libpeas.spec @@ -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 - 1.23.90.1-2 +- Revert inadvertent soname bump + * Tue Aug 20 2019 Kalev Lember - 1.23.90.1-1 - Update to 1.23.90.1 - Switch to the meson build system