add epel7 hacks
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
parent
b87296a146
commit
41d08ee3d2
20
meson.spec
20
meson.spec
@ -11,8 +11,8 @@ Source0: https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Obsoletes: %{name}-gui < 0.31.0-3
|
Obsoletes: %{name}-gui < 0.31.0-3
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
BuildRequires: ninja-build
|
BuildRequires: ninja-build
|
||||||
# Various languages
|
# Various languages
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -23,14 +23,18 @@ BuildRequires: gcc-objc++
|
|||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
BuildRequires: mono-core mono-devel
|
BuildRequires: mono-core mono-devel
|
||||||
BuildRequires: rust
|
BuildRequires: rust
|
||||||
|
# No ldc as of RHEL7
|
||||||
|
%if ! 0%{?rhel}
|
||||||
BuildRequires: ldc
|
BuildRequires: ldc
|
||||||
|
%endif
|
||||||
# Various libs support
|
# Various libs support
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: gtest-devel
|
BuildRequires: gtest-devel
|
||||||
BuildRequires: gmock-devel
|
BuildRequires: gmock-devel
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
BuildRequires: vala
|
BuildRequires: vala
|
||||||
%if 0%{?fedora} && 0%{?fedora} <= 24
|
# In recent versions it's merged into vala
|
||||||
|
%if (0%{?fedora} && 0%{?fedora} <= 24) || (0%{?rhel} && 0%{?rhel} <= 7)
|
||||||
BuildRequires: vala-tools
|
BuildRequires: vala-tools
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: wxGTK3-devel
|
BuildRequires: wxGTK3-devel
|
||||||
@ -40,10 +44,14 @@ BuildRequires: gnustep-base-devel
|
|||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: pkgconfig(protobuf)
|
BuildRequires: pkgconfig(protobuf)
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0) python3-gobject-base gtk-doc
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
|
%if ! 0%{?rhel} || 0%{?rhel} > 7
|
||||||
|
BuildRequires: python3-gobject-base
|
||||||
|
%endif
|
||||||
|
BuildRequires: gtk-doc
|
||||||
BuildRequires: itstool
|
BuildRequires: itstool
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
BuildRequires: python3-Cython
|
BuildRequires: python%{python3_pkgversion}-Cython
|
||||||
Requires: ninja-build
|
Requires: ninja-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -65,7 +73,7 @@ install -Dpm0644 data/macros.%{name} %{buildroot}%{rpmmacrodir}/macros.%{name}
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
export MESON_PRINT_TEST_OUTPUT=1
|
export MESON_PRINT_TEST_OUTPUT=1
|
||||||
%{__python3} ./run_tests.py
|
%{__python3} ./run_tests.py %{?rhel:|| :}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user