Import from AlmaLinux stable repository
This commit is contained in:
parent
1fafca1dd8
commit
8c52aa267f
@ -1 +0,0 @@
|
||||
8bdbade9d041339dc14b4ab426e2354a5af38478 SOURCES/gflags-2.1.2.tar.gz
|
1287
SOURCES/gflags-uint32-option-and-fixes.patch
Normal file
1287
SOURCES/gflags-uint32-option-and-fixes.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,15 +1,18 @@
|
||||
Name: gflags
|
||||
Version: 2.1.2
|
||||
Release: 6%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Epoch: 1
|
||||
Summary: Library for commandline flag processing
|
||||
|
||||
Group: Development/Tools
|
||||
License: BSD
|
||||
URL: https://gflags.github.io/gflags/
|
||||
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
|
||||
BuildRequires: python-setuptools
|
||||
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: gflags-0001-Set-VERSION-property-of-library-targets-to-major.patch
|
||||
Patch1: gflags-uint32-option-and-fixes.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: python2-setuptools
|
||||
|
||||
%description
|
||||
The gflags package contains a library that implements commandline
|
||||
@ -22,28 +25,25 @@ they're used.
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains development files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1 -b .lib_version
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake -DBUILD_TESTING:BOOL=ON .
|
||||
make %{?_smp_mflags}
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||
%cmake_install
|
||||
|
||||
%check
|
||||
ctest
|
||||
%ctest
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%license COPYING.txt
|
||||
@ -61,6 +61,19 @@ ctest
|
||||
%{_libdir}/cmake/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Aug 08 2023 Jiri Kucera <jkucera@redhat.com> - 1:2.1.2-8
|
||||
- Add support for uint32 options
|
||||
Plus backport several fixes
|
||||
Resolves: #2035143
|
||||
|
||||
* 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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user