Set -Db_ndebug=true
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
cd690bca58
commit
d74221c906
27
0001-rpm-Always-set-b_ndebug-to-true.patch
Normal file
27
0001-rpm-Always-set-b_ndebug-to-true.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From 1afae5c4e8e5fcb3028bb36cd4e1fa9c41600dd7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
||||||
|
Date: Mon, 25 Mar 2019 17:00:32 +0100
|
||||||
|
Subject: [PATCH] rpm: Always set b_ndebug to true
|
||||||
|
|
||||||
|
'if-release' does not catch buildtype=plain, so we need to do this.
|
||||||
|
|
||||||
|
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
|
||||||
|
---
|
||||||
|
data/macros.meson | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/data/macros.meson b/data/macros.meson
|
||||||
|
index 05d21e58..431a90c3 100644
|
||||||
|
--- a/data/macros.meson
|
||||||
|
+++ b/data/macros.meson
|
||||||
|
@@ -21,6 +21,7 @@
|
||||||
|
--sharedstatedir=%{_sharedstatedir} \
|
||||||
|
--wrap-mode=%{__meson_wrap_mode} \
|
||||||
|
--auto-features=%{__meson_auto_features} \
|
||||||
|
+ -Db_ndebug=true \
|
||||||
|
%{_vpath_srcdir} %{_vpath_builddir} \
|
||||||
|
%{nil}}
|
||||||
|
|
||||||
|
--
|
||||||
|
2.21.0
|
||||||
|
|
@ -4,12 +4,14 @@
|
|||||||
|
|
||||||
Name: meson
|
Name: meson
|
||||||
Version: 0.50.0
|
Version: 0.50.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: High productivity build system
|
Summary: High productivity build system
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://mesonbuild.com/
|
URL: http://mesonbuild.com/
|
||||||
Source0: https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
# https://github.com/mesonbuild/meson/pull/5142
|
||||||
|
Patch0001: 0001-rpm-Always-set-b_ndebug-to-true.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Obsoletes: %{name}-gui < 0.31.0-3
|
Obsoletes: %{name}-gui < 0.31.0-3
|
||||||
@ -101,6 +103,9 @@ export MESON_PRINT_TEST_OUTPUT=1
|
|||||||
%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
|
%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 25 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.50.0-2
|
||||||
|
- Set -Db_ndebug=true
|
||||||
|
|
||||||
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.50.0-1
|
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.50.0-1
|
||||||
- Update to 0.50.0
|
- Update to 0.50.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user