Avoid accidental so-name bumps
This commit is contained in:
parent
03d2d8ec50
commit
0459dc16ff
@ -3,6 +3,10 @@
|
|||||||
|
|
||||||
%global jsondir json
|
%global jsondir json
|
||||||
|
|
||||||
|
# Avoid accidental so-name bumps.
|
||||||
|
%global sover 21
|
||||||
|
|
||||||
|
|
||||||
Name: jsoncpp
|
Name: jsoncpp
|
||||||
Version: 1.9.0
|
Version: 1.9.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
@ -12,9 +16,9 @@ License: Public Domain or MIT
|
|||||||
URL: https://github.com/open-source-parsers/%{name}
|
URL: https://github.com/open-source-parsers/%{name}
|
||||||
Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: cmake >= 3.1
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: cmake >= 3.1
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -103,7 +107,8 @@ hardlink -cfv %{buildroot}%{_docdir}/%{name}
|
|||||||
%if %{with jsoncpp_enables_doc}
|
%if %{with jsoncpp_enables_doc}
|
||||||
%exclude %{_docdir}/%{name}/html
|
%exclude %{_docdir}/%{name}/html
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/lib%{name}.so.*
|
%{_libdir}/lib%{name}.so.%{sover}*
|
||||||
|
%{_libdir}/lib%{name}.so.%{version}
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
Loading…
Reference in New Issue
Block a user