Add EPEL hacks
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
parent
8267df904c
commit
a38f8dbd29
@ -1,6 +1,6 @@
|
|||||||
Name: ninja-build
|
Name: ninja-build
|
||||||
Version: 1.7.2
|
Version: 1.7.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A small build system with a focus on speed
|
Summary: A small build system with a focus on speed
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://martine.github.com/ninja/
|
URL: http://martine.github.com/ninja/
|
||||||
@ -10,10 +10,13 @@ Source2: macros.ninja
|
|||||||
Patch0001: 0001-Rename-mentions-of-the-executable-name-to-be-ninja-b.patch
|
Patch0001: 0001-Rename-mentions-of-the-executable-name-to-be-ninja-b.patch
|
||||||
Patch0002: 0002-Disable-test-which-takes-too-many-resources-for-koji.patch
|
Patch0002: 0002-Disable-test-which-takes-too-many-resources-for-koji.patch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||||
|
BuildRequires: python2-devel
|
||||||
|
%else
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
%endif
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
BuildRequires: gtest-devel
|
BuildRequires: gtest-devel
|
||||||
#BuildRequires: python2-devel
|
|
||||||
BuildRequires: re2c >= 0.11.3
|
BuildRequires: re2c >= 0.11.3
|
||||||
Requires: emacs-filesystem
|
Requires: emacs-filesystem
|
||||||
Requires: vim-filesystem
|
Requires: vim-filesystem
|
||||||
@ -29,7 +32,12 @@ fast as possible.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" \
|
CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" \
|
||||||
%{__python3} configure.py --bootstrap --verbose
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||||
|
%{__python2} \
|
||||||
|
%else
|
||||||
|
%{__python3} \
|
||||||
|
%endif
|
||||||
|
configure.py --bootstrap --verbose
|
||||||
./ninja -v manual
|
./ninja -v manual
|
||||||
./ninja -v ninja_test
|
./ninja -v ninja_test
|
||||||
|
|
||||||
@ -59,6 +67,9 @@ install -Dpm0644 %{S:2} %{buildroot}%{rpmmacrodir}/macros.ninja
|
|||||||
%{rpmmacrodir}/macros.ninja
|
%{rpmmacrodir}/macros.ninja
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 03 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.7.2-2
|
||||||
|
- Add EPEL hacks
|
||||||
|
|
||||||
* Mon Nov 28 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.7.2-1
|
* Mon Nov 28 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.7.2-1
|
||||||
- Update to 1.7.2
|
- Update to 1.7.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user