Build on all architectures

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2016-11-25 10:15:20 +01:00
commit afb4207cdf
5 changed files with 336 additions and 175 deletions

View file

@ -4,19 +4,21 @@
Name: angelscript
Version: 2.31.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Flexible cross-platform scripting library
License: zlib
URL: http://www.angelcode.com/angelscript/
Source0: %{url}/sdk/files/%{name}_%{version}.zip
# Sent upstream via mail
Patch0: angelscript-2.31.1-meson.diff
# r2353
Patch0001: 0001-Fixed-compiler-error-on-Linux-with-non-x86-64bit-pla.patch
# r2361
Patch0002: 0002-Changes-to-meson-project-files.patch
# r2364
Patch0003: 0003-Corrected-as_config.h-so-Linux-for-64bit-ARM-doesn-t.patch
BuildRequires: meson
ExclusiveArch: x86_64 %{ix86} %{arm}
BuildRequires: dos2unix
%description
The AngelScript library is a software library for easy integration of
@ -35,7 +37,9 @@ The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -c -p1
%setup -q -c
find -type f -exec dos2unix {} ';'
%autopatch -p1
%build
%meson
@ -57,6 +61,9 @@ developing applications that use %{name}.
%{_includedir}/%{name}.h
%changelog
* Fri Nov 25 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.31.1-3
- Build on all architectures
* Sun Nov 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.31.1-2
- Fix FTBFS (RHBZ #1385042)