diff options
author | CoprDistGit <infra@openeuler.org> | 2024-07-24 03:53:51 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-07-24 03:53:51 +0000 |
commit | ebceb29fc0115593972f5815b24e5c5671fd9a52 (patch) | |
tree | 38ac5d0023450e5fab4674b0ba3d8d43250e8898 /lz4.spec | |
parent | 7a9bb0fa5bbf7fa5c62bcc7268fa99eb3cd42518 (diff) |
automatic import of lz4
Diffstat (limited to 'lz4.spec')
-rw-r--r-- | lz4.spec | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -1,5 +1,3 @@ -%global _vpath_srcdir build/meson - Name: lz4 Version: 1.10.0 Release: 1 @@ -13,7 +11,7 @@ Provides: %{name}-libs = %{version}-%{release} Obsoletes: %{name}-libs < %{version} BuildRequires: gcc -BuildRequires: meson +BuildRequires: make %description LZ4 is lossless compression algorithm, providing compression speed > 500 MB/s per @@ -38,17 +36,14 @@ applications using liblz4 library. cp lib/LICENSE LICENSE-lib %build -%meson \ - -Dprograms=true \ - -Ddefault_library=both \ - %{nil} -%meson_build +%set_build_flags +%make_build %install -%meson_install +%make_install LIBDIR=%{_libdir} PREFIX=%{_prefix} %check -%make_build check +%make_build tests %files %license programs/COPYING |