|
@@ -1,15 +1,18 @@
|
|
|
Name: jansson
|
|
|
-Version: 2.13.1
|
|
|
+Version: 2.14
|
|
|
Release: 1%{?_dist_release}
|
|
|
Summary: C library for encoding, decoding and manipulating JSON data
|
|
|
Summary(ja): JSONデータをエンコード・デコード・操作するためのライブラリ
|
|
|
+Group: system
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
|
|
|
-Group: system
|
|
|
License: MIT
|
|
|
-URL: http://www.digip.org/jansson/
|
|
|
-Source0: http://www.digip.org/jansson/releases/jansson-%{version}.tar.bz2
|
|
|
+URL: https://github.com/akheron/jansson
|
|
|
+Source0: https://github.com/akheron/jansson/releases/download/v%{version}/jansson-%{version}.tar.bz2
|
|
|
+# fix test
|
|
|
+# https://github.com/akheron/jansson/commit/0677666f65b988b2dd44d02966a08fea490d5883
|
|
|
+Patch0: 0677666f65b988b2dd44d02966a08fea490d5883.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
@@ -32,7 +35,7 @@ Header files for developing applications making use of jansson.
|
|
|
|
|
|
|
|
|
%prep
|
|
|
-%setup -q
|
|
|
+%autosetup -p1
|
|
|
|
|
|
|
|
|
%build
|
|
@@ -40,22 +43,18 @@ Header files for developing applications making use of jansson.
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
-%check
|
|
|
-make check
|
|
|
-
|
|
|
-
|
|
|
%install
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
|
make install INSTALL="install -p" DESTDIR="$RPM_BUILD_ROOT"
|
|
|
rm "$RPM_BUILD_ROOT%{_libdir}"/*.la
|
|
|
|
|
|
|
|
|
-%clean
|
|
|
-rm -rf "$RPM_BUILD_ROOT"
|
|
|
+%check
|
|
|
+make check
|
|
|
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
+%clean
|
|
|
+rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
|
|
|
|
|
%files
|
|
@@ -73,6 +72,10 @@ rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Nov 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.14-1
|
|
|
+- new upstream release.
|
|
|
+- dropped ldconfig scriptlets.
|
|
|
+
|
|
|
* Wed Feb 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.13.1-1
|
|
|
- new upstream release.
|
|
|
|