SHA256
1
0
forked from pool/sparsehash

Accepting request 345024 from devel:libraries:c_c++

1

OBS-URL: https://build.opensuse.org/request/show/345024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sparsehash?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2015-11-24 21:31:31 +00:00 committed by Git OBS Bridge
commit 7fd0ff64ec
4 changed files with 22 additions and 12 deletions

View File

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

3
sparsehash-2.0.3.tar.gz Normal file
View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Nov 17 19:13:41 UTC 2015 - mpluskal@suse.com
- Update to 2.0.3
* Fix compilation on modern compilers and operating systems
- Update project and download url
- Cleanup spec file with spec-cleaner
-------------------------------------------------------------------
Mon Nov 5 19:57:27 UTC 2012 - fisiu@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package sparsehash
#
# Copyright (c) 2012 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
@ -15,14 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: sparsehash
Version: 2.0.2
Version: 2.0.3
Release: 0
License: BSD-3-Clause
Summary: Extremely memory-efficient hash_map implementation
Url: http://code.google.com/p/sparsehash
License: BSD-3-Clause
Group: Development/Libraries/C and C++
Source: http://%{name}.googlecode.com/files/%{name}-%{version}.tar.gz
Url: https://github.com/sparsehash/sparsehash
Source: https://github.com/sparsehash/sparsehash/archive/sparsehash-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -44,7 +45,7 @@ an implementation that optimizes for space and one that optimizes for
speed.
%prep
%setup -q
%setup -q -n %{name}-%{name}-%{version}
%build
%configure
@ -52,12 +53,13 @@ make %{?_smp_mflags}
%install
%make_install
rm %{buildroot}%{_datadir}/doc/%{name}-%{version}/INSTALL
rm %{buildroot}%{_datadir}/doc/%{name}-%{version}/README_windows.txt
# upstream did not change version to 2.0.3 with new release
rm %{buildroot}%{_datadir}/doc/%{name}-2.0.2/INSTALL
rm %{buildroot}%{_datadir}/doc/%{name}-2.0.2/README_windows.txt
%files devel
%defattr(-,root,root)
%doc %{_datadir}/doc/%{name}-%{version}/
%doc %{_datadir}/doc/%{name}-2.0.2/
%{_includedir}/google/
%{_includedir}/sparsehash/
%{_libdir}/pkgconfig/*.pc