Accepting request 409095 from utilities
1 OBS-URL: https://build.opensuse.org/request/show/409095 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jq?expand=0&rev=6
This commit is contained in:
commit
874d078313
@ -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
|
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/
|
Url: http://stedolan.github.io/jq/
|
||||||
Source: https://github.com/stedolan/jq/releases/download/jq-%{version}/jq-%{version}.tar.gz
|
Source: https://github.com/stedolan/jq/releases/download/jq-%{version}/jq-%{version}.tar.gz
|
||||||
Patch1: CVE-2015-8863.patch
|
Patch1: CVE-2015-8863.patch
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: coreutils
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: oniguruma-devel
|
BuildRequires: oniguruma-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -58,7 +55,9 @@ Development files (headers and libraries for jq).
|
|||||||
%patch1 -p2
|
%patch1 -p2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure \
|
||||||
|
--disable-static \
|
||||||
|
--disable-silent-rules
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -73,15 +72,17 @@ rm %{buildroot}%{_libdir}/libjq.la
|
|||||||
# we install the documentation in a separate location using the doc macro
|
# we install the documentation in a separate location using the doc macro
|
||||||
rm -rf %{buildroot}%{_datadir}/doc/%{name}
|
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
|
%postun -n libjq1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS ChangeLog COPYING NEWS README README.md
|
%doc AUTHORS ChangeLog COPYING NEWS README.md
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man1/%{name}.1.gz
|
%{_mandir}/man1/%{name}.1%{ext_man}
|
||||||
|
|
||||||
%files -n libjq1
|
%files -n libjq1
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user