import gflags-2.1.2-7.el8

This commit is contained in:
CentOS Sources 2022-03-29 16:00:31 -04:00 committed by Stepan Oksanichenko
parent cbae4193fa
commit 2bb1661840

View File

@ -1,15 +1,17 @@
Name: gflags Name: gflags
Version: 2.1.2 Version: 2.1.2
Release: 6%{?dist} Release: 7%{?dist}
Epoch: 1
Summary: Library for commandline flag processing Summary: Library for commandline flag processing
Group: Development/Tools Group: Development/Tools
License: BSD License: BSD
URL: https://gflags.github.io/gflags/ URL: https://gflags.github.io/gflags/
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch1: gflags-0001-Set-VERSION-property-of-library-targets-to-major.patch Patch0: gflags-0001-Set-VERSION-property-of-library-targets-to-major.patch
BuildRequires: python-setuptools BuildRequires: gcc-c++
BuildRequires: cmake BuildRequires: cmake
BuildRequires: python2-setuptools
%description %description
The gflags package contains a library that implements commandline The gflags package contains a library that implements commandline
@ -22,28 +24,25 @@ they're used.
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
%description devel %description devel
This package contains development files for %{name}. This package contains development files for %{name}.
%prep %prep
%setup -q %autosetup -p1
%patch1 -p1 -b .lib_version
%build %build
%cmake -DBUILD_TESTING:BOOL=ON . %cmake -DBUILD_TESTING:BOOL=ON .
make %{?_smp_mflags} %cmake_build
%install %install
make install DESTDIR=%{buildroot} INSTALL="install -p" %cmake_install
%check %check
ctest %ctest
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig
%files %files
%license COPYING.txt %license COPYING.txt
@ -61,6 +60,14 @@ ctest
%{_libdir}/cmake/%{name} %{_libdir}/cmake/%{name}
%changelog %changelog
* Wed Feb 23 2022 Jiri Kucera <jkucera@redhat.com> - 1:2.1.2-7
- Revert rebase back to 2.1.2
Related: #2035143
* Fri Jan 21 2022 Jiri Kucera <jkucera@redhat.com> - 2.2.2-1
- Rebase to gflags v2.2.2
Resolves: #2035143
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-6 * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild