forked from pool/ninja
- Update to version 1.8.2:
* Restore tolerance of self-referencing phony build statements * Factor ManifestParser options into a structure - Drop support for building on old distributions OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ninja?expand=0&rev=38
This commit is contained in:
parent
4ff60697b5
commit
007a4a15a9
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b975832a09021381a50dab9fd66ee83b525102408c3eea573b638ca63908f5ea
|
|
||||||
size 184206
|
|
3
ninja-1.8.2.tar.gz
Normal file
3
ninja-1.8.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:86b8700c3d0880c2b44c2ff67ce42774aaf8c28cbf57725cb881569288c1c6f4
|
||||||
|
size 185226
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 12 08:38:18 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.8.2:
|
||||||
|
* Restore tolerance of self-referencing phony build statements
|
||||||
|
* Factor ManifestParser options into a structure
|
||||||
|
- Drop support for building on old distributions
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 7 14:44:24 UTC 2017 - idonmez@suse.com
|
Thu Sep 7 14:44:24 UTC 2017 - idonmez@suse.com
|
||||||
|
|
||||||
|
20
ninja.spec
20
ninja.spec
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: ninja
|
Name: ninja
|
||||||
Version: 1.8.1
|
Version: 1.8.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A small build system closest in spirit to Make
|
Summary: A small build system closest in spirit to Make
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -27,18 +27,13 @@ Source0: https://github.com/ninja-build/ninja/archive/v%{version}.tar.gz#
|
|||||||
Source1: macros.ninja
|
Source1: macros.ninja
|
||||||
Patch1: ninja-disable-maxprocs-test.patch
|
Patch1: ninja-disable-maxprocs-test.patch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
%if 0%{?suse_version} <= 1110
|
|
||||||
BuildRequires: python-base
|
|
||||||
%else
|
|
||||||
BuildRequires: python3-base
|
BuildRequires: python3-base
|
||||||
%endif
|
|
||||||
BuildRequires: re2c
|
BuildRequires: re2c
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ninja is yet another build system.
|
Ninja is yet another build system. It takes as input the interdependencies
|
||||||
It takes as input the interdependencies of files (typically source code and output executables)
|
of files (typically source code and output executables) and orchestrates
|
||||||
and orchestrates building them, quickly.
|
building them, quickly.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -47,25 +42,20 @@ and orchestrates building them, quickly.
|
|||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
export CXXFLAGS="%{optflags}"
|
export CXXFLAGS="%{optflags}"
|
||||||
%if 0%{?suse_version} <= 1110
|
|
||||||
python2./configure.py --bootstrap --verbose
|
|
||||||
%else
|
|
||||||
python3 ./configure.py --bootstrap --verbose
|
python3 ./configure.py --bootstrap --verbose
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -p -m 0755 ninja %{buildroot}%{_bindir}/ninja
|
install -D -p -m 0755 ninja %{buildroot}%{_bindir}/ninja
|
||||||
install -D -p -m 0644 misc/zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_ninja
|
install -D -p -m 0644 misc/zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_ninja
|
||||||
install -D -p -m 0644 misc/ninja.vim %{buildroot}%{_datadir}/vim/site/syntax/ninja.vim
|
install -D -p -m 0644 misc/ninja.vim %{buildroot}%{_datadir}/vim/site/syntax/ninja.vim
|
||||||
install -D -p -m 0644 misc/bash-completion %{buildroot}%{_sysconfdir}/bash_completion.d/ninja
|
install -D -p -m 0644 misc/bash-completion %{buildroot}%{_sysconfdir}/bash_completion.d/ninja
|
||||||
install -D -p -m 0644 %{S:1} %{buildroot}%{_rpmconfigdir}/macros.d/macros.ninja
|
install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/macros.ninja
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./ninja ninja_test
|
./ninja ninja_test
|
||||||
./ninja_test
|
./ninja_test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_bindir}/ninja
|
%{_bindir}/ninja
|
||||||
%{_datadir}/zsh
|
%{_datadir}/zsh
|
||||||
|
Loading…
Reference in New Issue
Block a user