commit newt for openSUSE:Factory
Hello community,
here is the log from the commit of package newt for openSUSE:Factory checked in at 2019-03-22 14:54:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/newt (Old)
and /work/SRC/openSUSE:Factory/.newt.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "newt"
Fri Mar 22 14:54:22 2019 rev:45 rq:686989 version:0.52.20
Changes:
--------
--- /work/SRC/openSUSE:Factory/newt/newt.changes 2018-01-16 09:32:36.893083118 +0100
+++ /work/SRC/openSUSE:Factory/.newt.new.25356/newt.changes 2019-03-22 14:54:26.430057826 +0100
@@ -1,0 +2,12 @@
+Wed Mar 20 08:32:24 UTC 2019 - lars@linux-schulserver.de - 0.52.20
+
+- use new license string compatible with latest spdx.org changes
+- ran spec-cleaner
+- adjust spec file to be able to build for SLE-12 and below:
+ + re-add BuildRoot definition
+ + re-add defattr definitions
+ + define python2_sitearch if the macro is not defined
+- added newt-0.52.20-implicit-pointer-decl.patch to get rid of
+ compiler warnings about implicit definitions of functions
+
+-------------------------------------------------------------------
New:
----
newt-0.52.20-implicit-pointer-decl.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ newt.spec ++++++
--- /var/tmp/diff_new_pack.lFNFLi/_old 2019-03-22 14:54:27.386057248 +0100
+++ /var/tmp/diff_new_pack.lFNFLi/_new 2019-03-22 14:54:27.386057248 +0100
@@ -1,7 +1,7 @@
#
# spec file for package newt
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,23 +12,25 @@
# 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 lib%{name}
%define libsoname %{libname}0_52
%bcond_without python2
+%{!?python2_sitearch: %global python2_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: newt
Version: 0.52.20
Release: 0
Summary: A library for text mode user interfaces
-License: LGPL-2.1+
+License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
-Url: https://pagure.io/newt
+URL: https://pagure.io/newt
Source: https://fedorahosted.org/releases/n/e/newt/%{name}-%{version}.tar.gz
Source2: baselibs.conf
Source10: %{name}-rpmlintrc
+Patch0: newt-0.52.20-implicit-pointer-decl.patch
# needed for tutorial.pdf
BuildRequires: docbook-toys
BuildRequires: pkgconfig
@@ -44,6 +46,7 @@
%if %{with python2}
BuildRequires: python-devel
%endif
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Newt is a programming library for color text-mode, widget-based user
@@ -56,7 +59,7 @@
%package -n %{libsoname}
Summary: Shared libraries for Nifty Erik's Windowing Toolkit
-License: LGPL-2.1+
+License: LGPL-2.1-or-later
Group: System/Libraries
%description -n %{libsoname}
@@ -70,7 +73,7 @@
%package devel
Summary: Development files for the Newt windowing toolkit
-License: LGPL-2.1+
+License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Requires: %{libsoname} = %{version}
Requires: popt-devel
@@ -90,7 +93,7 @@
%package doc
Summary: Tutorial for Nifty Erik's Windowing Toolkit
# the examples need the main package:
-License: LGPL-2.1+
+License: LGPL-2.1-or-later
Group: Documentation/Howto
Recommends: %{name} = %{version}
BuildArch: noarch
@@ -108,7 +111,7 @@
# vendor for his tool. It shouldn't be a problem to keep this
# special package. (lrupp)
Summary: Static libraries of Nifty Erik's Windowing Toolkit
-License: LGPL-2.1+
+License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Requires: %{name}-devel = %{version}
@@ -124,7 +127,7 @@
%package -n python2-%{name}
Summary: Python bindings for newt
-License: GPL-2.0 AND GPL-2.0+ AND LGPL-2.1+
+License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Development/Languages/Python
Requires: %{name} = %{version}
Provides: python-%{name} = %{version}
@@ -138,7 +141,7 @@
%package -n python3-%{name}
Summary: Python 3 bindings for newt
-License: LGPL-2.1+
+License: LGPL-2.1-or-later
Group: Development/Languages/Python
Requires: %{name} = %{version}-%{release}
@@ -148,6 +151,7 @@
%prep
%setup -q
+%patch0 -p1
%build
# gpm support seems to smash the stack
@@ -202,31 +206,42 @@
%postun -n %{libsoname} -p /sbin/ldconfig
%files -f %{name}.lang
+%defattr(-,root,root)
%dir %{_defaultdocdir}/%{name}
+%if 0%{?suse_version} >= 01500
+%license %{_defaultdocdir}/%{name}/COPYING
+%else
%doc %{_defaultdocdir}/%{name}/COPYING
+%endif
%{_bindir}/whiptail
-%{_mandir}/man1/whiptail.1*
+%{_mandir}/man1/whiptail.1%{?ext_man}
%files -n %{libsoname}
+%defattr(-,root,root)
%{_libdir}/%{libname}.so.*
%files devel
+%defattr(-,root,root)
%{_includedir}/%{name}.h
%{_libdir}/%{libname}.so
%{_libdir}/pkgconfig/*.pc
%files doc
+%defattr(-,root,root)
%doc %{_defaultdocdir}/%{name}/tutorial.*
%files static
+%defattr(-,root,root)
%{_libdir}/%{libname}.a
%if %{with python2}
%files -n python2-%{name}
+%defattr(-,root,root)
%{python2_sitearch}/*
%endif
%files -n python3-%{name}
+%defattr(-,root,root)
%{python3_sitearch}/*.so
%{python3_sitearch}/*.py*
%{python3_sitearch}/__pycache__/*.py*
++++++ newt-0.52.20-implicit-pointer-decl.patch ++++++
Index: newt-0.52.20/dialogboxes.c
===================================================================
--- newt-0.52.20.orig/dialogboxes.c
+++ newt-0.52.20/dialogboxes.c
@@ -1,4 +1,5 @@
/* simple dialog boxes, used by both whiptail and tcl dialog bindings */
+#define _XOPEN_SOURCE 700
#include "config.h"
#include
participants (1)
-
root