Simplify spec

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Raits 2021-01-06 15:51:00 +01:00
parent f013b5c4e7
commit f817782c16
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E
2 changed files with 7 additions and 7 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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