Accepting request 827762 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/827762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gflags?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-08-21 17:08:40 +00:00 committed by Git OBS Bridge
commit 6b9f4faafa
4 changed files with 38 additions and 10 deletions

View File

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

BIN
gflags-2.2.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Sun Aug 9 20:57:54 UTC 2020 - Matthias Eliasson <elimat@opensuse.org>
- Update to version 2.2.2
* Fixed 267: Support build with GCC option "-fvisibility=hidden".
* Fixed 262: Declare FALGS_no##name variables as static to avoid
"previous extern" warning.
* Fixed 261: Declare FlagRegisterer ctor explicit template instanations as
extern in header
* Fixed 257: Build with _UNICODE support on Windows.
* Fixed 233/234/235: Move CMake defines that are unused by Bazel to
separate header; makes config.h private again
* Fixed 228: Build with recent MinGW versions that define setenv.
* Fixed 226: Remove obsolete and unused CleanFileName code
* Merged 266: Various PVS Studio and GCC warnings.
* Merged 258: Fix build with some Clang variants that define "restrict"
macro.
* Merged 252: Update documentation on how to use Bazel.
* Merged 249: Use "_debug" postfix for debug libraries.
* Merged 247: CMake "project" VERSION; no enable_testing(); "gflags::"
import target prefix.
* Merged 246: Add Bazel-on-Windows support.
* Merged 239: Use GFLAGS_NAMESPACE instead of "gflags" in test executable.
* Merged 237: Removed unused functions; fixes compilation with -Werror
compiler option.
* Merged 232: Fix typo in Bazel's BUILD definition
* Merged 230: Remove using ::fLS::clstring.
* Merged 221: Add convenience 'uninstall' target
- Run spec-cleaner
* Remove package groups
* Use make macros
-------------------------------------------------------------------
Tue Sep 10 20:23:51 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -1,7 +1,7 @@
#
# spec file for package gflags
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,11 +17,10 @@
Name: gflags
Version: 2.2.1
Version: 2.2.2
Release: 0
Summary: Library for commandline flag processing
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://github.com/gflags/gflags
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
@ -38,7 +37,6 @@ they're used.
%package -n libgflags2
Summary: Library for commandline flag processing
Group: System/Libraries
%description -n libgflags2
The gflags package contains a library that implements commandline
@ -49,7 +47,6 @@ they're used.
%package devel
Summary: Development files for gflags library
Group: Development/Libraries/C and C++
Requires: libgflags2 = %{version}
%description devel
@ -57,7 +54,6 @@ This package contains headers and build system meta files.
%package devel-static
Summary: Statically linked development libraries for gflags
Group: Development/Libraries/C and C++
Requires: %{name}-devel = %{version}
%description devel-static
@ -77,7 +73,7 @@ export CFLAGS CXXFLAGS
-DBUILD_TESTING:BOOL=ON \
-DCMAKE_BUILD_TYPE=Release
make %{?_smp_mflags} VERBOSE=1
%make_build
%install
%cmake_install