diff --git a/double-conversion-2.0.1.tar.gz b/double-conversion-2.0.1.tar.gz deleted file mode 100644 index 2a7a60b..0000000 --- a/double-conversion-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:671f0439b4531c7344ace5b2ddaab4bdd860e80cee586efcfebf37b4eedd7cf0 -size 7014061 diff --git a/double-conversion.changes b/double-conversion.changes index a36e50c..4cdc1ca 100644 --- a/double-conversion.changes +++ b/double-conversion.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 1 19:16:46 UTC 2016 - mpluskal@suse.com + +- Update project and download urls +- Cleanup spec file with spec-cleaner + ------------------------------------------------------------------- Thu Jul 24 18:53:28 UTC 2014 - dmitry_r@opensuse.org diff --git a/double-conversion.spec b/double-conversion.spec index 6d304a6..f6efd19 100644 --- a/double-conversion.spec +++ b/double-conversion.spec @@ -1,7 +1,7 @@ # # spec file for package double-conversion # -# Copyright (c) 2014 SUSE LINUX Products 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,15 +16,15 @@ # +%define lib_ver 1 Name: double-conversion Version: 2.0.1 -%define lib_ver 1 Release: 0 Summary: Library providing binary-decimal and decimal-binary routines for IEEE doubles License: BSD-3-Clause Group: System/Libraries -Url: http://code.google.com/p/double-conversion -Source0: http://double-conversion.googlecode.com/files/%{name}-%{version}.tar.gz +Url: https://github.com/google/double-conversion +Source0: https://github.com/google/double-conversion/archive/v%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: python BuildRequires: scons >= 2.3.0 @@ -60,12 +60,13 @@ This package provides libraries and header files for developing applications that use double-conversion. %prep -%setup -q -c %{name}-%{version} +%setup -q %build -scons %{?_smp_mflags} \ - CXXFLAGS="%{optflags}" \ - VERSION="%{version}" +scons \ + CXXFLAGS="%{optflags}" \ + VERSION="%{version}" \ + %{?_smp_mflags} # With scons 2.3.0 setting the version fails without this # http://comments.gmane.org/gmane.comp.programming.tools.scons.user/24448 @@ -75,11 +76,12 @@ rm -f libdouble-conversion.so* install -d %{buildroot}%{_libdir} install -d %{buildroot}%{_includedir}/%{name} -scons install \ - CXXFLAGS="%{optflags}" \ - libsuffix=%{_lib} \ - prefix=%{_prefix} \ - DESTDIR=%{buildroot} +scons \ + CXXFLAGS="%{optflags}" \ + libsuffix=%{_lib} \ + prefix=%{_prefix} \ + DESTDIR=%{buildroot} \ + install cp -p src/*.h %{buildroot}%{_includedir}/%{name} @@ -90,7 +92,6 @@ scons CXXFLAGS="%{optflags}" run_tests ./run_tests --list | tr -d '<' | xargs ./run_tests %post -n lib%{name}%{lib_ver} -p /sbin/ldconfig - %postun -n lib%{name}%{lib_ver} -p /sbin/ldconfig %files -n lib%{name}%{lib_ver} diff --git a/v2.0.1.tar.gz b/v2.0.1.tar.gz new file mode 100644 index 0000000..1b7f0e4 --- /dev/null +++ b/v2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca9ec6974eaaa29827b916c90666fba3b0b6641030fe2ab34a81e280187acdef +size 7014148