[calc/f19] update to 2.12.4.14 -- fixes bug in complex number comparison
Matthew Miller
mattdm at fedoraproject.org
Thu Sep 25 14:47:19 UTC 2014
commit c42aaffb412239cd9a1a3476ef5cfd03e5ba1ed0
Author: Matthew Miller <mattdm at mattdm.org>
Date: Thu Sep 25 10:46:43 2014 -0400
update to 2.12.4.14 -- fixes bug in complex number comparison
.gitignore | 1 +
calc.spec | 32 ++++++++++++++++++++++++--------
sources | 2 +-
3 files changed, 26 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fb3d0f0..d6978e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
calc-2.12.2.1.tar.gz
clog
/calc-2.12.4.4.tar.bz2
+/calc-2.12.4.14.tar.bz2
diff --git a/calc.spec b/calc.spec
index 01641d3..af4facc 100644
--- a/calc.spec
+++ b/calc.spec
@@ -15,8 +15,8 @@ License: LGPLv2
%endif
Name: calc
-Version: 2.12.4.4
-Release: 6%{?dist}
+Version: 2.12.4.14
+Release: 1%{?dist}
Summary: Arbitrary precision arithmetic system and calculator
Group: Applications/Engineering
@@ -84,8 +84,8 @@ useful in themselves.
%setup -q
%if %{with_readline}
- for f in help.c version.c calc.man cal/* $( ls help/*|grep '^help/credit$' ) ; do
- sed -i -e's/version 2.1 \(.*GNU\)/version 2 \1/;s/COPYING.LGPL/COPYING-GPL/;s/copying.lgpl/copying-gpl/;s/GNU LGPL/GNU GPL/;s/GNU Lesser General/GNU General/' $f
+ for f in help.c version.c calc.man $( ls help/*|grep '^help/credit$' ) ; do
+ sed -i -e's/version 2.1 \(.*GNU\)/version 2 \1/;s/COPYING\(.\)LGPL/COPYING\1GPL/;s/copying.lgpl/copying-gpl/;s/GNU LGPL/GNU GPL/;s/GNU Lesser General/GNU General/' $f
done
cp -p %{SOURCE1} COPYING
cp -p %{SOURCE2} COPYING-GPL
@@ -153,6 +153,10 @@ make T=%{buildroot} \
chmod 755 %{buildroot}%{_datadir}/%{name}/cscript/*
chmod 755 %{buildroot}%{_bindir}/calc
+# Fix permissions of libcalc, which upstream is now shipping non-executable
+# for some reason
+chmod 755 %{buildroot}/%{_libdir}/libcalc.so.%{version}
+
# move these so the doc macro can find them
mv %{buildroot}%{_datadir}/%{name}/README README-standard-resource
mv cscript/README README-cscript
@@ -228,7 +232,19 @@ rm -rf %{buildroot}
%changelog
-* Thu Feb 14 2013 Matthew Miller <mattdm at mattdm.org> - 2.14.4.4-6
+* Mon Sep 22 2014 Matthew Miller <mattdm at fedoraproject.org> - 2.12.4.14-1
+- update to 2.12.4.14
+- see CHANGES -- fixes at least one significant bug in complex number
+ comparison, plus many other bugfixes which should mostly be
+ operational, not in the math parts.
+- minor tweak to LGPL->GPL conversion logic in specfile
+- license tag for both subpackages
+- fix wrong versions in changelog going back a couple of years; oops.
+ (Affects changelog only, and... retroactively. Sorry.)
+- this is now the same as the f22 specfile, except skips the new license tag
+ and differences in changelog, of course
+
+* Thu Feb 14 2013 Matthew Miller <mattdm at mattdm.org> - 2.12.4.4-6
- make the license doc conditional more straightforward; old too-clever
approach was confusing newer rpm
- correct which license file is used when readline isn't selected, in case
@@ -244,11 +260,11 @@ rm -rf %{buildroot}
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.12.4.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-* Thu Aug 11 2011 Matthew Miller <mattdm at mattdm.org> - 2.14.4.4-2
+* Thu Aug 11 2011 Matthew Miller <mattdm at mattdm.org> - 2.12.4.4-2
- update GPL to new address
-* Wed Aug 10 2011 Matthew Miller <mattdm at mattdm.org> - 2.14.4.4-1
-- update to 2.14.4.4 (latest unstable, but differences from stable
+* Wed Aug 10 2011 Matthew Miller <mattdm at mattdm.org> - 2.12.4.4-1
+- update to 2.12.4.4 (latest unstable, but differences from stable
are small bugfixes)
- vsnprintf bug fix is accepted upstream, so remove patch
diff --git a/sources b/sources
index 537208e..dec9a99 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1ad16a9304df7137cd8626a1f50b6aae calc-2.12.4.4.tar.bz2
+da12d25dc4748855d9b901ec78159bdc calc-2.12.4.14.tar.bz2
More information about the scm-commits
mailing list