[packages/double-conversion] url updated again, run tests

glen glen at pld-linux.org
Wed Jul 29 22:53:27 CEST 2015


commit d7f4d10b3269344fbdec6111a40128a289c664f7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jul 29 23:53:23 2015 +0300

    url updated again, run tests

 double-conversion.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/double-conversion.spec b/double-conversion.spec
index 836c9b0..3483844 100644
--- a/double-conversion.spec
+++ b/double-conversion.spec
@@ -4,6 +4,7 @@
 
 # Conditional build:
 %bcond_without	static_libs	# don't build static libraries
+%bcond_without	tests		# build without tests
 
 Summary:	Library providing binary-decimal and decimal-binary routines for IEEE doubles
 Name:		double-conversion
@@ -13,7 +14,7 @@ License:	BSD
 Group:		Libraries
 Source0:	http://double-conversion.googlecode.com/files/%{name}-%{version}.tar.gz
 # Source0-md5:	bf019021765fa346f85e46c6abf7c945
-URL:		https://github.com/floitsch/double-conversion
+URL:		https://github.com/google/double-conversion
 BuildRequires:	libstdc++-devel
 BuildRequires:	scons >= 2.3.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -58,6 +59,8 @@ Statyczna biblioteka %{name}.
 	CXX="%{__cxx}"
 	CXXFLAGS="%{__cxx}"
 
+%{?with_tests:%{__make} test}
+
 # avoid file exists errors, when entering install
 rm -f libdouble-conversion.so libdouble-conversion.so.0
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/double-conversion.git/commitdiff/d7f4d10b3269344fbdec6111a40128a289c664f7



More information about the pld-cvs-commit mailing list