[qqwing] Revert soname bump.
catanzaro
catanzaro at fedoraproject.org
Sun Sep 21 16:45:49 UTC 2014
commit d57d90b607481d4f8e6ad4f760b89100f0311f60
Author: Michael Catanzaro <mcatanzaro at gnome.org>
Date: Sun Sep 21 11:45:50 2014 -0500
Revert soname bump.
qqwing.spec | 15 +++++++++++++--
revert-soname-bump.patch | 28 ++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 2 deletions(-)
---
diff --git a/qqwing.spec b/qqwing.spec
index 723b6c4..2da4dbc 100644
--- a/qqwing.spec
+++ b/qqwing.spec
@@ -1,6 +1,6 @@
Name: qqwing
Version: 1.3.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Command-line Sudoku solver and generator
License: GPLv2+
@@ -8,6 +8,12 @@ URL: http://qqwing.com/
Source0: http://qqwing.com/qqwing-%{version}.tar.gz
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
+# https://github.com/stephenostermiller/qqwing/pull/9
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+Patch0: revert-soname-bump.patch
+
%description
QQwing is a command-line Sudoku solver and generator.
@@ -27,9 +33,11 @@ developing applications that use libqqwing.
%prep
%setup -q
-
+%patch0 -p1
%build
+# autoreconf for revert-soname-bump.patch
+autoreconf -fi
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@@ -60,6 +68,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_libdir}/pkgconfig/qqwing.pc
%changelog
+* Sun Sep 21 2014 Michael Catanzaro <mcatanzaro at gnome.org> - 1.3.0-2
+- Revert soname bump.
+
* Sat Sep 20 2014 Michael Catanzaro <mcatanzaro at gnome.org> - 1.3.0-1
- Update to 1.3.0.
- Update URLs.
diff --git a/revert-soname-bump.patch b/revert-soname-bump.patch
new file mode 100644
index 0000000..56294d1
--- /dev/null
+++ b/revert-soname-bump.patch
@@ -0,0 +1,28 @@
+From e42ef5bacd4058afc7209b7293294b1b84039574 Mon Sep 17 00:00:00 2001
+From: Michael Catanzaro <mike.catanzaro at gmail.com>
+Date: Sun, 21 Sep 2014 10:22:53 -0500
+Subject: [PATCH] Revert soname bump
+
+This must have been a mistake, since the C++ library hasn't changed at all. Best to only increment age in tandem with current.
+---
+ build/configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/onfigure.ac
+index ee795f0..eddbd8f 100755
+--- a/configure.ac
++++ b/configure.ac
+@@ -12,8 +12,8 @@ AC_CONFIG_HEADER([config.h])
+ # change to C+1:0:0
+ # - If the interface is the same as the previous version, change to C:R+1:A
+ QQWING_CURRENT=2
+-QQWING_REVISION=0
+-QQWING_AGE=1
++QQWING_REVISION=1
++QQWING_AGE=0
+
+ AC_SUBST([QQWING_CURRENT])
+ AC_SUBST([QQWING_REVISION])
+--
+1.9.3
+
More information about the scm-commits
mailing list