You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.0 KiB

From 1fd19d9e960bf457c87fa5914e0b11fa2045542c Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Date: Mon, 23 Jul 2018 19:24:33 +0200
Subject: [PATCH 2/2] rpm: pass --auto-features=enabled [skip ci]
We really want to be explicit.
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
(cherry picked from commit 1515fca2d9d4dcc8c9c98689421e69517444c05e)
---
data/macros.meson | 2 ++
1 file changed, 2 insertions(+)
diff --git a/data/macros.meson b/data/macros.meson
index 9ef19a57..792aa215 100644
--- a/data/macros.meson
+++ b/data/macros.meson
@@ -1,5 +1,6 @@
%__meson %{_bindir}/meson
%__meson_wrap_mode nodownload
+%__meson_auto_features enabled
%meson \
export CFLAGS="${CFLAGS:-%optflags}" \
@@ -23,6 +24,7 @@
--localstatedir=%{_localstatedir} \\\
--sharedstatedir=%{_sharedstatedir} \\\
--wrap-mode=%{__meson_wrap_mode} \\\
+ --auto-features=%{__meson_auto_features} \\\
%{_vpath_srcdir} %{_vpath_builddir} \\\
%{nil}
--
2.18.0