SONAME bump
This commit is contained in:
parent
1bed25090e
commit
8d43502974
@ -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@cicku.me> - 0.12-3
|
||||
- SONAME bump, see bug 1123785
|
||||
|
||||
* Fri Jul 25 2014 Christopher Meng <rpm@cicku.me> - 0.12-2
|
||||
- NVR bump
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user