Accepting request 344955 from home:pluskalm:branches:devel:libraries:c_c++

- Update to 2.0.3
  * Fix compilation on modern compilers and operating systems
- Update project and download url
- Cleanup spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/344955
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sparsehash?expand=0&rev=3
This commit is contained in:
Ismail Dönmez 2015-11-18 11:19:30 +00:00 committed by Git OBS Bridge
parent fe8362fa7e
commit 58aa203f58
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 Mon Nov 5 19:57:27 UTC 2012 - fisiu@opensuse.org

View File

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