Accepting request 229436 from home:AndreasStieger:branches:devel:libraries:c_c++

- add source URL pointing to git dump to facilitate reviews, 
  see https://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/229436
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/leveldb?expand=0&rev=11
This commit is contained in:
David Disseldorp 2014-04-08 22:05:57 +00:00 committed by Git OBS Bridge
parent ef8ce5144b
commit 5c1b8d0843
4 changed files with 15 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f4a1f7525e240b4bb095278ebe8ca7f7d3ee8ebd84812f97414ce8fdf01b4240
size 156298

3
leveldb-1.16.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f50f4010b0212354536294eb62a8a8b4883c169addafbb52a235b512eb5f61b5
size 207868

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 8 21:55:37 UTC 2014 - andreas.stieger@gmx.de
- add source URL pointing to git dump to facilitate reviews,
see https://en.opensuse.org/SourceUrls
-------------------------------------------------------------------
Mon Apr 7 15:33:22 UTC 2014 - ddiss@suse.com

View File

@ -19,11 +19,13 @@
Name: leveldb
Version: 1.16.0
Release: 0
%define git_commit 269fc6ca9416129248db5ca57050cd5d39d177c8
%define git_base 269fc6ca9416
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://code.google.com/p/leveldb/
Source: https://leveldb.googlecode.com/archive/%{git_commit}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: 0001-debian-ports.patch
BuildRequires: gcc-c++
BuildRequires: snappy-devel
@ -65,8 +67,9 @@ leveldb implements a system for maintaining a persistent key/value store.
This package holds the development files for statically linking leveldb.
%prep
%setup -q
%setup -q -n %{name}-%{git_base}
%patch0 -p1
chmod +x build_detect_platform
%build
make %{?_smp_flags} OPT="%{optflags}"