Hello community,

here is the log from the commit of package ginac for openSUSE:Factory checked 
in at 2020-03-17 13:10:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ginac (Old)
 and      /work/SRC/openSUSE:Factory/.ginac.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ginac"

Tue Mar 17 13:10:02 2020 rev:5 rq:785658 version:1.7.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/ginac/ginac.changes      2018-04-10 
10:54:19.181990517 +0200
+++ /work/SRC/openSUSE:Factory/.ginac.new.3160/ginac.changes    2020-03-17 
13:10:06.521797279 +0100
@@ -1,0 +2,17 @@
+Thu Feb  6 11:01:07 UTC 2020 - Atri Bhattacharya <[email protected]>
+
+- Update to version 1.7.8
+  * Fix pseries::evalf(), broken since 1.7.0.
+  * Fix a corner-case bug in H_evalf().
+- Changes from version 1.7.4 to 1.7.7: See
+  %{_docdir}/ginac-devel/NEWS file.
+- Use python3 instead of python(2) for building.
+- Add ginac-check-for-python3.patch to check for python3 during
+  configure; requires running autoreconf before configure.
+- Rename devel file to ginac-devel, instead of libginac-devel,
+  according to recommended naming guidelines.
+- Build and package API documentation and examples in html format;
+  add BuildRequires necessary for this.
+- Use Requires(post) and Requires(preun) instead of PreReq.
+
+-------------------------------------------------------------------

Old:
----
  ginac-1.7.4.tar.bz2

New:
----
  ginac-1.7.8.tar.bz2
  ginac-check-for-python3.patch

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

Other differences:
------------------
++++++ ginac.spec ++++++
--- /var/tmp/diff_new_pack.B3OFzG/_old  2020-03-17 13:10:07.585798095 +0100
+++ /var/tmp/diff_new_pack.B3OFzG/_new  2020-03-17 13:10:07.589798099 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ginac
 #
-# Copyright (c) 2018 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,26 +12,37 @@
 # 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 library_version 6
 Name:           ginac
-Version:        1.7.4
+Version:        1.7.8
 Release:        0
 Summary:        C++ library for symbolic calculations
 License:        GPL-2.0-only
 Group:          Development/Libraries/C and C++
 URL:            https://www.ginac.de/
 Source0:        https://www.ginac.de/%{name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM ginac-check-for-python3.patch [email protected] -- 
Check for python3 if python not found during configure.
+Patch0:         ginac-check-for-python3.patch
+BuildRequires:  bison
 BuildRequires:  cln-devel
+BuildRequires:  doxygen
+BuildRequires:  flex
 BuildRequires:  gcc-c++
 BuildRequires:  gmp-devel
+BuildRequires:  graphviz
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
-BuildRequires:  python
+BuildRequires:  python3
 BuildRequires:  readline-devel
+BuildRequires:  texinfo
+BuildRequires:  texlive-dvips-bin
+BuildRequires:  texlive-latex-bin
+BuildRequires:  transfig
+BuildRequires:  tex(newunicodechar.sty)
 
 %description
 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
@@ -45,14 +56,17 @@
 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
 open framework for symbolic computation within the C++ programming language.
 
-%package -n libginac-devel
+%package devel
 Summary:        GiNaC development libraries and header files
 Group:          Development/Libraries/C and C++
 Requires:       cln-devel
 Requires:       libginac%{library_version} = %{version}
-PreReq:         %{install_info_prereq}
+Requires(pre):  %{install_info_prereq}
+Requires(preun): %{install_info_prereq}
+Provides:       lib%{name}-devel = %{version}
+Obsoletes:      lib%{name}-devel < %{version}
 
-%description -n libginac-devel
+%description devel
 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
 open framework for symbolic computation within the C++ programming language.
 
@@ -61,45 +75,47 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%configure --disable-static --disable-rpath
+autoreconf -fvi
+%configure --docdir=%{_docdir}/%{name} --disable-static --disable-rpath
 make %{?_smp_mflags}
-
-%check
-export MALLOC_CHECK_=2
-make %{?_smp_mflags} check
-unset MALLOC_CHECK_
+make %{?_smp_mflags} html
 
 %install
-%make_install
+%make_install install-html
 find %{buildroot} -type f -name "*.la" -delete -print
 
+%check
+make %{?_smp_mflags} check
+
 %post -n libginac%{library_version} -p /sbin/ldconfig
 %postun -n libginac%{library_version} -p /sbin/ldconfig
-%post -n libginac-devel
-%install_info --info-dir=%{_infodir} %{_infodir}/ginac.info.gz
 
-%preun -n libginac-devel
+%post devel
+%install_info --info-dir=%{_infodir} %{_infodir}/ginac.info.gz
+%preun devel
 %install_info_delete  --info-dir=%{_infodir} %{_infodir}/ginac.info.gz
 
 %files -n libginac%{library_version}
 %{_libdir}/libginac.so.%{library_version}*
 
-%files -n libginac-devel
+%files devel
 %license COPYING
 %doc AUTHORS ChangeLog NEWS README
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/ginac.pc
 %dir %{_includedir}/ginac
 %{_includedir}/ginac/*.h
-%{_infodir}/*.info*
+%{_infodir}/*.info%{?ext_info}
+%{_docdir}/%{name}/
 
 %files
 %{_bindir}/ginsh
 %{_bindir}/viewgar
 %{_libexecdir}/ginac-excompiler
-%{_mandir}/man1/ginsh.1%{ext_man}
-%{_mandir}/man1/viewgar.1%{ext_man}
+%{_mandir}/man1/ginsh.1%{?ext_man}
+%{_mandir}/man1/viewgar.1%{?ext_man}
 
 %changelog

++++++ ginac-1.7.4.tar.bz2 -> ginac-1.7.8.tar.bz2 ++++++
++++ 21245 lines of diff (skipped)

++++++ ginac-check-for-python3.patch ++++++
Index: ginac-1.7.8/configure.ac
===================================================================
--- ginac-1.7.8.orig/configure.ac
+++ ginac-1.7.8/configure.ac
@@ -60,7 +60,7 @@ AC_CHECK_HEADERS(unistd.h)
 GINAC_HAVE_RUSAGE
 GINAC_READLINE
 dnl Python is necessary for building function.{cpp,h}
-AC_PATH_PROG(PYTHON, python, "")
+AC_PATH_PROGS(PYTHON, [python python3], "")
 AS_IF([test -z "$PYTHON" -a ! -f "$srcdir/ginac/function.cpp"],
       [AC_MSG_ERROR([GiNaC will not compile because Python is missing])])
 

Reply via email to