Accepting request 1113801 from utilities
OBS-URL: https://build.opensuse.org/request/show/1113801 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jq?expand=0&rev=13
This commit is contained in:
commit
a0e5da68b0
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:f755e813b88b494a5087502812cb35bc32e1544102345900707e8d71124caffc
|
oid sha256:402a0d6975d946e6f4e484d1a84320414a0ff8eb6cf49d2c11d144d4d344db62
|
||||||
size 1267139
|
size 1905863
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 27 04:32:39 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- switch to bootstrapped upstream tarball to fix version output
|
||||||
|
[boo#1215737]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 7 13:42:19 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
Thu Sep 7 13:42:19 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
33
jq.spec
33
jq.spec
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define jq_sover 1
|
||||||
Name: jq
|
Name: jq
|
||||||
Version: 1.7
|
Version: 1.7
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -23,14 +24,12 @@ Summary: A lightweight and flexible command-line JSON processor
|
|||||||
License: CC-BY-3.0 AND MIT
|
License: CC-BY-3.0 AND MIT
|
||||||
Group: Productivity/Text/Utilities
|
Group: Productivity/Text/Utilities
|
||||||
URL: https://github.com/jqlang
|
URL: https://github.com/jqlang
|
||||||
Source: https://github.com/jqlang/jq/archive/refs/tags/jq-%{version}/jq-%{version}.tar.gz
|
Source: https://github.com/jqlang/jq/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: automake
|
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: libtool
|
BuildRequires: pkgconfig
|
||||||
#BuildRequires: flex
|
BuildRequires: pkgconfig(oniguruma)
|
||||||
BuildRequires: oniguruma-devel
|
# https://github.com/stedolan/jq/issues/1904
|
||||||
Requires: libjq1 = %{version}
|
Requires: libjq%{jq_sover} = %{version}
|
||||||
%ifnarch riscv64
|
%ifnarch riscv64
|
||||||
BuildRequires: valgrind
|
BuildRequires: valgrind
|
||||||
%endif
|
%endif
|
||||||
@ -41,32 +40,31 @@ 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.
|
you play with text.
|
||||||
|
|
||||||
%package -n libjq1
|
%package -n libjq%{jq_sover}
|
||||||
Summary: Library for a lightweight and flexible command-line JSON processor
|
Summary: Library for a lightweight and flexible command-line JSON processor
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libjq1
|
%description -n libjq%{jq_sover}
|
||||||
Library for a lightweight and flexible command-line JSON processor.
|
Library for a lightweight and flexible command-line JSON processor.
|
||||||
|
|
||||||
%package -n libjq-devel
|
%package -n libjq-devel
|
||||||
Summary: Development files for jq
|
Summary: Development files for jq
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Requires: libjq1 = %{version}
|
Requires: libjq%{jq_sover} = %{version}
|
||||||
|
|
||||||
%description -n libjq-devel
|
%description -n libjq-devel
|
||||||
Development files (headers and libraries for jq).
|
Development files (headers and libraries for jq).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{name}-%{version}
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
%ifarch riscv64
|
%ifarch riscv64
|
||||||
--disable-valgrind \
|
--disable-valgrind \
|
||||||
%endif
|
%endif
|
||||||
--disable-silent-rules
|
%{nil}
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -86,8 +84,7 @@ rm -rf %{buildroot}%{_datadir}/doc/%{name}
|
|||||||
%make_build check
|
%make_build check
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -n libjq1 -p /sbin/ldconfig
|
%ldconfig_scriptlets -n libjq%{jq_sover}
|
||||||
%postun -n libjq1 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -95,10 +92,12 @@ rm -rf %{buildroot}%{_datadir}/doc/%{name}
|
|||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man1/%{name}.1%{?ext_man}
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||||
|
|
||||||
%files -n libjq1
|
%files -n libjq%{jq_sover}
|
||||||
%{_libdir}/libjq.so.1*
|
%license COPYING
|
||||||
|
%{_libdir}/libjq.so.%{jq_sover}*
|
||||||
|
|
||||||
%files -n libjq-devel
|
%files -n libjq-devel
|
||||||
|
%license COPYING
|
||||||
%{_includedir}/jq.h
|
%{_includedir}/jq.h
|
||||||
%{_includedir}/jv.h
|
%{_includedir}/jv.h
|
||||||
%{_libdir}/libjq.so
|
%{_libdir}/libjq.so
|
||||||
|
Loading…
Reference in New Issue
Block a user