scons is in /usr/bin, even if we're compiling with a different %{_prefix}

This commit is contained in:
Owen W. Taylor 2018-09-06 20:20:09 -04:00
parent 7248313e72
commit d622f692cf
1 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,7 @@
Name: endless-sky
Version: 0.9.8
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Space exploration, trading, and combat game
License: GPLv3
@ -58,7 +58,7 @@ sed -i 's/std=c++11/std=gnu++11/' SConstruct
%endif
CCFLAGS="%{optflags}" \
LDFLAGS="%{?__global_ldflags}" \
%{_bindir}/scons \
/usr/bin/scons \
%{?_smp_mflags} \
PREFIX=%{_prefix}
@ -70,7 +70,7 @@ desktop-file-validate %{name}.desktop
%install
CCFLAGS="%{optflags}" \
LDFLAGS="%{?__global_ldflags}" \
%{_bindir}/scons \
/usr/bin/scons \
%{?_smp_mflags} \
PREFIX=%{_prefix} \
DESTDIR=%{buildroot} \
@ -100,6 +100,9 @@ install -m644 -D endless-sky.appdata.xml %{buildroot}%{_datadir}/appdata/%{name}
%changelog
* Fri Sep 7 2018 Owen Taylor <otaylor@redhat.com> - 0.9.8-8
- scons is in /usr/bin, even if we're compiling with a different %%{_prefix}
* Thu Aug 23 2018 Nicolas Chauvet <kwizart@gmail.com> - 0.9.8-7
- Rebuilt for glew 2.1.0