[packages/netcdf-cxx4] - versioned Obsoletes

qboosh qboosh at pld-linux.org
Tue Dec 17 19:49:59 CET 2024


commit 08f3e9136a33c1c466085e2a5554b15fa27ae617
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Dec 17 19:30:49 2024 +0100

    - versioned Obsoletes

 netcdf-cxx4.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/netcdf-cxx4.spec b/netcdf-cxx4.spec
index c0a270f..495ed10 100644
--- a/netcdf-cxx4.spec
+++ b/netcdf-cxx4.spec
@@ -21,7 +21,7 @@ BuildRequires:	libtool >= 2:2.2
 BuildRequires:	netcdf-devel >= 4.6.0
 BuildRequires:	texinfo
 Requires:	netcdf >= 4.6.0
-Obsoletes:	netcdf-c++
+Obsoletes:	netcdf-c++ < 4.2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -51,7 +51,7 @@ Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	libstdc++-devel
 Requires:	netcdf-devel >= 4.6.0
-Obsoletes:	netcdf-c++-devel
+Obsoletes:	netcdf-c++-devel < 4.2
 
 %description devel
 Header files for netCDF - C++ interface.
@@ -64,7 +64,7 @@ Summary:	NetCDF C++ static library
 Summary(pl.UTF-8):	Biblioteka statyczna netCDF dla języka C++
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
-Obsoletes:	netcdf-c++-static
+Obsoletes:	netcdf-c++-static < 4.2
 
 %description static
 Static version of netCDF C++ library.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/netcdf-cxx4.git/commitdiff/2da244c9b515ccff4d905354b2113d1ad7524f47



More information about the pld-cvs-commit mailing list