[glade/f17] Avoid changing the libgladui soname
Kalev Lember
kalev at fedoraproject.org
Sun Sep 23 12:33:27 UTC 2012
commit 19a91dc1762bb1526e82350d33455ca461cec0e9
Author: Kalev Lember <kalevlember at gmail.com>
Date: Sun Sep 23 14:31:36 2012 +0200
Avoid changing the libgladui soname
No interface changes in the libgladeui library compared to the previous
3.12.1 build in F17.
https://bugzilla.gnome.org/show_bug.cgi?id=684455
glade-3.12.2-soname.patch | 11 +++++++++++
glade.spec | 14 +++++++++++++-
2 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/glade-3.12.2-soname.patch b/glade-3.12.2-soname.patch
new file mode 100644
index 0000000..e698459
--- /dev/null
+++ b/glade-3.12.2-soname.patch
@@ -0,0 +1,11 @@
+--- glade-3.12.2/configure.ac.orig 2012-09-23 13:40:30.516220520 +0200
++++ glade-3.12.2/configure.ac 2012-09-23 13:40:45.425904582 +0200
+@@ -51,7 +51,7 @@
+ # If any interfaces have been removed since the last public release, then set GLADE_AGE to 0.
+ # Reference: http://www.gnu.org/software/libtool/manual.html#Versioning
+ GLADE_REVISION=0
+-GLADE_CURRENT=2
++GLADE_CURRENT=0
+ GLADE_AGE=0
+ GLADE_CURRENT_MINUS_AGE=`expr $GLADE_CURRENT - $GLADE_AGE`
+ AC_SUBST(GLADE_REVISION)
diff --git a/glade.spec b/glade.spec
index 429ae29..b3e4f8b 100644
--- a/glade.spec
+++ b/glade.spec
@@ -1,6 +1,6 @@
Name: glade
Version: 3.12.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: User Interface Designer for GTK+ and GNOME
# - /usr/bin/glade is GPLv2+
@@ -10,6 +10,10 @@ Summary: User Interface Designer for GTK+ and GNOME
License: GPLv2+ and LGPLv2+
URL: http://glade.gnome.org/
Source0: http://ftp.gnome.org/pub/GNOME/sources/glade/3.12/glade-%{version}.tar.xz
+# Avoid changing the libgladui soname; no interface changes in the library
+# compared to 3.12.1 release.
+# https://bugzilla.gnome.org/show_bug.cgi?id=684455
+Patch0: glade-3.12.2-soname.patch
BuildRequires: chrpath
BuildRequires: desktop-file-utils
@@ -21,6 +25,10 @@ BuildRequires: libxml2-devel
BuildRequires: pygobject3-devel
BuildRequires: python2-devel
+# For patch0:
+BuildRequires: autoconf automake libtool
+BuildRequires: gnome-common
+
Requires: %{name}-libs = %{version}-%{release}
# The gtk3 version of glade was packaged under the name of 'glade3' for a
# while. However, following upstream naming, 'glade3' package is now the gtk2
@@ -58,6 +66,7 @@ developing applications that use Glade widget library.
%prep
%setup -q
+%patch0 -p1 -b .soname
%build
@@ -130,6 +139,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%doc %{_datadir}/gtk-doc/
%changelog
+* Sun Sep 23 2012 Kalev Lember <kalevlember at gmail.com> - 3.12.2-2
+- Avoid changing the libgladui soname
+
* Thu Sep 20 2012 Kalev Lember <kalevlember at gmail.com> - 3.12.2-1
- Update to 3.12.2
More information about the scm-commits
mailing list