Accepting request 409046 from home:pluskalm:branches:utilities
- Make building more verbose - Run tests OBS-URL: https://build.opensuse.org/request/show/409046 OBS-URL: https://build.opensuse.org/package/show/utilities/jq?expand=0&rev=13
This commit is contained in:
parent
b2887af2dc
commit
b43d7b532e
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 16 10:14:33 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Make building more verbose
|
||||
- Run tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 25 11:48:27 UTC 2016 - idonmez@suse.com
|
||||
|
||||
|
15
jq.spec
15
jq.spec
@ -25,10 +25,7 @@ Group: Productivity/Text/Utilities
|
||||
Url: http://stedolan.github.io/jq/
|
||||
Source: https://github.com/stedolan/jq/releases/download/jq-%{version}/jq-%{version}.tar.gz
|
||||
Patch1: CVE-2015-8863.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: oniguruma-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -58,7 +55,9 @@ Development files (headers and libraries for jq).
|
||||
%patch1 -p2
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%configure \
|
||||
--disable-static \
|
||||
--disable-silent-rules
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -73,15 +72,17 @@ rm %{buildroot}%{_libdir}/libjq.la
|
||||
# we install the documentation in a separate location using the doc macro
|
||||
rm -rf %{buildroot}%{_datadir}/doc/%{name}
|
||||
|
||||
%post -n libjq1 -p /sbin/ldconfig
|
||||
%check
|
||||
make check
|
||||
|
||||
%post -n libjq1 -p /sbin/ldconfig
|
||||
%postun -n libjq1 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README README.md
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1.gz
|
||||
%{_mandir}/man1/%{name}.1%{ext_man}
|
||||
|
||||
%files -n libjq1
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user