Updated to version 1.7.0.
This commit is contained in:
parent
219df52d9c
commit
17e81392b9
|
@ -10,3 +10,4 @@
|
|||
/v1.4.2.tar.gz
|
||||
/v1.5.0.tar.gz
|
||||
/v1.6.1.tar.gz
|
||||
/v1.7.0.tar.gz
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (v1.6.1.tar.gz) = 1e15e7710744212240d79897af8c3bde14fe3b745a1377643d18dc0038f18fc7582236ff21836d3eae2c75cf1f4820ca4c642c5c3f63f9ae138289aa4d00e22e
|
||||
SHA512 (v1.7.0.tar.gz) = e15d461ac7a6d3d3186fe4283e4fbaf56b2ce3011babf892e3b2d3dbdd7e999a861f1f6f67a9d88a5cf488a440add087ea78e96131f49b52ed6c7815a972799a
|
||||
|
|
29
spdlog.spec
29
spdlog.spec
|
@ -1,15 +1,15 @@
|
|||
%global user gabime
|
||||
%undefine __cmake_in_source_build
|
||||
|
||||
Name: spdlog
|
||||
Version: 1.6.1
|
||||
Version: 1.7.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Super fast C++ logging library
|
||||
License: MIT
|
||||
URL: https://github.com/%{user}/%{name}
|
||||
URL: https://github.com/gabime/%{name}
|
||||
Source0: %{url}/archive/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: google-benchmark-devel
|
||||
BuildRequires: fmt-devel >= 6.1.2
|
||||
BuildRequires: fmt-devel >= 7.0.0
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
|
@ -31,13 +31,11 @@ applications that use %{name}.
|
|||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
mkdir -p %{_target_platform}
|
||||
find . -name '.gitignore' -exec rm {} \;
|
||||
find . -name '.gitignore' -delete
|
||||
sed -i -e "s,\r,," README.md
|
||||
|
||||
%build
|
||||
pushd %{_target_platform}
|
||||
%cmake -G Ninja \
|
||||
%cmake -G Ninja \
|
||||
-DCMAKE_INSTALL_LIBDIR=%{_lib} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DSPDLOG_BUILD_SHARED=ON \
|
||||
|
@ -45,18 +43,14 @@ pushd %{_target_platform}
|
|||
-DSPDLOG_BUILD_BENCH=OFF \
|
||||
-DSPDLOG_BUILD_TESTS=ON \
|
||||
-DSPDLOG_INSTALL=ON \
|
||||
-DSPDLOG_FMT_EXTERNAL=ON \
|
||||
..
|
||||
popd
|
||||
%ninja_build -C %{_target_platform}
|
||||
-DSPDLOG_FMT_EXTERNAL=ON
|
||||
%cmake_build
|
||||
|
||||
%check
|
||||
pushd %{_target_platform}
|
||||
ctest --output-on-failure
|
||||
popd
|
||||
%ctest
|
||||
|
||||
%install
|
||||
%ninja_install -C %{_target_platform}
|
||||
%cmake_install
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
@ -71,6 +65,9 @@ popd
|
|||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
* Tue Jul 21 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.7.0-1
|
||||
- Updated to version 1.7.0.
|
||||
|
||||
* Tue Jun 02 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.6.1-1
|
||||
- Updated to version 1.6.1.
|
||||
|
||||
|
|
Loading…
Reference in New Issue