diff --git a/brotli.spec b/brotli.spec index c0c99af63f24630f50dfd3f3cd8dbbbc9f389b0d..5038466cf41d5d5c92a9dc05a0e2d0460bf75017 100644 --- a/brotli.spec +++ b/brotli.spec @@ -1,6 +1,6 @@ Name: brotli Version: 1.1.0 -Release: 1 +Release: 2 Summary: Lossless compression algorithm License: MIT @@ -42,19 +42,15 @@ This package installs the development files %{__chmod} 644 c/tools/brotli.c %build -mkdir -p build -pushd build -%cmake .. -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ +%cmake_conf \ + -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ -DCMAKE_INSTALL_LIBDIR="%{_libdir}" -%make_build -popd +%cmake_build %py3_build %install -pushd build -%make_install -popd +%cmake_install %py3_install %{__install} -dm755 "%{buildroot}%{_mandir}/man3" @@ -67,9 +63,7 @@ done %ldconfig_scriptlets %check -pushd build -ctest -V -popd +%ctest %files %license LICENSE @@ -89,6 +83,9 @@ popd %{_mandir}/man3/* %changelog +* Wed Oct 30 2024 xuezhixin - 1.1.0-2 +- use the new cmake macros + * Thu Nov 09 2023 lvcongqing - 1.1.0-1 - upgrade version to 1.1.0