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

revert to r10, download_files does not like dynamically generated archives from Google Code git export

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

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

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

View File

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

View File

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