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
|
Name: json-c
|
||||||
Version: 0.10
|
Version: 0.10
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A JSON implementation in C
|
Summary: A JSON implementation in C
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -41,6 +41,12 @@ for doc in ChangeLog; do
|
|||||||
mv $doc.new $doc
|
mv $doc.new $doc
|
||||||
done
|
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
|
%build
|
||||||
%configure --enable-shared --disable-static
|
%configure --enable-shared --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -73,6 +79,9 @@ rm -rf %{buildroot}
|
|||||||
%doc doc/html/*
|
%doc doc/html/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Nov 24 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0.10-1
|
||||||
- Update to 0.10 (BZ #879771).
|
- Update to 0.10 (BZ #879771).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user