Hello community,

here is the log from the commit of package fityk for openSUSE:Factory checked 
in at 2020-02-05 19:43:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fityk (Old)
 and      /work/SRC/openSUSE:Factory/.fityk.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fityk"

Wed Feb  5 19:43:14 2020 rev:8 rq:770195 version:1.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/fityk/fityk.changes      2017-02-07 
12:04:08.403912846 +0100
+++ /work/SRC/openSUSE:Factory/.fityk.new.26092/fityk.changes   2020-02-05 
19:44:13.835339946 +0100
@@ -1,0 +2,16 @@
+Sun Feb  2 15:53:53 UTC 2020 - Atri Bhattacharya <[email protected]>
+
+- Don't make python3-fityk Obsolete or Provide python-fityk (the
+  python2 version) so that users may continue using the installed
+  python2 version should they so wish.
+
+-------------------------------------------------------------------
+Thu Jan 30 07:11:58 UTC 2020 - Steve Kowalik <[email protected]>
+
+- Switch to building against Python 3.
+  + Rename python-fityk to python3-fityk.
+- Remove unknown option from configure arguments.
+- Drop usage of py_sitelib deprecated variable.
+- Run spec-cleaner over the spec file.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ fityk.spec ++++++
--- /var/tmp/diff_new_pack.Ucj7KO/_old  2020-02-05 19:44:14.591340306 +0100
+++ /var/tmp/diff_new_pack.Ucj7KO/_new  2020-02-05 19:44:14.607340313 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package fityk
 #
-# Copyright (c) 2017 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
@@ -12,24 +12,19 @@
 # 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 somajor 4
 Name:           fityk
 Version:        1.3.1
 Release:        0
-%define somajor 4
 Summary:        Non-linear curve fitting and data analysis
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Productivity/Scientific/Math
-Url:            http://fityk.nieto.pl/
+URL:            https://fityk.nieto.pl/
 Source:         
https://github.com/wojdyr/fityk/releases/download/v%{version}/fityk-%{version}.tar.bz2
-%if 0%{?suse_version} > 1325
-BuildRequires:  libboost_headers-devel
-%else
-BuildRequires:  boost-devel >= 1.35
-%endif
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -37,13 +32,17 @@
 BuildRequires:  lua-devel >= 5.1
 BuildRequires:  ncurses-devel
 BuildRequires:  nlopt-devel
-BuildRequires:  python-devel
+BuildRequires:  python3-devel
 BuildRequires:  readline-devel
 BuildRequires:  swig
 BuildRequires:  wxWidgets-devel >= 3
 BuildRequires:  xylib-devel >= 1.0
 BuildRequires:  zlib-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} > 1325
+BuildRequires:  libboost_headers-devel
+%else
+BuildRequires:  boost-devel >= 1.35
+%endif
 
 %description
 Fityk is a program for nonlinear curve-fitting of analytical
@@ -84,11 +83,11 @@
 This package contains libraries and header files for developing
 applications that use Fityk library.
 
-%package     -n python-fityk
+%package     -n python3-fityk
 Summary:        Python bindings to Fityk library
 Group:          Development/Libraries/Python 
 
-%description -n python-fityk
+%description -n python3-fityk
 Fityk is a program for nonlinear curve-fitting of analytical
 functions (especially peak-shaped) to data (usually experimental
 data). It can also be used for visualization of x-y data only.
@@ -99,8 +98,8 @@
 %setup -q
 
 %build
+export PYTHON=%{_bindir}/python3
 %configure \
-    --disable-xyconvert \
     --enable-nlopt \
     --enable-python
 
@@ -108,15 +107,16 @@
 
 %install
 %make_install
-rm %{buildroot}/%{_libdir}/*.la
-%fdupes %{buildroot}%{py_sitedir}
+find %{buildroot} -type f -name "*.la" -delete -print
+%fdupes %{buildroot}%{python3_sitearch}
+%fdupes %{buildroot}%{python3_sitelib}
 
 %post   -n lib%{name}%{somajor} -p /sbin/ldconfig
 %postun -n lib%{name}%{somajor} -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
-%doc COPYING NEWS README.md TODO
+%license COPYING
+%doc NEWS README.md TODO
 %dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/samples
 %{_bindir}/fityk
@@ -132,15 +132,12 @@
 %{_datadir}/mime/packages/*
 
 %files -n lib%{name}%{somajor}
-%defattr(-,root,root)
 %{_libdir}/lib%{name}.so.%{somajor}*
 
 %files -n cfityk
-%defattr(-,root,root)
 %{_bindir}/cfityk
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/*
 %{_libdir}/*.so
 %{_datadir}/%{name}/samples/hello.c
@@ -152,9 +149,8 @@
 # -> fityk-python
 %{_datadir}/%{name}/samples/*.py*
 
-%files -n python-fityk
-%defattr(-,root,root)
-%{python_sitearch}/*
-%{python_sitelib}/*
+%files -n python3-fityk
+%{python3_sitearch}/*
+%{python3_sitelib}/*
 
 %changelog


Reply via email to