From eb1c8d9f452527f26142fd8bb24c519b9ffcb7dbca2eae7d82eb6944d3947cb1 Mon Sep 17 00:00:00 2001 From: Robert Munteanu Date: Sun, 15 Jun 2014 21:14:53 +0000 Subject: [PATCH] Accepting request 237443 from home:prusnak:branches:utilities - updated to 1.4 OBS-URL: https://build.opensuse.org/request/show/237443 OBS-URL: https://build.opensuse.org/package/show/utilities/jq?expand=0&rev=5 --- jq-1.3.tar.gz | 3 --- jq-1.4.tar.gz | 3 +++ jq.changes | 7 ++++++- jq.spec | 49 ++++++++++++++++++++++++++++++++++++++++--------- 4 files changed, 49 insertions(+), 13 deletions(-) delete mode 100644 jq-1.3.tar.gz create mode 100644 jq-1.4.tar.gz diff --git a/jq-1.3.tar.gz b/jq-1.3.tar.gz deleted file mode 100644 index c1b5f7d..0000000 --- a/jq-1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:623f23c36abfc1d96d85020cf421b56f90a229d566f26a4a0d3e8536244bfed7 -size 333678 diff --git a/jq-1.4.tar.gz b/jq-1.4.tar.gz new file mode 100644 index 0000000..e1e16f8 --- /dev/null +++ b/jq-1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:998c41babeb57b4304e65b4eb73094279b3ab1e63801b6b4bddd487ce009b39d +size 578317 diff --git a/jq.changes b/jq.changes index ff20827..cefc23c 100644 --- a/jq.changes +++ b/jq.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jun 15 20:52:42 UTC 2014 - prusnak@opensuse.org + +- updated to 1.4 + ------------------------------------------------------------------- Thu Oct 17 15:55:03 UTC 2013 - cdenicolo@suse.com @@ -7,5 +12,5 @@ Thu Oct 17 15:55:03 UTC 2013 - cdenicolo@suse.com ------------------------------------------------------------------- Tue Oct 1 15:09:01 UTC 2013 - robert.munteanu@gmail.com -- Initial packaging of version 1.3 +- Initial packaging of version 1.3 diff --git a/jq.spec b/jq.spec index eb2bd17..94bb6b9 100644 --- a/jq.spec +++ b/jq.spec @@ -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,26 +15,41 @@ # 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 +License: MIT and CC-BY-3.0 +Group: Productivity/Text/Utilities Url: http://stedolan.github.io/jq/ -Group: Productivity/Text/Utilities -Source: http://stedolan.github.io/jq/download/source/jq-1.3.tar.gz +Source: http://stedolan.github.io/jq/download/source/%{name}-%{version}.tar.gz BuildRequires: autoconf 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 +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 @@ -46,7 +61,11 @@ make %{?_smp_mflags} %make_install # 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 +73,16 @@ make %{?_smp_mflags} %{_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.a +%{_libdir}/libjq.la +%{_libdir}/libjq.so + %changelog