Hello community, here is the log from the commit of package cgns for openSUSE:Leap:15.2 checked in at 2020-04-02 16:48:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/cgns (Old) and /work/SRC/openSUSE:Leap:15.2/.cgns.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cgns" Thu Apr 2 16:48:05 2020 rev:2 rq:790005 version:3.4.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/cgns/cgns.changes 2020-02-20 00:08:42.572281439 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.cgns.new.3248/cgns.changes 2020-04-02 16:48:06.657870864 +0200 @@ -1,0 +2,13 @@ +Sun Mar 29 00:20:54 UTC 2020 - Atri Bhattacharya <[email protected]> + +- Update to version 3.4.1: + * Restore backward compatibility by removing CPEX 41 NGON + modification made in version 3.4.0. +- Update shlib package name to respect upstream's so version. +- Pass CMAKE_SKIP_INSTALL_RPATH=ON to cmake to disable setting + rpath on installed libs; prevents build failures on Leap 15.2. +- Use %{name}-%{version} naming scheme for source tarball. +- Use %cmake_build instead of invoking make directly. +- Minor cleanups using spec-cleaner. + +------------------------------------------------------------------- Old: ---- cgnslib_3.4.0.tar.gz New: ---- cgns-3.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cgns.spec ++++++ --- /var/tmp/diff_new_pack.H6NWn4/_old 2020-04-02 16:48:07.057872439 +0200 +++ /var/tmp/diff_new_pack.H6NWn4/_new 2020-04-02 16:48:07.061872455 +0200 @@ -1,7 +1,7 @@ # # spec file for package cgns # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,42 +12,39 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define libname libcgns3_4 - +%define libname libcgns3_4_1 Name: cgns -Version: 3.4.0 -Release: 1 -Source0: https://github.com/CGNS/CGNS/archive/v3.4.0.tar.gz#/cgnslib_%{version}.tar.gz -Source1: %name-rpmlintrc +Version: 3.4.1 +Release: 0 Summary: CFD General Notation System License: Zlib Group: Development/Libraries/Other -Url: http://cgns.org/ +URL: http://cgns.org/ +Source0: https://github.com/CGNS/CGNS/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: %{name}-rpmlintrc BuildRequires: cmake BuildRequires: f2c BuildRequires: gcc-c++ BuildRequires: gcc-fortran BuildRequires: hdf5-devel BuildRequires: libxml2-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build - %description The CFD General Notation System (CGNS) provides a general, portable, and extensible standard for the storage and retrieval of computational fluid dynamics (CFD) analysis data. -%package -n %libname +%package -n %{libname} Summary: CFD General Notation System library Group: System/Libraries Provides: lib%{name} = %{version} Obsoletes: lib%{name} < %{version} -%description -n %libname +%description -n %{libname} The CFD General Notation System (CGNS) provides a general, portable, and extensible standard for the storage and retrieval of computational fluid dynamics (CFD) analysis data. @@ -55,7 +52,7 @@ %package devel Summary: CFD General Notation System library Group: Development/Libraries/Other -Requires: %libname = %{version} +Requires: %{libname} = %{version} Provides: lib%{name}-devel = %{version} Obsoletes: lib%{name}-devel < %{version} @@ -70,7 +67,6 @@ %description devel-static Static CGNS (CFD General notation system) library. - %prep %setup -q -n CGNS-%{version} @@ -83,12 +79,13 @@ %ifarch x86_64 ppc64 ppc64le aarch64 -DCGNS_ENABLE_64BIT:BOOL=ON \ %endif + -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \ -DCGNS_ENABLE_HDF5:BOOL=ON \ -DCGNS_ENABLE_LEGACY:BOOL=ON \ -DCGNS_ENABLE_FORTRAN:BOOL=ON \ -DHDF5_NEED_ZLIB:BOOL=ON \ -make %{?_smp_mflags} +%cmake_build %install %cmake_install @@ -97,13 +94,13 @@ mv %{buildroot}%{_prefix}/lib %{buildroot}%{_libdir} %endif -%post -n %libname -p /sbin/ldconfig -%postun -n %libname -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig %files %{_bindir}/* -%files -n %libname +%files -n %{libname} %license license.txt %doc release_docs/Release.txt %{_libdir}/libcgns.so.*
