File package.diff of Package meson
--- meson.spec.orig
+++ meson.spec
@@ -37,6 +37,10 @@ URL: http://mesonbuild.com/
Source: https://github.com/%{_name}/meson/releases/download/%{version}/meson-%{version}.tar.gz
Source1: https://github.com/%{_name}/meson/releases/download/%{version}/meson-%{version}.tar.gz.asc
Source2: meson.keyring
+%if 0%{?suse_version} < 1550
+# PATCH-FIX-OPENSUSE meson-suse-ify-macros.patch dimstar@opensuse.org -- Make the macros non-RedHat specific: so far there are no separate {C,CXX,F}FLAGS.
+Patch0: meson-suse-ify-macros.patch
+%endif
# PATCH-FIX-OPENSUSE meson-test-installed-bin.patch dimstar@opensuse.org -- We want the test suite to run against /usr/bin/meson coming from our meson package.
Patch1: meson-test-installed-bin.patch
# PATCH-FEATURE-OPENSUSE meson-distutils.patch tchvatal@suse.com -- build and install using distutils instead of full setuptools
@@ -129,10 +133,6 @@ BuildRequires: mono-core
BuildRequires: wxWidgets-devel
%endif
%endif
-# meson makes use of macros that were only defined with rpm 4.15
-%if (0%{?suse_version} < 1550 && 0%{?sle_version} < 150400)
-Conflicts: rpm-build < 4.15
-%endif
%description
Meson is a build system designed to optimise programmer productivity.
@@ -161,6 +161,9 @@ This package provides support for meson.
%prep
%setup -q -n meson-%{version}
+%if 0%{?suse_version} < 1550
+%patch0 -p1
+%endif
%patch1 -p1
%if !%{with setuptools}
%patch2 -p1