commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2018-11-30 16:32:18 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new.19453 (New) Package is "calc" Fri Nov 30 16:32:18 2018 rev:19 rq:652603 version:2.12.7.2 Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2018-11-06 14:39:34.448579221 +0100 +++ /work/SRC/openSUSE:Factory/.calc.new.19453/calc.changes 2018-11-30 16:32:20.457366698 +0100 @@ -1,0 +2,7 @@ +Thu Nov 29 11:53:30 UTC 2018 - mvet...@suse.com + +- new stable release 2.12.7.2: + + Fixed a segfault when getpwuid() returned NULL during initialization + + Corrected Changes notes + +--- Old: calc-2.12.7.0.tar.bz2 New: calc-2.12.7.2.tar.bz2 Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.Ehq7YV/_old 2018-11-30 16:32:21.313365575 +0100 +++ /var/tmp/diff_new_pack.Ehq7YV/_new 2018-11-30 16:32:21.317365570 +0100 @@ -19,10 +19,10 @@ %define soname 2 %define libname libcalc%{soname} Name: calc -Version:2.12.7.0 +Version:2.12.7.2 Release:0 Summary:C-style arbitrary precision calculator -License:LGPL-2.1 +License:LGPL-2.1-only Group: Productivity/Scientific/Math Url:http://www.isthe.com/chongo/tech/comp/calc/index.html Source0:http://www.isthe.com/chongo/src/calc/%{name}-%{version}.tar.bz2 ++ calc-2.12.7.0.tar.bz2 -> calc-2.12.7.2.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.7.0/CHANGES new/calc-2.12.7.2/CHANGES --- old/calc-2.12.7.0/CHANGES 2018-11-05 01:55:45.0 +0100 +++ new/calc-2.12.7.2/CHANGES 2018-11-28 21:23:08.0 +0100 @@ -1,4 +1,25 @@ -The following are the changes from calc version 2.12.7.0 to date: +The following are the changes from calc version 2.12.7.1 to date: + +Corrected CHANGES notes that were mixed up for TAB, VT, CR & +NL. The code in 2.12.7.0 is correct. The CHANGE notes should +have read: + + The following is a partial list of escape sequences recognized + in strings and in printf formats: + + \a audible bellbyte 0x07 in ASCII encoding + \b backspace byte 0x08 in ASCII encoding + \f form feed byte 0x0c in ASCII encoding + \n newline byte 0x0a in ASCII encoding + \r return byte 0x0d in ASCII encoding + \t tab byte 0x09 in ASCII encoding + \v vertical tabbyte 0x0b in ASCII encoding + + Fixed a segfault when getpwuid() returned NULL during initialization. + Thanks goes to baratharon GitHub user for reporting this issue. + + +The following are the changes from calc version 2.12.6.10: to 2.12.7.0: Added a patch to replaces the manual search for include files in $(INCDIR) in the have_*.h targets with compiler invocations. @@ -32,10 +53,10 @@ \a audible bellbyte 0x07 in ASCII encoding \b backspace byte 0x08 in ASCII encoding \f form feed byte 0x0c in ASCII encoding - \n newline byte 0x0b in ASCII encoding - \r return byte 0x0a in ASCII encoding - \t tab byte 0x0d in ASCII encoding - \v vertical tabbyte 0x09 in ASCII encoding + \n newline byte 0x0a in ASCII encoding + \r return byte 0x0d in ASCII encoding + \t tab byte 0x09 in ASCII encoding + \v vertical tabbyte 0x0b in ASCII encoding The following are the changes from calc version 2.12.6.9 to 2.12.6.9: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.7.0/Makefile new/calc-2.12.7.2/Makefile --- old/calc-2.12.7.0/Makefile 2018-11-05 00:43:59.0 +0100 +++ new/calc-2.12.7.2/Makefile 2018-11-28 21:12:10.0 +0100 @@ -1054,7 +1054,7 @@ # The default calc versions # -VERSION= 2.12.7.0 +VERSION= 2.12.7.2 # Names of shared libraries with versions # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.7.0/Makefile.simple new/calc-2.12.7.2/Makefile.simple --- old/calc-2.12.7.0/Makefile.simple 2018-11-05 02:29:38.0 +0100 +++ new/calc-2.12.7.2/Makefile.simple 2018-11-28 21:35:52.0 +0100 @@ -981,7 +981,7 @@ # The default calc versions # -VERSION= 2.12.7.0 +VERSION= 2.12.7.2 # Names of shared libraries with versions # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--e
commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2018-11-06 14:38:52 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) Package is "calc" Tue Nov 6 14:38:52 2018 rev:18 rq:646389 version:2.12.7.0 Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2018-10-18 15:39:42.954066561 +0200 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2018-11-06 14:39:34.448579221 +0100 @@ -1,0 +2,16 @@ +Mon Nov 5 08:11:58 UTC 2018 - d...@opensuse.org + +- new stable release 2.12.7.0 + + The qprintnum() function now takes outdigits as a [optional] 3rd +argument. + + enhanced printf + + various documentation updates + + various fixes of build + +--- +Sat Oct 20 05:44:25 UTC 2018 - d...@opensuse.org + +- update to 2.12.6.10 + + minor improvements + +--- Old: calc-2.12.6.9.tar.bz2 New: calc-2.12.7.0.tar.bz2 Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.usq4DR/_old 2018-11-06 14:39:35.800577178 +0100 +++ /var/tmp/diff_new_pack.usq4DR/_new 2018-11-06 14:39:35.804577172 +0100 @@ -19,7 +19,7 @@ %define soname 2 %define libname libcalc%{soname} Name: calc -Version:2.12.6.9 +Version:2.12.7.0 Release:0 Summary:C-style arbitrary precision calculator License:LGPL-2.1 ++ calc-2.12.6.9.tar.bz2 -> calc-2.12.7.0.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.6.9/CHANGES new/calc-2.12.7.0/CHANGES --- old/calc-2.12.6.9/CHANGES 2018-10-16 04:36:43.0 +0200 +++ new/calc-2.12.7.0/CHANGES 2018-11-05 01:55:45.0 +0100 @@ -1,4 +1,44 @@ -The following are the changes from calc version 2.12.6.9 to date: +The following are the changes from calc version 2.12.7.0 to date: + +Added a patch to replaces the manual search for include files +in $(INCDIR) in the have_*.h targets with compiler invocations. +Thanks goes to Helmut Grohne (helmut at subdivi dot de) who +implemented the patch and posted it to the Debian bug tracker +and Martin Buck (m at rtin-buck dor de) for forwarding it to us. + +The check_include make rule was fixed to not assume /usr/include. + +The qprintnum() function now takes outdigits as a 3rd argument. +Most of the time, this 3rd argument is just conf->outdigits. +But when it comes to the experimental '%g', this value can +change. This avoids having to modify conf->outdigits. + +Fixed a problem where gcc complains about E_FUNC not being defined +for Linux systems as reported by Martin Buck (m at rtin-buck dor de). + +Updated the help files help/config, help/display, help/epsilon, +help/fprint, help/printf, and help/strprintf to give more +examples of how display digits and epsilon precision interact +with displaying values. + +Added more information about %g in the help file help/printf. + +The '\a' is now recognized in a printf format string as the +single byte audible bell character (byte 0x07 in ASCII encoding). + +The following is a partial list of escape sequences recognized +in strings and in printf formats: + + \a audible bellbyte 0x07 in ASCII encoding + \b backspace byte 0x08 in ASCII encoding + \f form feed byte 0x0c in ASCII encoding + \n newline byte 0x0b in ASCII encoding + \r return byte 0x0a in ASCII encoding + \t tab byte 0x0d in ASCII encoding + \v vertical tabbyte 0x09 in ASCII encoding + + +The following are the changes from calc version 2.12.6.9 to 2.12.6.9: Fixed a number of core dump bugs related to the calculation of tan(), cot(), sec(), csc(), tanh(), coth(), sech(), and csch(), @@ -26,8 +66,9 @@ INCDIR= $(shell xcrun --show-sdk-path --sdk macosx)/usr/include to determine the upper path of the /usr/include directory for macOS. -The Darwin target seems to not automatically detected. For now, -under macOS, declare the target as darwin: +In some rare cases, the Darwin target seems to not automatically detected. +If you are running under macOS, and that happens, you can force +the target to be Darwin: # for macOS users only, force the target to be darwin # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.6.9/Makefile new/calc-2.12.7.0/Makefile --- old/calc-2.12.6.9/Makefile 2018-10-16 03:45:05.00
commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2018-10-18 15:39:24 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) Package is "calc" Thu Oct 18 15:39:24 2018 rev:17 rq:642800 version:2.12.6.9 Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2018-10-11 11:55:44.238001767 +0200 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2018-10-18 15:39:42.954066561 +0200 @@ -1,0 +2,6 @@ +Tue Oct 16 16:07:46 UTC 2018 - d...@opensuse.org + +- update to 2.12.6.9 + + various fixes and improvements, e.g. a number of core dump bugs + +--- Old: calc-2.12.6.8.tar.bz2 New: calc-2.12.6.9.tar.bz2 Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.lW4nEq/_old 2018-10-18 15:39:43.798065603 +0200 +++ /var/tmp/diff_new_pack.lW4nEq/_new 2018-10-18 15:39:43.802065598 +0200 @@ -19,7 +19,7 @@ %define soname 2 %define libname libcalc%{soname} Name: calc -Version:2.12.6.8 +Version:2.12.6.9 Release:0 Summary:C-style arbitrary precision calculator License:LGPL-2.1 ++ calc-2.12.6.8.tar.bz2 -> calc-2.12.6.9.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.6.8/CHANGES new/calc-2.12.6.9/CHANGES --- old/calc-2.12.6.8/CHANGES 2018-09-30 18:26:46.0 +0200 +++ new/calc-2.12.6.9/CHANGES 2018-10-16 04:36:43.0 +0200 @@ -1,4 +1,43 @@ -The following are the changes from calc version 2.12.6.6 to date: +The following are the changes from calc version 2.12.6.9 to date: + +Fixed a number of core dump bugs related to the calculation of +tan(), cot(), sec(), csc(), tanh(), coth(), sech(), and csch(), +asin(), acos(), asinh(), acosh(), where when a call to an +underlying function produced an invalid value. Thanks goes to +github user wuxiuheng for reporting this problem. + +A number of trigonometric and hyperbolic functions that incorrectly +returned E_LOGINF, now return a new error code that is more +specific to the trigonometric or hyperbolic function. The +following is a list of these new error codes: E_TAN3 E_TAN4 +E_COT3 E_COT4 E_SEC3 E_CSC3 E_TANH3 E_TANH4 E_COTH3 E_COTH4 +E_SECH3 E_CSCH3 E_ASIN3 E_ACOS3 E_ASINH3 E_ACOSH3 E_ATAN3 E_ACOT3 +E_ASEC3 E_ACSC3 E_ATANH3 E_ACOTH3 E_ASECH3 E_ACSCH3. + +Added regression tests 3729 thru 3732 to test E_TAN3, E_COT3, +E_SEC3 and E_CSC3 respectively. + +Added experimential %g printf (and strprintf) format implementation +based on pull request from github user 10110111. + +Made exterimental changes to macOS builds to not require use of +/usr/include. The INCDIR for macOS uses: + + INCDIR= $(shell xcrun --show-sdk-path --sdk macosx)/usr/include + +to determine the upper path of the /usr/include directory for macOS. +The Darwin target seems to not automatically detected. For now, +under macOS, declare the target as darwin: + + # for macOS users only, force the target to be darwin + # + make target=Darwin clobber + make target=Darwin all + make target=Darwin chk + make target=Darwin install + + +The following are the changes from calc version 2.12.6.6 to 2.12.6.8: For historical purposes, in lucas.cal, gen_v1(1, n) always returns 4. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.6.8/HOWTO.INSTALL new/calc-2.12.6.9/HOWTO.INSTALL --- old/calc-2.12.6.8/HOWTO.INSTALL 2017-06-02 23:50:17.0 +0200 +++ new/calc-2.12.6.9/HOWTO.INSTALL 2018-10-16 04:36:49.0 +0200 @@ -32,6 +32,16 @@ targets, the default make is sufficent. On FreeBSD for example, one must use gmake instead of make. + Some report that under macOS, one has to declare the target + to be darwin. So for macOS, one might have to do: + + # for macOS users only, force the target to be darwin + # + make target=Darwin clobber + make target=Darwin all + make target=Darwin chk + make target=Darwin install + If your target system does not have GNU Make (or equivalent), then you should try using the Makefile.simple and custom/Makefile.simple files: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.6.8/Makefile new/calc-2.12.6.9/Makefile --- old/calc-2.12.6.8/Makefile 2018-09-30 18:14:31.0 +0200 +++ new/calc-2.12.6.9/Makefile 2018-10-16 03:45:05.0 +0200 @
commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2018-10-11 11:55:18 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) Package is "calc" Thu Oct 11 11:55:18 2018 rev:16 rq:640828 version:2.12.6.8 Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2018-04-11 13:56:44.990172716 +0200 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2018-10-11 11:55:44.238001767 +0200 @@ -1,0 +2,6 @@ +Tue Oct 2 06:53:27 UTC 2018 - d...@opensuse.org + +- update to 2.12.6.8 + + various fixes and improvements + +--- Old: calc-2.12.6.7.tar.bz2 New: calc-2.12.6.8.tar.bz2 Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.tqKcwA/_old 2018-10-11 11:55:45.006000790 +0200 +++ /var/tmp/diff_new_pack.tqKcwA/_new 2018-10-11 11:55:45.01784 +0200 @@ -19,7 +19,7 @@ %define soname 2 %define libname libcalc%{soname} Name: calc -Version:2.12.6.7 +Version:2.12.6.8 Release:0 Summary:C-style arbitrary precision calculator License:LGPL-2.1 @@ -67,9 +67,9 @@ this library. %prep -( cd ${RPM_SOURCE_DIR}; ls -l; - grep $(basename %{SOURCE0}) %{SOURCE1} | \ -sed 's/[[:space:]]\+/ /' | sha256sum -c - || exit 23; +( cd ${RPM_SOURCE_DIR}; + sed -n "/$(basename %{SOURCE0})/s/[[:space:]]\+/ /p" %{SOURCE1} | \ +sha256sum -c - || exit 23; ) %setup -q ++ calc-2.12.6.7.tar.bz2 -> calc-2.12.6.8.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.6.7/CHANGES new/calc-2.12.6.8/CHANGES --- old/calc-2.12.6.7/CHANGES 2018-03-04 20:04:51.0 +0100 +++ new/calc-2.12.6.8/CHANGES 2018-09-30 18:26:46.0 +0200 @@ -25,6 +25,20 @@ This helps with an interactive bug that was reported by Ruslan Kabatsayev (b7 dot 10110111 at gmail dot com). +The calc man page indicates that -d also disables the printing of the +leading tilde. + +Added information to "help command" about how to silence messages +while reading calc resource files. + +Fixed an error message buffer overflow thanks to a report by +Frank Peters . + +Replaced all use of the C funcion sprintf() with snprintf(). +Replaced all use of the C funcion vsprintf() with vsnprintf(). +Replaced all DONT_HAVE_VSPRINTF with DONT_HAVE_VSNPRINTF. +Replaced all Makefile var ${HAVE_VSPRINTF} with ${HAVE_VSNPRINTF}. + The following are the changes from calc version 2.12.6.4 to 2.12.6.5: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.6.7/Makefile new/calc-2.12.6.8/Makefile --- old/calc-2.12.6.7/Makefile 2018-03-04 19:40:38.0 +0100 +++ new/calc-2.12.6.8/Makefile 2018-09-30 18:14:31.0 +0200 @@ -90,29 +90,29 @@ #TERMCONTROL= -DUSE_SGTTY #TERMCONTROL= -DUSE_WIN32 -# If your system does not have a vsprintf() function, you could be in trouble. +# If your system does not have a vsnprintf() function, you could be in trouble. # -# vsprintf(string, format, ap) +# vsnprintf(string, size, format, ap) # -# This function works like sprintf except that the 3rd arg is a va_list -# strarg (or varargs) list. Some old systems do not have vsprintf(). -# If you do not have vsprintf(), then calc will try sprintf() and hope +# This function works like spnrintf except that the 4th arg is a va_list +# strarg (or varargs) list. Some old systems do not have vsnprintf(). +# If you do not have vsnprintf(), then calc will try snprintf() and hope # for the best. # # A similar problem occurs if your system does not have a vsnprintf() -# function. This function is like the vsprintf() function except that +# function. This function is like the vsnprintf() function except that # there is an extra second argument that controls the maximum size # string that is produced. # -# If HAVE_VSPRINTF is empty, this Makefile will run the have_stdvs.c and/or -# have_varvs.c program to determine if vsprintf() is supported. If -# HAVE_VSPRINTF is set to -DDONT_HAVE_VSPRINTF then calc will hope that -# sprintf() will work. +# If HAVE_VSNPRINTF is empty, this Makefile will run the have_stdvs.c and/or +# have_varvs.c program to determine if vsnprintf() is supported. If +# HAVE_VSNPRINTF is set to -DDONT_HAVE_VSNPRINTF then calc will hope that +# snprintf() will work. # -# If in doubt, leave HAVE_VSPRINTF empty. +# If in doubt, leave HAVE_VSNPRINTF empty. # -HAVE_VSPRINTF= -#HAVE_VSPRINTF= -DDONT_HAVE_VSPRINTF +HAVE_VSNPRINTF= +#HAVE_VSNPRINTF= -DDONT_HAVE_VSNPRINTF # Determine the byte
commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2018-04-11 13:56:42 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) Package is "calc" Wed Apr 11 13:56:42 2018 rev:15 rq:594242 version:2.12.6.7 Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2018-01-20 11:27:28.338240509 +0100 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2018-04-11 13:56:44.990172716 +0200 @@ -1,0 +2,12 @@ +Thu Mar 29 13:34:22 UTC 2018 - d...@opensuse.org + +- update to 2.12.6.7 + + various fixes and improvements (e.g. inputbuffer length) + +--- +Tue Jan 30 13:26:53 UTC 2018 - d...@opensuse.org + +- update to 2.12.6.5 +- drop upstreamed calc-qmath-sequence-point.patch + +--- Old: calc-2.12.6.4.tar.bz2 calc-qmath-sequence-point.patch what-is-calc New: calc-2.12.6.7.tar.bz2 Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.bofElC/_old 2018-04-11 13:56:45.718146392 +0200 +++ /var/tmp/diff_new_pack.bofElC/_new 2018-04-11 13:56:45.722146247 +0200 @@ -19,7 +19,7 @@ %define soname 2 %define libname libcalc%{soname} Name: calc -Version:2.12.6.4 +Version:2.12.6.7 Release:0 Summary:C-style arbitrary precision calculator License:LGPL-2.1 @@ -29,10 +29,6 @@ Source1:http://www.isthe.com/chongo/src/calc/checksum.sha-256 Source2:README.openSUSE Source3:calc-rpmlintrc -Source10: http://www.isthe.com/chongo/src/calc/what-is-calc -# patch to replace a macro possibly dereferencing an undefined value -# by an inline-function -Patch0: %{name}-qmath-sequence-point.patch BuildRequires: fdupes BuildRequires: ncurses-devel >= 5.5 BuildRequires: readline-devel >= 5.1 @@ -76,10 +72,8 @@ sed 's/[[:space:]]\+/ /' | sha256sum -c - || exit 23; ) %setup -q -%patch0 -p1 cp "%{SOURCE2}" . -cp "%{SOURCE10}" what-is-calc.txt sed -i '/${CC} ${LIBCUSTCALC_SHLIB} ${CUSTCALC_OBJ}/a\ \tln -s $@ libcustcalc.so @@ -120,6 +114,7 @@ README.FIRST README.md README.openSUSE \ custom/CUSTOM_CAL custom/HOW_TO_ADD \ %{buildroot}%{_docdir}/%{name}/ + # create symlinks to the help-dir for the help command, e.g. "help bugs" ln -sf %{_docdir}/%{name}/COPYING \ %{buildroot}%{_datadir}/%{name}/help/COPYING @@ -138,6 +133,10 @@ ln -sf %{_docdir}/%{name}/HOW_TO_ADD \ %{buildroot}%{_datadir}/%{name}/help/new_custom +# add symlink to intro to docdir +ln -sf %{_datadir}/%{name}/help/intro \ +%{buildroot}%{_docdir}/%{name}/what-is-calc.txt + %fdupes %{buildroot} %post -n %{libname} -p /sbin/ldconfig @@ -152,7 +151,7 @@ %{_bindir}/%{name} %{_datadir}/%{name} %doc %{_mandir}/man1/%{name}.1.gz -%doc what-is-calc.txt +%doc %{_docdir}/%{name}/what-is-calc.txt %files -n %{libname} %defattr(-,root,root) ++ calc-2.12.6.4.tar.bz2 -> calc-2.12.6.7.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.6.4/CHANGES new/calc-2.12.6.7/CHANGES --- old/calc-2.12.6.4/CHANGES 2018-01-15 02:10:16.0 +0100 +++ new/calc-2.12.6.7/CHANGES 2018-03-04 20:04:51.0 +0100 @@ -1,4 +1,44 @@ -The following are the changes from calc version 2.12.6.1 to date: +The following are the changes from calc version 2.12.6.6 to date: + +For historical purposes, in lucas.cal, gen_v1(1, n) always returns 4. + +Fixed some compiler warnings, thanks to a report by Mike +. + +Added work around for a gcc warning bug, thanks to a report by Mike +. + +Fixed errors in various help files such as: + + mat randbit seed srandom types + +Removed the MAXSTRING symbol because it was no longer used by calc. + +Increased HIST_SIZE (depth of the history stack) from 10k to 32k. + +Increased TTYSIZE (reallocation size for terminal buffers) from 100 to 8191. + +Increased MAXDEPTH (maximum depth of input stack) from 10 to 255. + +Increased interactive input buffer size from 1024 to 256k. This has the +effect of increasing the maximum length of an input line from a tty. +This helps with an interactive bug that was reported by Ruslan Kabatsayev +(b7 dot 10110111 at gmail dot com). + + +The following are the changes from calc version 2.12.6.4 to 2.12.6.5: + +Fixed warning about undefined operations involving the qlink(q) +macro by replacing that macro with an inline-function. Thanks goes +to David Haller for this fix. + +NOTE for Windows 10 users: Pavel Nemec +reported that calc version 2.
commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2018-01-20 11:27:27 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) Package is "calc" Sat Jan 20 11:27:27 2018 rev:14 rq:567517 version:2.12.6.4 Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2017-08-10 14:12:58.741054288 +0200 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2018-01-20 11:27:28.338240509 +0100 @@ -1,0 +2,16 @@ +Thu Jan 18 13:19:26 UTC 2018 - d...@opensuse.org + +- update to 2.12.6.4 + + Fixed a man page warning about ./myfile + + Improved gen_v1(h,n) in lucas.cal for cases where h is not a multiple of 3. + + Optimized the search for v(1) when h is a multiple of 3. + +--- +Thu Sep 7 04:08:05 UTC 2017 - d...@opensuse.org + +- update to 2.12.6.3 + + Improved gen_v1(h,n) in lucas.cal to use an even faster search method + + Improved checking in lucas.cal + + Fixed an C code indenting issue in zfunc.c + +--- Old: calc-2.12.6.1.tar.bz2 New: calc-2.12.6.4.tar.bz2 Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.SjhoAR/_old 2018-01-20 11:27:28.990210019 +0100 +++ /var/tmp/diff_new_pack.SjhoAR/_new 2018-01-20 11:27:28.994209832 +0100 @@ -1,7 +1,7 @@ # # spec file for package calc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -19,7 +19,7 @@ %define soname 2 %define libname libcalc%{soname} Name: calc -Version:2.12.6.1 +Version:2.12.6.4 Release:0 Summary:C-style arbitrary precision calculator License:LGPL-2.1 @@ -85,8 +85,6 @@ \tln -s $@ libcustcalc.so ' custom/Makefile -sed -i.orig -e 's@^\./myfile@\\a./myfile@g' calc.man - %define _NC_FLAGS %(ncursesw6-config --cflags) %define _NC_LIBS %(ncursesw6-config --libs) ++ calc-2.12.6.1.tar.bz2 -> calc-2.12.6.4.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.6.1/CHANGES new/calc-2.12.6.4/CHANGES --- old/calc-2.12.6.1/CHANGES 2017-06-10 00:43:13.0 +0200 +++ new/calc-2.12.6.4/CHANGES 2018-01-15 02:10:16.0 +0100 @@ -6,6 +6,22 @@ integers >= 1. In the case of both rodseth_xhn(x, h, n) and gen_v1(h, n) h must be odd. +Fixed an C code indenting issue that was reported by Thomas Walter + in zfunc.c. + +Fixed a man page warning about ./myfile where the leading dot +was mistook for an nroff macro. Thanks goes to David Haller + for providing the patch. + +Improved gen_v1(h,n) in lucas.cal for cases where h is not a +multiple of 3. Optimized the search for v(1) when h is a +multiple of 3. + +Fixed a Makefile problem, reported by Doug Hays , where if a macOS user set BINDIR, LIBDIR, CALC_SHAREDIR +or INCDIR in the top section, their values will be overwritten by +the Darwin specific section. + The following are the changes from calc version 2.12.6.0 to 2.12.6.0: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.6.1/Makefile new/calc-2.12.6.4/Makefile --- old/calc-2.12.6.1/Makefile 2017-06-06 06:19:21.0 +0200 +++ new/calc-2.12.6.4/Makefile 2018-01-15 01:59:41.0 +0100 @@ -23,7 +23,7 @@ # READLINE_LIB= -lreadline # READLINE_EXTRAS= -lhistory -lncurses # -# Copyright (C) 1999-2017 Landon Curt Noll +# Copyright (C) 1999-2018 Landon Curt Noll # # Calc is open software; you can redistribute it and/or modify it under # the terms of version 2.1 of the GNU Lesser General Public License @@ -564,14 +564,30 @@ # # INCDIR= /dev/env/DJDIR/include # -# If in doubt, set: +# If in doubt, for non-macOS hosts set: # # INCDIR= /usr/include # +# However, if you are on macOS then set: +# +# INCDIR= /usr/local/include +#if 0 /* start of skip for non-Gnu makefiles */ +ifeq ($(target),Darwin) + +# default INCDIR for macOS +INCDIR= /usr/local/include + +else +#endif /* end of skip for non-Gnu makefiles */ +# default INCDIR for non-macOS +INCDIR= /usr/include #INCDIR= /usr/local/include #INCDIR= /dev/env/DJDIR/include -INCDIR= /usr/include + +#if 0 /* start of skip for non-Gnu makefiles */ +endif +#endif /* end of skip for non-Gnu makefiles */ # Where to install calc related things # @@ -602,23 +618,71 @@ # LIBDIR= /d
commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2017-08-10 14:05:05 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) Package is "calc" Thu Aug 10 14:05:05 2017 rev:13 rq:514226 version:2.12.6.1 Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2017-08-01 09:25:05.742095451 +0200 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2017-08-10 14:12:58.741054288 +0200 @@ -1,0 +2,5 @@ +Tue Aug 1 16:13:44 UTC 2017 - greg.freem...@gmail.com + +- trivial doc fix + +--- Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.7Wxuwq/_old 2017-08-10 14:12:59.436956305 +0200 +++ /var/tmp/diff_new_pack.7Wxuwq/_new 2017-08-10 14:12:59.444955179 +0200 @@ -79,7 +79,7 @@ %patch0 -p1 cp "%{SOURCE2}" . -cp "%{SOURCE3}" what-is-calc.txt +cp "%{SOURCE10}" what-is-calc.txt sed -i '/${CC} ${LIBCUSTCALC_SHLIB} ${CUSTCALC_OBJ}/a\ \tln -s $@ libcustcalc.so
commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2017-08-01 09:25:04 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) Package is "calc" Tue Aug 1 09:25:04 2017 rev:12 rq:512977 version:2.12.6.1 Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2016-05-19 12:15:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2017-08-01 09:25:05.742095451 +0200 @@ -1,0 +2,10 @@ +Sun Jul 23 21:32:46 UTC 2017 - d...@opensuse.org + +- update to 2.12.6.1 + +--- +Tue Jun 6 12:00:05 UTC 2016 - d...@opensuse.org + +- update to 2.12.5.6 + +--- Old: calc-2.12.5.4.tar.bz2 New: calc-2.12.6.1.tar.bz2 what-is-calc Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.LSB1jn/_old 2017-08-01 09:25:06.949925228 +0200 +++ /var/tmp/diff_new_pack.LSB1jn/_new 2017-08-01 09:25:06.961923538 +0200 @@ -1,7 +1,7 @@ # # spec file for package calc # -# Copyright (c) 2016 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 @@ -19,7 +19,7 @@ %define soname 2 %define libname libcalc%{soname} Name: calc -Version:2.12.5.4 +Version:2.12.6.1 Release:0 Summary:C-style arbitrary precision calculator License:LGPL-2.1 @@ -29,6 +29,7 @@ Source1:http://www.isthe.com/chongo/src/calc/checksum.sha-256 Source2:README.openSUSE Source3:calc-rpmlintrc +Source10: http://www.isthe.com/chongo/src/calc/what-is-calc # patch to replace a macro possibly dereferencing an undefined value # by an inline-function Patch0: %{name}-qmath-sequence-point.patch @@ -78,6 +79,16 @@ %patch0 -p1 cp "%{SOURCE2}" . +cp "%{SOURCE3}" what-is-calc.txt + +sed -i '/${CC} ${LIBCUSTCALC_SHLIB} ${CUSTCALC_OBJ}/a\ +\tln -s $@ libcustcalc.so +' custom/Makefile + +sed -i.orig -e 's@^\./myfile@\\a./myfile@g' calc.man + +%define _NC_FLAGS %(ncursesw6-config --cflags) +%define _NC_LIBS %(ncursesw6-config --libs) %define makevars \\\ BINDIR=%{_bindir} \\\ @@ -87,8 +98,10 @@ CALC_INCDIR=%{_includedir}/calc \\\ MANDIR=%{_mandir}/man1 \\\ HAVE_FPOS="-DHAVE_NO_FPOS" \\\ -LD_SHARE="" \\\ -EXTRA_CFLAGS="%{optflags} -g -fno-strict-aliasing" +USE_READLINE="-DUSE_READLINE" \\\ +READLINE_LIB="-lreadline -lhistory %{_NC_LIBS} -L./custom -lcustcalc" \\\ +LD_SHARE="%{_NC_LIBS}" \\\ +EXTRA_CFLAGS="%{optflags} -g -fno-strict-aliasing %{_NC_FLAGS}" %build make -e %{makevars} @@ -98,10 +111,17 @@ %install make T=%{buildroot} %{makevars} install +ln -s libcalc.so.%{version} %{buildroot}%{_libdir}/libcalc.so.2 +ln -s libcustcalc.so.%{version} %{buildroot}%{_libdir}/libcustcalc.so.2 +rmdir %{buildroot}%{_includedir}/calc/custom # dummy-install some docs etc. to create the symlinks install -d -m 755 %{buildroot}%{_docdir}/%{name} -install -m 644 BUGS COPYING COPYING-LGPL CHANGES %{buildroot}%{_docdir}/%{name}/ +install -m 644 \ +BUGS CHANGES COPYING COPYING-LGPL HOWTO.INSTALL LIBRARY \ +README.FIRST README.md README.openSUSE \ +custom/CUSTOM_CAL custom/HOW_TO_ADD \ +%{buildroot}%{_docdir}/%{name}/ # create symlinks to the help-dir for the help command, e.g. "help bugs" ln -sf %{_docdir}/%{name}/COPYING \ %{buildroot}%{_datadir}/%{name}/help/COPYING @@ -115,6 +135,10 @@ %{buildroot}%{_datadir}/%{name}/help/changes ln -sf %{_docdir}/%{name}/CHANGES \ %{buildroot}%{_datadir}/%{name}/help/change +ln -sf %{_docdir}/%{name}/CUSTOM_CAL \ +%{buildroot}%{_datadir}/%{name}/help/custom_cal +ln -sf %{_docdir}/%{name}/HOW_TO_ADD \ +%{buildroot}%{_datadir}/%{name}/help/new_custom %fdupes %{buildroot} @@ -124,10 +148,13 @@ %files %defattr(-, root, root) -%doc BUGS CHANGES COPYING COPYING-LGPL README README.openSUSE +%doc BUGS CHANGES COPYING COPYING-LGPL HOWTO.INSTALL LIBRARY +%doc README.FIRST README.md README.openSUSE +%doc custom/CUSTOM_CAL custom/HOW_TO_ADD %{_bindir}/%{name} %{_datadir}/%{name} %doc %{_mandir}/man1/%{name}.1.gz +%doc what-is-calc.txt %files -n %{libname} %defattr(-,root,root) @@ -137,7 +164,7 @@ %files devel %defattr(-, root, root) %doc %attr(644, root, root) BUGS COPYING COPYING-LGPL LIBRARY -%doc sample_many.c sample_rand.c sample.README README README.openSUSE +%doc sample_many.c sample_rand.c sample.README README.md README.openSUSE %{_includedir}
commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2016-05-19 12:15:13 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) Package is "calc" Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2016-02-17 12:10:03.0 +0100 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2016-05-19 12:15:15.0 +0200 @@ -1,0 +2,8 @@ +Tue May 17 17:34:05 UTC 2016 - d...@opensuse.org + +- update to 2.12.5.4 + +Recompile to match current RHEL7.2 libc and friends + +Upstream made this release in order to update binary files not used in openSUSE + +No actual code change, other than the version number was bumped + +--- Old: calc-2.12.5.3.tar.bz2 New: calc-2.12.5.4.tar.bz2 Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.4cpPZG/_old 2016-05-19 12:15:16.0 +0200 +++ /var/tmp/diff_new_pack.4cpPZG/_new 2016-05-19 12:15:16.0 +0200 @@ -19,7 +19,7 @@ %define soname 2 %define libname libcalc%{soname} Name: calc -Version:2.12.5.3 +Version:2.12.5.4 Release:0 Summary:C-style arbitrary precision calculator License:LGPL-2.1 ++ calc-2.12.5.3.tar.bz2 -> calc-2.12.5.4.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.5.3/CHANGES new/calc-2.12.5.4/CHANGES --- old/calc-2.12.5.3/CHANGES 2016-02-08 23:09:38.0 +0100 +++ new/calc-2.12.5.4/CHANGES 2016-02-22 20:37:21.0 +0100 @@ -1,4 +1,9 @@ -The following are the changes from calc version 2.12.5.3 to date: +The following are the changes from calc version 2.12.5.4 to date: + +Recompile to match current RHEL7.2 libc and friends. + + +The following are the changes from calc version 2.12.5.3 to 2.12.5.3: Calc version 2.12.5.2 for Darwin (Mac OS X) users, code to installed calc under /opt/calc. Moreover the CHANGES file did not mention @@ -7157,8 +7162,8 @@ ## received a copy with calc; if not, write to Free Software Foundation, Inc. ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ## -## @(#) $Revision: 30.50 $ -## @(#) $Id: CHANGES,v 30.50 2016/02/08 22:09:34 chongo Exp $ +## @(#) $Revision: 30.51 $ +## @(#) $Id: CHANGES,v 30.51 2016/02/22 19:37:21 chongo Exp $ ## @(#) $Source: /usr/local/src/bin/calc/RCS/CHANGES,v $ ## ## Under source code control: 1993/06/02 18:12:57 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.5.3/Makefile new/calc-2.12.5.4/Makefile --- old/calc-2.12.5.3/Makefile 2016-02-08 23:10:13.0 +0100 +++ new/calc-2.12.5.4/Makefile 2016-02-22 20:38:22.0 +0100 @@ -39,8 +39,8 @@ # received a copy with calc; if not, write to Free Software Foundation, Inc. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # -MAKEFILE_REV= $$Revision: 30.85 $$ -# @(#) $Id: Makefile.ship,v 30.85 2016/02/08 22:10:13 chongo Exp $ +MAKEFILE_REV= $$Revision: 30.86 $$ +# @(#) $Id: Makefile.ship,v 30.86 2016/02/22 19:38:22 chongo Exp $ # @(#) $Source: /usr/local/src/bin/calc/RCS/Makefile.ship,v $ # # Under source code control: 1990/02/15 01:48:41 @@ -984,7 +984,7 @@ # The default calc versions # -VERSION= 2.12.5.3 +VERSION= 2.12.5.4 # Names of shared libraries with versions # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.5.3/Makefile.simple new/calc-2.12.5.4/Makefile.simple --- old/calc-2.12.5.3/Makefile.simple 2016-02-08 23:13:16.0 +0100 +++ new/calc-2.12.5.4/Makefile.simple 2016-02-22 20:39:39.0 +0100 @@ -39,8 +39,8 @@ # received a copy with calc; if not, write to Free Software Foundation, Inc. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # -MAKEFILE_REV= $$Revision: 30.85 $$ -# @(#) $Id: Makefile.ship,v 30.85 2016/02/08 22:10:13 chongo Exp $ +MAKEFILE_REV= $$Revision: 30.86 $$ +# @(#) $Id: Makefile.ship,v 30.86 2016/02/22 19:38:22 chongo Exp $ # @(#) $Source: /usr/local/src/bin/calc/RCS/Makefile.ship,v $ # # Under source code control: 1990/02/15 01:48:41 @@ -961,7 +961,7 @@ # The default calc versions # -VERSION= 2.12.5.3 +VERSION= 2.12.5.4 # Names of shared libraries with versions # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calc-2.12.5.3/custom/Makefile new/calc-2.12.5.4/custom/Makefile --- old/calc-2.12.5.3/custom/Makefile 2016-02-08 23:12:30.0 +0100 +++ new/calc-2.12.5.4/custom/Makefile 2016-02-22 20:38:49.0 +0100 @@ -18,8 +18,8 @@ # received
commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2016-02-17 10:26:25 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) Package is "calc" Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2015-08-03 17:22:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2016-02-17 12:10:03.0 +0100 @@ -1,0 +2,15 @@ +Mon Feb 15 13:04:32 UTC 2016 - eshmar...@suse.com + +- add calc-rpmlintrc package to spec file + +--- +Sat Feb 13 06:06:28 UTC 2016 - d...@opensuse.org + +- update to 2.12.5.3 +- add calc-qmath-sequence-point.patch +- replace calc-2.12.3.3-no-rpath.patch by using LD_SHARE="" +- add test for checksum +- bit of reworking the spec/merging with my old one (which is based + on the include upstream calc.spec.in) + +--- Old: calc-2.12.3.3-no-rpath.patch calc-2.12.5.0.tar.bz2 New: calc-2.12.5.3.tar.bz2 calc-qmath-sequence-point.patch calc-rpmlintrc checksum.sha-256 Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.yiMqxp/_old 2016-02-17 12:10:04.0 +0100 +++ /var/tmp/diff_new_pack.yiMqxp/_new 2016-02-17 12:10:04.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package calc # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -16,25 +16,33 @@ # -%define soname 1 +%define soname 2 %define libname libcalc%{soname} Name: calc -Version:2.12.5.0 +Version:2.12.5.3 Release:0 -Summary:C-style arbitrary precision system +Summary:C-style arbitrary precision calculator License:LGPL-2.1 Group: Productivity/Scientific/Math -Url:http://sourceforge.net/projects/calc -Source0: http://sourceforge.net/projects/calc/files/calc/%{version}/%{name}-%{version}.tar.bz2 +Url:http://www.isthe.com/chongo/tech/comp/calc/index.html +Source0:http://www.isthe.com/chongo/src/calc/%{name}-%{version}.tar.bz2 +Source1:http://www.isthe.com/chongo/src/calc/checksum.sha-256 Source2:README.openSUSE -# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines -Patch1: calc-2.12.3.3-no-rpath.patch +Source3:calc-rpmlintrc +# patch to replace a macro possibly dereferencing an undefined value +# by an inline-function +Patch0: %{name}-qmath-sequence-point.patch BuildRequires: fdupes +BuildRequires: ncurses-devel >= 5.5 +BuildRequires: readline-devel >= 5.1 +Requires: %{libname} = %{version}-%{release} +Requires: less >= 358 +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Calc is arbitrary precision C-like arithmetic system that is a -calculator, an algorithm prototyper and mathematical research tool. Calc -comes with a rich set of builtin mathematical and programmatic +calculator, an algorithm prototype and mathematical research tool. +Calc comes with a rich set of builtin mathematical and programmatic functions. %package -n %{libname} @@ -50,7 +58,7 @@ %package devel Summary:Development files for libcalc Group: Development/Libraries/C and C++ -Requires: %{libname} = %{version} +Requires: %{libname} = %{version}-%{release} %description devel Part of the calc release consists of an arbitrary precision math link @@ -62,16 +70,53 @@ this library. %prep +( cd ${RPM_SOURCE_DIR}; ls -l; + grep $(basename %{SOURCE0}) %{SOURCE1} | \ +sed 's/[[:space:]]\+/ /' | sha256sum -c - || exit 23; +) %setup -q -%patch1 +%patch0 -p1 + cp "%{SOURCE2}" . +%define makevars \\\ +BINDIR=%{_bindir} \\\ +LIBDIR=%{_libdir} \\\ +SCRIPTDIR=%{_datadir}/%{name}/cscript \\\ +CALC_SHAREDIR=%{_datadir}/%{name} \\\ +CALC_INCDIR=%{_includedir}/calc \\\ +MANDIR=%{_mandir}/man1 \\\ +HAVE_FPOS="-DHAVE_NO_FPOS" \\\ +LD_SHARE="" \\\ +EXTRA_CFLAGS="%{optflags} -g -fno-strict-aliasing" + %build -make EXTRA_CFLAGS="%{optflags}" HAVE_FPOS="-DHAVE_NO_FPOS" +make -e %{makevars} + +%check +make -e %{makevars} chk %install -make T=%{buildroot} LIBDIR=%{_libdir} SCRIPTDIR=%{_datadir}/calc/cscript install -%fdupes %{buildroot}%{_datadir}/calc/ +make T=%{buildroot} %{makevars} install + +# dummy-install some docs etc. to create the symlinks +install -d -m 755 %{buildroot}%{_docdir}/%{name} +install -m
commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2015-08-03 17:22:09 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) Package is "calc" Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2014-12-29 00:30:18.0 +0100 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2015-08-03 17:22:15.0 +0200 @@ -1,0 +2,6 @@ +Sun Aug 2 15:56:19 UTC 2015 - mplus...@suse.com + +- Use url for source +- Cleanup spec file with spec-cleaner + +--- Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.ojX5BO/_old 2015-08-03 17:22:15.0 +0200 +++ /var/tmp/diff_new_pack.ojX5BO/_new 2015-08-03 17:22:15.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package calc # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -18,7 +18,6 @@ %define soname 1 %define libname libcalc%{soname} - Name: calc Version:2.12.5.0 Release:0 @@ -26,7 +25,7 @@ License:LGPL-2.1 Group: Productivity/Scientific/Math Url:http://sourceforge.net/projects/calc -Source: %{name}-%{version}.tar.bz2 +Source0: http://sourceforge.net/projects/calc/files/calc/%{version}/%{name}-%{version}.tar.bz2 Source2:README.openSUSE # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: calc-2.12.3.3-no-rpath.patch @@ -39,18 +38,16 @@ functions. %package -n %{libname} - Summary:Arbitrary precision math library Group: System/Libraries -%description -n %libname +%description -n %{libname} Part of the calc release consists of an arbitrary precision math link library. This link library is used by the calc program to perform its own calculations. If you wish, you can ignore the calc program entirely and call the arbitrary precision math routines from your own C programs. %package devel - Summary:Development files for libcalc Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} @@ -67,18 +64,18 @@ %prep %setup -q %patch1 -cp "%SOURCE2" . +cp "%{SOURCE2}" . %build make EXTRA_CFLAGS="%{optflags}" HAVE_FPOS="-DHAVE_NO_FPOS" %install -make T=%{buildroot} LIBDIR=%{_libdir} SCRIPTDIR=/usr/share/calc/cscript install +make T=%{buildroot} LIBDIR=%{_libdir} SCRIPTDIR=%{_datadir}/calc/cscript install %fdupes %{buildroot}%{_datadir}/calc/ -%post -n %libname -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig -%postun -n %libname -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig %files %defattr(-, root, root)
commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2014-12-29 00:30:14 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) Package is "calc" Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2013-10-02 20:29:30.0 +0200 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2014-12-29 00:30:18.0 +0100 @@ -1,0 +2,6 @@ +Thu Dec 25 14:34:02 UTC 2014 - p.drou...@gmail.com + +- Update to version 2.12.5.0 + + See Changes file for full list of changes + +--- Old: calc-2.12.4.13.tar.bz2 New: calc-2.12.5.0.tar.bz2 Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.7Qhe20/_old 2014-12-29 00:30:20.0 +0100 +++ /var/tmp/diff_new_pack.7Qhe20/_new 2014-12-29 00:30:20.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package calc # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,13 +20,13 @@ %define libname libcalc%{soname} Name: calc -Version:2.12.4.13 +Version:2.12.5.0 Release:0 Summary:C-style arbitrary precision system License:LGPL-2.1 Group: Productivity/Scientific/Math Url:http://sourceforge.net/projects/calc -Source: calc-%{version}.tar.bz2 +Source: %{name}-%{version}.tar.bz2 Source2:README.openSUSE # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: calc-2.12.3.3-no-rpath.patch ++ calc-2.12.4.13.tar.bz2 -> calc-2.12.5.0.tar.bz2 ++ 8427 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2013-10-02 20:29:29 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) Package is "calc" Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2013-05-27 09:42:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2013-10-02 20:29:30.0 +0200 @@ -1,0 +2,12 @@ +Tue Oct 1 16:29:42 UTC 2013 - greg.freem...@gmail.com + +- update to calc-2.12.4.13 + * major code cleanup and a few new functions + * See Changes file for full list of changes +- added %doc section to %files +- added README.openSUSE +- changed the libname from libcalc2_12_4_3 to libcalc%soname +- changed -n libcalc-devel to devel +- added Requires: %{libname} = %{version} to devel section + +--- Old: calc-2.12.4.8.tar.bz2 New: README.openSUSE calc-2.12.4.13.tar.bz2 Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.JT9ep8/_old 2013-10-02 20:29:31.0 +0200 +++ /var/tmp/diff_new_pack.JT9ep8/_new 2013-10-02 20:29:31.0 +0200 @@ -16,14 +16,18 @@ # +%define soname 1 +%define libname libcalc%{soname} + Name: calc -Version:2.12.4.8 +Version:2.12.4.13 Release:0 Summary:C-style arbitrary precision system License:LGPL-2.1 Group: Productivity/Scientific/Math Url:http://sourceforge.net/projects/calc Source: calc-%{version}.tar.bz2 +Source2:README.openSUSE # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: calc-2.12.3.3-no-rpath.patch BuildRequires: fdupes @@ -34,7 +38,6 @@ comes with a rich set of builtin mathematical and programmatic functions. -%define libname libcalc2_12_4_3 %package -n %{libname} Summary:Arbitrary precision math library @@ -46,12 +49,13 @@ own calculations. If you wish, you can ignore the calc program entirely and call the arbitrary precision math routines from your own C programs. -%package -n libcalc-devel +%package devel Summary:Development files for libcalc Group: Development/Libraries/C and C++ +Requires: %{libname} = %{version} -%description -n libcalc-devel +%description devel Part of the calc release consists of an arbitrary precision math link library. This link library is used by the calc program to perform its own calculations. If you wish, you can ignore the calc program entirely @@ -63,6 +67,7 @@ %prep %setup -q %patch1 +cp "%SOURCE2" . %build make EXTRA_CFLAGS="%{optflags}" HAVE_FPOS="-DHAVE_NO_FPOS" @@ -77,6 +82,7 @@ %files %defattr(-, root, root) +%doc README README.openSUSE %{_bindir}/calc %{_datadir}/calc %{_mandir}/man1/calc.1* @@ -85,8 +91,9 @@ %defattr(-, root, root) %{_libdir}/*.so.* -%files -n libcalc-devel +%files devel %defattr(-, root, root) +%doc LIBRARY sample_many.c sample_rand.c sample.README README README.openSUSE %{_includedir}/* %{_libdir}/*.so ++ README.openSUSE ++ calc includes a robust set of help files in /usr/share/calc/help These can be accessed via the command line via "calc help" or by entering "help" from the calc interactive prompt. Important examples include: calc help - a list of topics calc help bugs - known bugs and mis-features calc help changes - recent changes to calc calc help copyright - calc copyright and the GNU LGPL calc help copying - details on the Calc GNU Lesser General Public License calc help copying-lgpl - calc GNU Lesser General Public License text ++ calc-2.12.4.8.tar.bz2 -> calc-2.12.4.13.tar.bz2 ++ 17673 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2013-05-27 09:42:46 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) Package is "calc" Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2012-12-28 14:56:22.0 +0100 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2013-05-27 09:42:47.0 +0200 @@ -1,0 +2,9 @@ +Fri May 24 02:21:05 UTC 2013 - greg.freem...@gmail.com + +- update to calc-2.12.4.8 + * fixes a bug uncovered in calc which caused script failures when calc +was called within a while loop in BASH if the while loop was fed from +stdin, due to calc's redirection/inheritance of stdin and no option to +change this behavior. + +--- Old: calc-2.12.4.3.tar.bz2 New: calc-2.12.4.8.tar.bz2 Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.7fK5V3/_old 2013-05-27 09:42:48.0 +0200 +++ /var/tmp/diff_new_pack.7fK5V3/_new 2013-05-27 09:42:48.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package calc # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products 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,7 +17,7 @@ Name: calc -Version:2.12.4.3 +Version:2.12.4.8 Release:0 Summary:C-style arbitrary precision system License:LGPL-2.1 ++ calc-2.12.4.3.tar.bz2 -> calc-2.12.4.8.tar.bz2 ++ 7578 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit calc for openSUSE:Factory
Hello community, here is the log from the commit of package calc for openSUSE:Factory checked in at 2012-12-28 14:55:59 Comparing /work/SRC/openSUSE:Factory/calc (Old) and /work/SRC/openSUSE:Factory/.calc.new (New) Package is "calc", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/calc/calc.changes2012-09-06 08:44:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.calc.new/calc.changes 2012-12-28 14:56:02.0 +0100 @@ -1,0 +2,8 @@ +Thu Dec 27 10:49:37 UTC 2012 - dval...@suse.com + +- build with -DHAVE_NO_FPOS. Don't use fgetpos() and fsetpos() but + use fseek() and ftell() instead. The code that generates + fposval.h is completely broken. It tries to detect the size of + fpos_t but fails on ppc. + +--- Other differences: -- ++ calc.spec ++ --- /var/tmp/diff_new_pack.Xh9b2h/_old 2012-12-28 14:56:03.0 +0100 +++ /var/tmp/diff_new_pack.Xh9b2h/_new 2012-12-28 14:56:03.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package calc (Version 2.12.3.3) +# spec file for package calc # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,13 @@ # - Name: calc Version:2.12.4.3 -Release:1 -License:LGPL-2.1 +Release:0 Summary:C-style arbitrary precision system -Url:http://sourceforge.net/projects/calc +License:LGPL-2.1 Group: Productivity/Scientific/Math +Url:http://sourceforge.net/projects/calc Source: calc-%{version}.tar.bz2 # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: calc-2.12.3.3-no-rpath.patch @@ -66,7 +65,7 @@ %patch1 %build -make EXTRA_CFLAGS="%{optflags}" +make EXTRA_CFLAGS="%{optflags}" HAVE_FPOS="-DHAVE_NO_FPOS" %install make T=%{buildroot} LIBDIR=%{_libdir} SCRIPTDIR=/usr/share/calc/cscript install -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org