Updated to version 1.5.1. Fixed RHBZ#1858127.
This commit is contained in:
parent
51e928226a
commit
14e08950bd
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/google-benchmark-1.4.1.tar.gz
|
||||
/google-benchmark-1.5.tar.gz
|
||||
/google-benchmark-1.5.0.tar.gz
|
||||
/google-benchmark-1.5.1.tar.gz
|
||||
|
@ -1,9 +1,11 @@
|
||||
%undefine __cmake_in_source_build
|
||||
|
||||
%global intname benchmark
|
||||
%global lbname lib%{intname}
|
||||
|
||||
Name: google-benchmark
|
||||
Version: 1.5.0
|
||||
Release: 3%{?dist}
|
||||
Version: 1.5.1
|
||||
Release: 1%{?dist}
|
||||
|
||||
License: ASL 2.0
|
||||
Summary: A microbenchmark support library
|
||||
@ -29,30 +31,27 @@ Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
|
||||
%prep
|
||||
%autosetup -n %{intname}-%{version}
|
||||
mkdir -p %{_target_platform}
|
||||
sed -i 's@lib/@%{_lib}/@g' src/CMakeLists.txt
|
||||
sed -e '/get_git_version/d' -i CMakeLists.txt
|
||||
|
||||
%build
|
||||
pushd %{_target_platform}
|
||||
%cmake -G Ninja \
|
||||
%cmake -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBENCHMARK_ENABLE_TESTING=OFF \
|
||||
..
|
||||
popd
|
||||
%ninja_build -C %{_target_platform}
|
||||
-DGIT_VERSION=%{version} \
|
||||
-DBENCHMARK_ENABLE_TESTING:BOOL=OFF \
|
||||
-DBENCHMARK_ENABLE_INSTALL:BOOL=ON \
|
||||
-DBENCHMARK_DOWNLOAD_DEPENDENCIES:BOOL=OFF
|
||||
%cmake_build
|
||||
|
||||
%check
|
||||
pushd %{_target_platform}
|
||||
ctest --output-on-failure
|
||||
popd
|
||||
%ctest
|
||||
|
||||
%install
|
||||
%ninja_install -C %{_target_platform}
|
||||
%cmake_install
|
||||
|
||||
%files
|
||||
%doc AUTHORS CONTRIBUTORS CONTRIBUTING.md README.md
|
||||
%license LICENSE
|
||||
%{_libdir}/%{lbname}*.so.0*
|
||||
%{_libdir}/%{lbname}*.so.1*
|
||||
|
||||
%files devel
|
||||
%{_libdir}/%{lbname}*.so
|
||||
@ -61,6 +60,10 @@ popd
|
||||
%{_libdir}/pkgconfig/%{intname}.pc
|
||||
|
||||
%changelog
|
||||
* Sun Jul 19 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.5.1-1
|
||||
- Updated to version 1.5.1.
|
||||
- Fixed RHBZ#1858127.
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (google-benchmark-1.5.0.tar.gz) = a0df9aa3d03f676e302c76d83b436de36eea0a8517ab50a8f5a11c74ccc68a1f5128fa02474901002d8e6b5a4d290ef0272a798ff4670eab3e2d78dc86bb6cd3
|
||||
SHA512 (google-benchmark-1.5.1.tar.gz) = 1e8782ab6846b8b29c5eea41ed1ba19dd92a46a135cf74acdc588e2cd5ef05581c644d20fc0d6403456d65417538e1db80109ae87989601298b2fc56ae3c3161
|
||||
|
Loading…
Reference in New Issue
Block a user