Hello community,

here is the log from the commit of package libkdumpfile for openSUSE:Factory 
checked in at 2020-04-28 22:31:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libkdumpfile (Old)
 and      /work/SRC/openSUSE:Factory/.libkdumpfile.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libkdumpfile"

Tue Apr 28 22:31:11 2020 rev:11 rq:798526 version:0.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libkdumpfile/libkdumpfile.changes        
2019-04-30 12:58:47.630143375 +0200
+++ /work/SRC/openSUSE:Factory/.libkdumpfile.new.2738/libkdumpfile.changes      
2020-04-28 22:32:07.385726075 +0200
@@ -1,0 +2,5 @@
+Tue Apr 28 06:33:56 UTC 2020 - Petr Tesařík <ptesa...@suse.com>
+
+- Mark COPYING* files with %license.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libkdumpfile.spec ++++++
--- /var/tmp/diff_new_pack.uEcDis/_old  2020-04-28 22:32:08.945728986 +0200
+++ /var/tmp/diff_new_pack.uEcDis/_new  2020-04-28 22:32:08.949728994 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libkdumpfile
 #
-# Copyright (c) 2019 SUSE LINUX 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
@@ -32,13 +32,15 @@
 #
 # End compatibility cruft
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+
 Name:           libkdumpfile
 Version:        0.3.0
 Release:        0
 Summary:        Kernel dump file access library
 License:        LGPL-3.0-or-later OR GPL-2.0-or-later
 Group:          Development/Libraries/C and C++
-Url:            https://github.com/ptesarik/libkdumpfile
+URL:            https://github.com/ptesarik/libkdumpfile
 Source:         
https://github.com/ptesarik/libkdumpfile/releases/download/v%version/%name-%version.tar.bz2
 Patch0:         fix-build-with-recent-glibc.patch
 BuildRequires:  lzo-devel
@@ -50,7 +52,7 @@
 %else
 BuildRequires:  binutils-devel
 %endif
-BuildRequires:  python-devel
+BuildRequires:  %{python_module devel}
 %if %{have_snappy}
 BuildRequires:  snappy-devel
 %endif
@@ -117,6 +119,18 @@
 This package contains all necessary python modules to use libaddrxlat via
 the Python interpreter.
 
+# Compatibility cruft
+# there is no %%license prior to SLE12
+%if %{undefined _defaultlicensedir}
+%define license %doc
+%else
+# filesystem before SLE12 SP3 lacks /usr/share/licenses
+%if 0%(test ! -d %{_defaultlicensedir} && echo 1)
+%define _defaultlicensedir %{_defaultdocdir}
+%endif
+%endif
+# End of compatibility cruft
+
 %prep
 %setup -q
 %patch0 -p1
@@ -150,7 +164,8 @@
 %files -n libkdumpfile7
 %defattr(-,root,root)
 %{_libdir}/libkdumpfile.so.*
-%doc README.md COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3 NEWS
+%license COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3
+%doc README.md NEWS
 
 %files devel
 %defattr(-,root,root)
@@ -161,7 +176,8 @@
 %files -n libaddrxlat0
 %defattr(-,root,root)
 %{_libdir}/libaddrxlat.so.*
-%doc README.md COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3 NEWS
+%license COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3
+%doc README.md NEWS
 
 %files -n libaddrxlat-devel
 %defattr(-,root,root)
@@ -172,17 +188,17 @@
 
 %files -n python-libkdumpfile
 %defattr(-,root,root)
-%dir %{python_sitelib}/kdumpfile
-%{python_sitelib}/kdumpfile/__init__.py*
-%{python_sitelib}/kdumpfile/exceptions.py*
-%{python_sitelib}/kdumpfile/views.py*
+%dir %{python_sitelib}/kdumpfile{,/__pycache__}
+%{python_sitelib}/kdumpfile{,/__pycache__}/__init__.*py*
+%{python_sitelib}/kdumpfile{,/__pycache__}/exceptions.*py*
+%{python_sitelib}/kdumpfile{,/__pycache__}/views.*py*
 %{python_sitearch}/_kdumpfile.so
 
 %files -n python-libaddrxlat
 %defattr(-,root,root)
-%dir %{python_sitelib}/addrxlat
-%{python_sitelib}/addrxlat/__init__.py*
-%{python_sitelib}/addrxlat/exceptions.py*
+%dir %{python_sitelib}/addrxlat{,/__pycache__}
+%{python_sitelib}/addrxlat{,/__pycache__}/__init__.*py*
+%{python_sitelib}/addrxlat{,/__pycache__}/exceptions.*py*
 %{python_sitearch}/_addrxlat.so
 
 %changelog

++++++ fix-build-with-recent-glibc.patch ++++++
--- /var/tmp/diff_new_pack.uEcDis/_old  2020-04-28 22:32:08.965729023 +0200
+++ /var/tmp/diff_new_pack.uEcDis/_new  2020-04-28 22:32:08.969729031 +0200
@@ -1,3 +1,10 @@
+From: Christophe Giboudeaux <christo...@krop.fr>
+Subject: Fix build with recent glibc
+Upstream: merged
+Git-commit: a83a6e528a779a8b85f55a12e6488b48f13d9abd
+
+Acked-by: Petr Tesarik <ptesa...@suse.com>
+
 diff --git a/include/kdumpfile.h.in b/include/kdumpfile.h.in
 index 62fd16d..c671c3b 100644
 --- a/include/kdumpfile.h.in


Reply via email to