Better protection against undetected soversion updates

This commit is contained in:
Benjamin A. Beasley 2021-07-21 11:00:58 -04:00
parent 455865b358
commit cd48100d91

View File

@ -2,6 +2,12 @@
Name: xalan-c
Version: 1.12.0
# The soversion is made from the major and minor version numbers, e.g. 112 for
# version 1.12.x. We could do this automatically…
# %%global so_version %%(echo %%{version} | cut -d . -f -2 | tr -d .)
# …but we do not do so because we want to make sure we detect any soversion
# update.
%global so_version 112
Release: %autorelease
Summary: Xalan XSLT processor for C/C++
@ -24,8 +30,6 @@ BuildRequires: xerces-c-devel
BuildRequires: libicu-devel
%endif
%global so_version %(echo %{version} | cut -d . -f -2 | tr -d .)
%description
The Apache Xalan-C++ Project provides a library and a command line program to
transform XML documents using a stylesheet that conforms to XSLT 1.0 standards.