From f817782c164457c54cd090ba461ebede05e89f20 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Wed, 6 Jan 2021 15:51:00 +0100 Subject: [PATCH] Simplify spec Signed-off-by: Igor Raits --- .gitignore | 1 + lz4.spec | 13 ++++++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index e68fcd0..dbe3dbe 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /lz4-1.8.2.tar.gz /lz4-1.8.3.tar.gz /lz4-1.9.1.tar.gz +/lz4-1.9.3.tar.gz diff --git a/lz4.spec b/lz4.spec index cb2944c..73d6c89 100644 --- a/lz4.spec +++ b/lz4.spec @@ -1,3 +1,5 @@ +%global _vpath_srcdir contrib/meson + Name: lz4 Version: 1.9.3 Release: 1%{?dist} @@ -44,16 +46,13 @@ contains static libraries for static linking of applications. %autosetup %build -cd contrib/meson -CONFIGURE_OPTS=( - -Dbin_programs=true - -Ddefault_library=both -) -%meson "${CONFIGURE_OPTS[@]}" +%meson \ + -Dbin_programs=true \ + -Ddefault_library=both \ + %{nil} %meson_build %install -cd contrib/meson %meson_install %files