Compare commits

..

3 commits

Author SHA1 Message Date
Fedora Release Engineering
1d4198c695 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:31:08 +00:00
Benjamin A. Beasley
e7ca31d471 Use the cmake declarative buildsystem 2026-05-25 07:39:53 +01:00
Benjamin A. Beasley
69415903a1 Use various long options 2026-05-25 07:38:56 +01:00

View file

@ -16,8 +16,9 @@ Source: %{url}/archive/%{commit}/xxhashct-%{commit}.tar.gz
# Fixes compatibility with CMake 4.
Patch: %{url}/pull/5.patch
BuildSystem: cmake
BuildRequires: gcc-c++
BuildRequires: cmake
# For tests:
BuildRequires: xxhash-devel
@ -46,21 +47,10 @@ The xxhashct-devel package contains libraries and header files for developing
applications that use xxhashct.
%prep
%autosetup -n xxhashct-%{commit} -p1
%conf
%cmake
%build
%cmake_build
%install
# The upstream CMake build system only builds tests.
install -D -p -m 0644 -t '%{buildroot}%{_includedir}' xxh32.hpp xxh64.hpp
install -D --preserve-timestamps --mode=0644 \
--target='%{buildroot}%{_includedir}' xxh32.hpp xxh64.hpp
%check