Add operational workaround for NVR clashes

This commit is contained in:
Daiki Ueno 2020-10-30 12:55:26 +01:00
parent 466a27e84d
commit b09fff4da1

View File

@ -1,4 +1,8 @@
%global nspr_version 4.29.0 %global nspr_version 4.29.0
# NOTE: To avoid NVR clashes of nspr* packages:
# - reset %%{nspr_release} to 1, when updating %%{nspr_version}
# - increment %%{nspr_version}, when updating the NSS part only
%global nspr_release 7
%global nss_version 3.58.0 %global nss_version 3.58.0
%global unsupported_tools_directory %{_libdir}/nss/unsupported-tools %global unsupported_tools_directory %{_libdir}/nss/unsupported-tools
%global saved_files_dir %{_libdir}/nss/saved %global saved_files_dir %{_libdir}/nss/saved
@ -253,6 +257,7 @@ Header and library files for doing development with Network Security Services.
%package -n nspr %package -n nspr
Summary: Netscape Portable Runtime Summary: Netscape Portable Runtime
Version: %{nspr_version} Version: %{nspr_version}
Release: %{nspr_release}%{?dist}
License: MPLv2.0 License: MPLv2.0
URL: http://www.mozilla.org/projects/nspr/ URL: http://www.mozilla.org/projects/nspr/
Conflicts: filesystem < 3 Conflicts: filesystem < 3
@ -267,7 +272,8 @@ memory management (malloc and free) and shared library linking.
%package -n nspr-devel %package -n nspr-devel
Summary: Development libraries for the Netscape Portable Runtime Summary: Development libraries for the Netscape Portable Runtime
Version: %{nspr_version} Version: %{nspr_version}
Requires: nspr%{?_isa} = %{nspr_version}-%{release} Release: %{nspr_release}%{?dist}
Requires: nspr%{?_isa} = %{nspr_version}-%{nspr_release}%{?dist}
Requires: pkgconfig Requires: pkgconfig
BuildRequires: xmlto BuildRequires: xmlto
Conflicts: filesystem < 3 Conflicts: filesystem < 3