Compile and install json_object_iterator.
This commit is contained in:
parent
db78ed3f75
commit
b3e33ebf19
11
json-c.spec
11
json-c.spec
@ -1,6 +1,6 @@
|
||||
Name: json-c
|
||||
Version: 0.10
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A JSON implementation in C
|
||||
Group: Development/Libraries
|
||||
License: MIT
|
||||
@ -41,6 +41,12 @@ for doc in ChangeLog; do
|
||||
mv $doc.new $doc
|
||||
done
|
||||
|
||||
# Hack to get json_object_iterator.c compiled
|
||||
sed -e 's/json_object.c/json_object.c json_object_iterator.c/' \
|
||||
-e 's/json_object.h/json_object.h json_object_iterator.h/' \
|
||||
-e 's/json_object.lo/json_object.lo json_object_iterator.lo/' \
|
||||
-i Makefile.in
|
||||
|
||||
%build
|
||||
%configure --enable-shared --disable-static
|
||||
make %{?_smp_mflags}
|
||||
@ -73,6 +79,9 @@ rm -rf %{buildroot}
|
||||
%doc doc/html/*
|
||||
|
||||
%changelog
|
||||
* Sat Nov 24 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0.10-2
|
||||
- Compile and install json_object_iterator using Remi Collet's fix (BZ #879771).
|
||||
|
||||
* Sat Nov 24 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0.10-1
|
||||
- Update to 0.10 (BZ #879771).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user