Hello community, here is the log from the commit of package leveldb for openSUSE:Factory checked in at 2015-04-07 09:29:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/leveldb (Old) and /work/SRC/openSUSE:Factory/.leveldb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "leveldb" Changes: -------- --- /work/SRC/openSUSE:Factory/leveldb/leveldb.changes 2014-10-22 16:23:23.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.leveldb.new/leveldb.changes 2015-04-07 09:30:01.000000000 +0200 @@ -1,0 +2,7 @@ +Sun Apr 5 13:29:58 UTC 2015 - [email protected] + +- Update project url +- Use url for source +- Enable tests + +------------------------------------------------------------------- Old: ---- leveldb-1.18.tar.bz2 New: ---- v1.18.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ leveldb.spec ++++++ --- /var/tmp/diff_new_pack.RoC6ox/_old 2015-04-07 09:30:01.000000000 +0200 +++ /var/tmp/diff_new_pack.RoC6ox/_new 2015-04-07 09:30:01.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package leveldb # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -22,8 +22,8 @@ Summary: A key/value-store License: BSD-3-Clause Group: Development/Libraries/C and C++ -Url: http://code.google.com/p/leveldb/ -Source: leveldb-%{version}.tar.bz2 +Url: https://github.com/google/leveldb +Source0: https://github.com/google/leveldb/archive/v%{version}.tar.gz Patch0: 0001-debian-ports.patch BuildRequires: gcc-c++ BuildRequires: snappy-devel @@ -33,6 +33,7 @@ leveldb implements a system for maintaining a persistent key/value store. %define lib_name libleveldb1 + %package -n %{lib_name} Summary: Shared library from leveldb Group: System/Libraries @@ -69,7 +70,10 @@ %patch0 -p1 %build -make %{?_smp_flags} OPT="%{optflags}" +make %{?_smp_mflags} OPT="%{optflags}" + +%check +make %{?_smp_mflags} check %install install -d -m 0755 %{buildroot}%{_includedir} %{buildroot}%{_libdir} @@ -80,9 +84,10 @@ %{buildroot}%{_libdir} cp -a include/leveldb %{buildroot}%{_includedir} -find %{buildroot} -name \*.la -delete -print +find %{buildroot} -type f -name "*.la" -delete -print %post -n %{lib_name} -p /sbin/ldconfig + %postun -n %{lib_name} -p /sbin/ldconfig %files -n %{lib_name}
