Hello community, here is the log from the commit of package bc for openSUSE:Factory checked in at 2017-04-25 08:54:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bc (Old) and /work/SRC/openSUSE:Factory/.bc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "bc" Tue Apr 25 08:54:44 2017 rev:23 rq:486972 version:1.07.1 Changes: -------- --- /work/SRC/openSUSE:Factory/bc/bc.changes 2015-03-23 12:11:39.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.bc.new/bc.changes 2017-04-25 08:54:45.248224529 +0200 @@ -1,0 +2,26 @@ +Mon Apr 10 07:39:45 UTC 2017 - mpluskal@suse.com + +- Update to version 1.07.1: + * Fixed ibase extension causing problems for read() + * Fixed parallel make problem. + * Fixed dc "Q" comanmd bug. +- Changes for version 1.07: + * Added void functions. + * fixes bug in load_code introduced by mathlib string storage in 1.06. + * fix to get long options working. + * signal code clean-up. + * fixed a bug in the AVL tree routines. + * fixed math library to work properly when called with ibase not 10. + * fixed a symbol table bug when using more than 32 names. + * removed a double free. + * Added base 17 to 36 for ibase. + * Fixed some memory leaks. + * Various small tweaks and doc bug fixes. +- Drop no longer needed patches: + * bc-1.06.95-memleak.patch + * bc-1.06.95-matlib.patch + * bc-1.06.95-sigintmasking.patch +- Refresh bc-1.06-dc_ibase.patch +- Add gpg signature + +------------------------------------------------------------------- Old: ---- bc-1.06.95-matlib.patch bc-1.06.95-memleak.patch bc-1.06.95-sigintmasking.patch bc-1.06.95.tar.bz2 New: ---- bc-1.07.1.tar.gz bc-1.07.1.tar.gz.sig bc.keyring ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bc.spec ++++++ --- /var/tmp/diff_new_pack.nW5nlj/_old 2017-04-25 08:54:46.048111423 +0200 +++ /var/tmp/diff_new_pack.nW5nlj/_new 2017-04-25 08:54:46.052110857 +0200 @@ -1,7 +1,7 @@ # # spec file for package bc # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -17,17 +17,16 @@ Name: bc -Version: 1.06.95 +Version: 1.07.1 Release: 0 Summary: GNU Command Line Calculator License: GPL-2.0+ Group: Productivity/Scientific/Math -Url: http://www.gnu.org/software/bc/ -Source0: ftp://alpha.gnu.org/pub/gnu/bc/bc-%{version}.tar.bz2 +Url: https://www.gnu.org/software/bc/ +Source0: https://ftp.gnu.org/gnu/bc/bc-%{version}.tar.gz +Source1: https://ftp.gnu.org/gnu/bc/bc-%{version}.tar.gz.sig +Source2: %{name}.keyring Patch1: bc-1.06-dc_ibase.patch -Patch2: bc-1.06.95-memleak.patch -Patch3: bc-1.06.95-matlib.patch -Patch4: bc-1.06.95-sigintmasking.patch BuildRequires: bison BuildRequires: ed BuildRequires: flex @@ -36,7 +35,6 @@ BuildRequires: readline-devel Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description bc is an interpreter that supports numbers of arbitrary precision and @@ -58,10 +56,7 @@ %prep %setup -q -%patch1 -p1 -b .dc_ibase -%patch2 -p1 -b .memleak -%patch3 -p1 -b .matlib -%patch4 -p1 -b .sigintmask +%patch1 %build %configure \ @@ -70,22 +65,24 @@ make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install %post -%install_info --info-dir=%{_infodir} %{_infodir}/bc.info.gz -%install_info --info-dir=%{_infodir} %{_infodir}/dc.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/bc.info%{ext_info} +%install_info --info-dir=%{_infodir} %{_infodir}/dc.info%{ext_info} %preun -%install_info_delete --info-dir=%{_infodir} %{_infodir}/bc.info.gz -%install_info_delete --info-dir=%{_infodir} %{_infodir}/dc.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/bc.info%{ext_info} +%install_info_delete --info-dir=%{_infodir} %{_infodir}/dc.info%{ext_info} %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README COPYING.LIB FAQ %{_bindir}/bc %{_bindir}/dc -%{_infodir}/*.info* -%{_mandir}/man1/* +%{_infodir}/bc.info%{ext_info} +%{_infodir}/dc.info%{ext_info} +%{_mandir}/man1/bc.1%{ext_man} +%{_mandir}/man1/dc.1%{ext_man} %changelog ++++++ bc-1.06-dc_ibase.patch ++++++ --- /var/tmp/diff_new_pack.nW5nlj/_old 2017-04-25 08:54:46.076107464 +0200 +++ /var/tmp/diff_new_pack.nW5nlj/_new 2017-04-25 08:54:46.076107464 +0200 @@ -1,6 +1,8 @@ ---- bc-1.06/dc/numeric.c.dc_ibase 2007-08-22 08:37:57.000000000 +0200 -+++ bc-1.06/dc/numeric.c 2007-08-22 08:37:40.000000000 +0200 -@@ -285,6 +285,8 @@ dc_getnum DC_DECLARG((input, ibase, read +Index: dc/numeric.c +=================================================================== +--- dc/numeric.c.orig ++++ dc/numeric.c +@@ -307,6 +307,8 @@ dc_getnum DC_DECLARG((input, ibase, read int digit; int decimal; int c; @@ -9,17 +11,17 @@ bc_init_num(&tmp); bc_init_num(&build); -@@ -302,6 +304,9 @@ dc_getnum DC_DECLARG((input, ibase, read +@@ -324,6 +326,9 @@ dc_getnum DC_DECLARG((input, ibase, read } while (isspace(c)) c = (*input)(); -+ c_buff = (*input)(); ++ c_buff = (*input)(); + if (isdigit(c_buff) || ('A' <= c_buff && c_buff <= 'F') || c_buff == '.') -+ multi = 1; ++ multi = 1; for (;;){ if (isdigit(c)) digit = c - '0'; -@@ -309,10 +314,15 @@ dc_getnum DC_DECLARG((input, ibase, read +@@ -331,10 +336,15 @@ dc_getnum DC_DECLARG((input, ibase, read digit = 10 + c - 'A'; else break; @@ -36,7 +38,7 @@ } if (c == '.'){ bc_free_num(&build); -@@ -321,13 +331,18 @@ dc_getnum DC_DECLARG((input, ibase, read +@@ -343,13 +353,18 @@ dc_getnum DC_DECLARG((input, ibase, read build = bc_copy_num(_zero_); decimal = 0; for (;;){