[packages/tomsfastmath] - new URLs, updated to 0.13 (note: new soname)

qboosh qboosh at pld-linux.org
Tue Aug 30 21:58:42 CEST 2016


commit 48b1cd77a2f6b14b10fe18b9a9968674e149d7ba
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Aug 30 21:59:39 2016 +0200

    - new URLs, updated to 0.13 (note: new soname)

 tomsfastmath.spec | 29 ++++++++++-------------------
 1 file changed, 10 insertions(+), 19 deletions(-)
---
diff --git a/tomsfastmath.spec b/tomsfastmath.spec
index cf5ddb5..a28c41b 100644
--- a/tomsfastmath.spec
+++ b/tomsfastmath.spec
@@ -1,16 +1,15 @@
-# TODO: reenable x86 asm if newer gcc succeeds to build it
 Summary:	TomsFastMath - large integer arithmetic library
 Summary(pl.UTF-8):	TomsFastMath - duża biblioteka arytmetyki na dużych liczbach całkowitych
 Name:		tomsfastmath
-Version:	0.12
+Version:	0.13
 Release:	1
-License:	Public Domain
+License:	Public Domain or WTFPL v2
 Group:		Libraries
-Source0:	http://libtom.org/files/tfm-%{version}.tar.bz2
-# Source0-md5:	821edbffb03502f0614c8717bda6fd54
-URL:		http://libtom.org/?page=features&whatfile=tfm
+#Source0Download: https://github.com/libtom/tomsfastmath/releases
+Source0:	https://github.com/libtom/tomsfastmath/releases/download/v%{version}.0/tfm-%{version}.tar.bz2
+# Source0-md5:	1c004f98c256c27ceb9aac87aff84aa6
+URL:		http://www.libtom.org/TomsFastMath/
 BuildRequires:	libtool >= 2:1.5
-BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -51,18 +50,10 @@ Statyczna biblioteka TomsFastMath.
 %prep
 %setup -q
 
-%{__sed} -i -e 's/\<gcc\>/$(GCC)/' makefile.shared
-
 %build
-%ifarch %{ix86}
-# gcc 4.7 fails to allocate 3 GREGs + 2 clobbered when compiling PIC
-WORKAROUND="-DTFM_NO_ASM"
-%else
-WORKAROUND=
-%endif
-CFLAGS="%{rpmcflags} -fomit-frame-pointer $WORKAROUND" \
+CFLAGS="%{rpmcflags} -fomit-frame-pointer" \
 %{__make} -f makefile.shared \
-	GCC="%{__cc}" \
+	CC="%{__cc}" \
 	LIBPATH=%{_libdir}
 
 %install
@@ -82,9 +73,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc LICENSE SPONSORS changes.txt
+%doc LICENSE README.md SPONSORS changes.txt
 %attr(755,root,root) %{_libdir}/libtfm.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libtfm.so.0
+%attr(755,root,root) %ghost %{_libdir}/libtfm.so.1
 
 %files devel
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tomsfastmath.git/commitdiff/48b1cd77a2f6b14b10fe18b9a9968674e149d7ba



More information about the pld-cvs-commit mailing list