[json-c/f21: 1/2] SONAME bump
Christopher Meng
cicku at fedoraproject.org
Mon Jul 28 11:38:10 UTC 2014
commit 8d43502974c0242f8fc31ce3c318b68ce5572ccb
Author: Christopher Meng <i at cicku.me>
Date: Mon Jul 28 19:36:48 2014 +0800
SONAME bump
json-c.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/json-c.spec b/json-c.spec
index b2f5664..3528e17 100644
--- a/json-c.spec
+++ b/json-c.spec
@@ -2,7 +2,7 @@
Name: json-c
Version: 0.12
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A JSON implementation in C
License: MIT
URL: https://github.com/json-c/json-c/wiki
@@ -37,6 +37,8 @@ This package contains the reference manual for json-c.
%setup -qn json-c-json-c-%{version}-%{reldate}
# Get rid of maintainer mode cflags.
sed -i 's|-Werror ||g' Makefile.am.inc
+# Bump the soname manually.
+sed -i 's#2:1:0#3:0:0#' Makefile.am
for doc in ChangeLog; do
iconv -f iso-8859-1 -t utf8 $doc > $doc.new &&
@@ -48,7 +50,7 @@ done
# Get rid of rpath.
autoreconf -fiv
%configure --enable-shared --disable-static --disable-rpath --enable-rdrand
-make %{?_smp_mflags}
+%make_build
%install
%make_install
@@ -85,6 +87,9 @@ end
%doc doc/html/*
%changelog
+* Mon Jul 28 2014 Christopher Meng <rpm at cicku.me> - 0.12-3
+- SONAME bump, see bug 1123785
+
* Fri Jul 25 2014 Christopher Meng <rpm at cicku.me> - 0.12-2
- NVR bump
More information about the scm-commits
mailing list