Hello community, here is the log from the commit of package jq for openSUSE:Factory checked in at 2014-06-30 21:45:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jq (Old) and /work/SRC/openSUSE:Factory/.jq.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jq" Changes: -------- --- /work/SRC/openSUSE:Factory/jq/jq.changes 2013-11-21 15:25:30.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.jq.new/jq.changes 2014-06-30 21:45:52.000000000 +0200 @@ -1,0 +2,42 @@ +Fri Jun 27 09:55:52 UTC 2014 - [email protected] + +- Don't package static libs +- Fix rpath on the main binary + +------------------------------------------------------------------- +Sun Jun 15 20:52:42 UTC 2014 - [email protected] + +- Updated to 1.4 + + New command line arguments + * jq --arg-file variable file + * jq --unbuffered + * jq -e / --exit-status (set exit status based on outputs) + * jq -S / --sort-keys (now jq no longer sorts object keys by + default + + Syntax changes + * .. -> like // in XPath (recursive traversal) + * question mark (e.g., .a?) to suppress errors + * ."foo" syntax (equivalent to .["foo"]) + * better error handling for .foo + * added % operator (modulo) + * allow negation without requiring extra parenthesis + * more function arguments (up to six) + + New filters + * any, all + * iterables, arrays, objects, scalars, nulls, booleans, + numbers, strings, values + + New string built-ins + * split + * join (join an array of strings with a given separator string) + * ltrimstr, rtrimstr + * startswith, endswith + * explode, implode + * fromjson, tojson + * index, rindex, indices + + New math functions + * floor, sqrt, cbrt, etc. + + Addition of libjq, a C API interface to jq's JSON representation + and for running jq programs from C applications. + + +------------------------------------------------------------------- Old: ---- jq-1.3.tar.gz New: ---- jq-1.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jq.spec ++++++ --- /var/tmp/diff_new_pack.mdbJ4h/_old 2014-06-30 21:45:53.000000000 +0200 +++ /var/tmp/diff_new_pack.mdbJ4h/_new 2014-06-30 21:45:53.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package jq # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,38 +15,64 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: jq -Version: 1.3 -Release: 0.0 -License: MIT and CC-BY-3.0 +Version: 1.4 +Release: 0 Summary: A lightweight and flexible command-line JSON processor -Url: http://stedolan.github.io/jq/ +License: MIT and CC-BY-3.0 Group: Productivity/Text/Utilities -Source: http://stedolan.github.io/jq/download/source/jq-1.3.tar.gz +Url: http://stedolan.github.io/jq/ +Source: http://stedolan.github.io/jq/download/source/%{name}-%{version}.tar.gz BuildRequires: autoconf +BuildRequires: chrpath BuildRequires: coreutils BuildRequires: make BuildRoot: %{_tmppath}/%{name}-%{version}-build %description - A lightweight and flexible command-line JSON processor. jq is like sed for JSON data – you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text. +%package -n libjq1 +Summary: Library for a lightweight and flexible command-line JSON processor +Group: System/Libraries + +%description -n libjq1 +Library for a lightweight and flexible command-line JSON processor. + +%package -n libjq-devel +Summary: Development files for jq +Group: Development/Languages/C and C++ +Requires: libjq1 = %{version} + +%description -n libjq-devel +Development files (headers and libraries for jq). + %prep %setup -q %build -%configure +%configure --disable-static make %{?_smp_mflags} %install %make_install +# RPATH contains the builddir yucks! +chrpath -d %{buildroot}%{_bindir}/jq + +# No static stuff +rm %{buildroot}%{_libdir}/libjq.la + # we install the documentation in a separate location using the doc macro -%{__rm} -rf %{buildroot}/usr/share/doc/%{name} +rm -rf %{buildroot}%{_datadir}/doc/%{name} + +%post -n libjq1 -p /sbin/ldconfig + +%postun -n libjq1 -p /sbin/ldconfig %files %defattr(-,root,root) @@ -54,4 +80,14 @@ %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.gz +%files -n libjq1 +%defattr(-,root,root) +%{_libdir}/libjq.so.1* + +%files -n libjq-devel +%defattr(-,root,root) +%{_includedir}/jq.h +%{_includedir}/jv.h +%{_libdir}/libjq.so + %changelog ++++++ jq-1.3.tar.gz -> jq-1.4.tar.gz ++++++ ++++ 52348 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
