commit
4d9ced0793
@ -1,18 +0,0 @@
|
|||||||
From: Andreas Schuh <andreas.schuh.84@gmail.com>
|
|
||||||
Date: Thu, 1 May 2014 20:16:16 +0100
|
|
||||||
Subject: [PATCH] Set VERSION property of library targets to <major>.<minor>.
|
|
||||||
|
|
||||||
|
|
||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index 54b5c35..756ddba 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -34,7 +34,7 @@ version_numbers (
|
|
||||||
PACKAGE_VERSION_PATCH
|
|
||||||
)
|
|
||||||
|
|
||||||
-set (PACKAGE_SOVERSION "${PACKAGE_VERSION_MAJOR}")
|
|
||||||
+set (PACKAGE_SOVERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}")
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
|
||||||
# options
|
|
||||||
Binary file not shown.
BIN
gflags-2.2.2.tar.gz
Normal file
BIN
gflags-2.2.2.tar.gz
Normal file
Binary file not shown.
18
gflags.spec
18
gflags.spec
@ -6,13 +6,12 @@ string, and the ability to define flags in the source file in which \
|
|||||||
they are used.
|
they are used.
|
||||||
|
|
||||||
Name: gflags
|
Name: gflags
|
||||||
Version: 2.1.2
|
Version: 2.2.2
|
||||||
Release: 9
|
Release: 1
|
||||||
Summary: A C++ library for commandline flag processing
|
Summary: A C++ library for commandline flag processing
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://gflags.github.io/gflags/
|
URL: https://gflags.github.io/gflags/
|
||||||
Source0: https://github.com/gflags/gflags/archive/v%{version}/gflags-%{version}.tar.gz
|
Source0: https://github.com/gflags/gflags/archive/v%{version}/gflags-%{version}.tar.gz
|
||||||
Patch0001: gflags-0001-Set-VERSION-property-of-library-targets-to-major.patch
|
|
||||||
BuildRequires: gcc-c++ python2-setuptools cmake
|
BuildRequires: gcc-c++ python2-setuptools cmake
|
||||||
|
|
||||||
%description %_description
|
%description %_description
|
||||||
@ -28,7 +27,10 @@ This package contains development files for gflags.
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -DBUILD_TESTING:BOOL=ON .
|
%cmake -DBUILD_TESTING:BOOL=ON \
|
||||||
|
-DINSTALL_HEADERS:BOOL=ON \
|
||||||
|
-DREGISTER_BUILD_DIR:BOOL=OFF \
|
||||||
|
-DREGISTER_INSTALL_PREFIX:BOOL=OFF
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -49,12 +51,18 @@ ctest
|
|||||||
%{_libdir}/libgflags_nothreads.so.*
|
%{_libdir}/libgflags_nothreads.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc doc/designstyle.css doc/index.html
|
|
||||||
%{_includedir}/gflags/*.h
|
%{_includedir}/gflags/*.h
|
||||||
%{_libdir}/libgflags.so
|
%{_libdir}/libgflags.so
|
||||||
|
%{_libdir}/pkgconfig/gflags.pc
|
||||||
%{_libdir}/libgflags_nothreads.so
|
%{_libdir}/libgflags_nothreads.so
|
||||||
%{_libdir}/cmake/gflags
|
%{_libdir}/cmake/gflags
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 15 2020 jinzhimin <jinzhimin2@huawei.com> - 2.2.2-1
|
||||||
|
- Type:requirement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DES: update gflags to 2.2.2
|
||||||
|
|
||||||
* Fri Nov 15 2019 sunguoshuai <sunguoshuai@huawei.com> - 2.1.2-9
|
* Fri Nov 15 2019 sunguoshuai <sunguoshuai@huawei.com> - 2.1.2-9
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user