Browse Source

jansson-2.7-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10299 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 8 years ago
parent
commit
b77db66551
1 changed files with 11 additions and 3 deletions
  1. 11 3
      j/jansson/jansson-vl.spec

+ 11 - 3
j/jansson/jansson-vl.spec

@@ -1,6 +1,6 @@
 Name:		jansson
 Version:	2.7
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 Summary:	C library for encoding, decoding and manipulating JSON data
 Summary(ja):	JSONデータをエンコード・デコード・操作するためのライブラリ
 
@@ -12,6 +12,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires: python-sphinx
 
+Patch1000: CVE-2016-4425.patch
+
 %description
 Small library for parsing and writing JSON documents.
 
@@ -27,6 +29,7 @@ Header files for developing applications making use of jansson.
 
 %prep
 %setup -q
+%patch1000 -p1 -b .CVE-2016-4425
 
 %build
 %configure --disable-static
@@ -44,9 +47,11 @@ rm "$RPM_BUILD_ROOT%{_libdir}"/*.la
 %clean
 rm -rf "$RPM_BUILD_ROOT"
 
-%post -p /sbin/ldconfig
+%post
+/sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun
+/sbin/ldconfig
 
 %files
 %defattr(-,root,root,-)
@@ -61,6 +66,9 @@ rm -rf "$RPM_BUILD_ROOT"
 %{_includedir}/*
 
 %changelog
+* Fri May 20 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7-2
+- added Patch1000 to fix CVE-2016-4425.
+
 * Wed Jul  8 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7-1
 - new upstream release.