update version to 11

This commit is contained in:
zou_lin77 2021-08-07 11:57:32 +08:00
parent f422b2d20a
commit 5efe48c0e9
3 changed files with 16 additions and 12 deletions

Binary file not shown.

BIN
jose-11.tar.xz Normal file

Binary file not shown.

View File

@ -1,12 +1,12 @@
Name: jose Name: jose
Version: 10 Version: 11
Release: 5 Release: 1
Summary: José is a command line utility for performing various tasks on JSON objects Summary: José is a command line utility for performing various tasks on JSON objects
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/latchset/%{name} URL: https://github.com/latchset/%{name}
Source0: https://github.com/latchset/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2 Source0: https://github.com/latchset/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig, gcc, openssl-devel, zlib-devel BuildRequires: pkgconfig, gcc, openssl-devel, zlib-devel, meson, ninja-build, asciidoc
BuildRequires: jansson-devel >= 2.10 BuildRequires: jansson-devel >= 2.10
Provides: lib%{name} Provides: lib%{name}
@ -47,18 +47,16 @@ Man pages and other related documents for %{name}
%setup -q %setup -q
%build %build
%__sed -i 's|libcrypto >= 1\.0\.2|libcrypto >= 1\.0\.1|' configure %meson
%meson_build
%configure --disable-openmp
make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} || : rm -rf %{buildroot}
make install DESTDIR=%{buildroot} %meson_install
rm -rf %{buildroot}/%{_libdir}/lib%{name}.la || : rm -rf %{buildroot}/%{_libdir}/lib%{name}.la
%check %check
make %{?_smp_mflags} check %meson_test
%post %post
/sbin/ldconfig /sbin/ldconfig
@ -83,6 +81,12 @@ make %{?_smp_mflags} check
%changelog %changelog
* Mon Aug 9 2021 zoulin<zoulin13@huawei.com> - 11-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: update version to 11
* Sat Sep 21 2019 caomeng<caomeng5@huawei.com> - 10-5 * Sat Sep 21 2019 caomeng<caomeng5@huawei.com> - 10-5
- Type:other - Type:other
- ID:NA - ID:NA