Hello community,

here is the log from the commit of package libtommath for openSUSE:Factory 
checked in at 2016-07-14 09:42:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtommath (Old)
 and      /work/SRC/openSUSE:Factory/.libtommath.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libtommath"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libtommath/libtommath.changes    2016-06-09 
16:04:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libtommath.new/libtommath.changes       
2016-07-14 09:42:14.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Jul  5 12:59:18 UTC 2016 - [email protected]
+
+- Run internal testsuite
+- Simplify cleanup of unwanted files a bit
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libtommath.spec ++++++
--- /var/tmp/diff_new_pack.t8weZg/_old  2016-07-14 09:42:15.000000000 +0200
+++ /var/tmp/diff_new_pack.t8weZg/_new  2016-07-14 09:42:15.000000000 +0200
@@ -16,6 +16,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           libtommath
 %define libsoname %{name}1
 Version:        1.0
@@ -90,45 +91,42 @@
 %prep
 %setup -q
 
-
 %build
 export CFLAGS="%{optflags}"
 make %{?_smp_mflags} LIBPATH=%{_libdir} -f makefile.shared
 
+%check
+make %{?_smp_mflags} test_standalone
+./test
+rm -rf demo/demo.o
 
 %install
 dos2unix etc/timer.asm
 make DESTDIR=%{buildroot} LIBPATH=%{_libdir} %{?_smp_mflags} -f 
makefile.shared install
-rm %{buildroot}%{_libdir}/*.a
-find %{buildroot} -type f -name "*.la" -delete -print
+# we don't want to ship any static libraries or .la files
+find %{buildroot} -type f \( -name '*.a' -o -name '*.la' \) -delete -print
 chmod 644 LICENSE changes.txt
 for d in tombc demo etc mtest pre_gen; do
     chmod 755 "$d"
     chmod 644 "$d"/*
 done
 
-
 %post -n %{libsoname} -p /sbin/ldconfig
 
-
 %postun -n %{libsoname} -p /sbin/ldconfig
 
-
 %files -n %{libsoname}
 %defattr(-,root,root)
 %doc LICENSE changes.txt tombc
 %{_libdir}/libtommath.so.*
 
-
 %files devel
 %defattr(-,root,root)
 %attr(0644,root,root) %{_includedir}/tommath*.h
 %{_libdir}/libtommath.so
 
-
 %files examples
 %defattr(-,root,root)
 %doc demo etc mtest pre_gen
 
-
 %changelog




Reply via email to