Use scons-3 for rhel8
This commit is contained in:
parent
33809b4834
commit
bb2ee18205
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
Name: %{srcname}
|
Name: %{srcname}
|
||||||
Version: 3.19
|
Version: 3.19
|
||||||
Release: 4%{?dist}
|
Release: 4%{?dist}.1
|
||||||
Summary: Service daemon for mediating access to a GPS
|
Summary: Service daemon for mediating access to a GPS
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -132,7 +132,7 @@ export CCFLAGS="%{optflags}"
|
|||||||
export LINKFLAGS="%{__global_ldflags}"
|
export LINKFLAGS="%{__global_ldflags}"
|
||||||
|
|
||||||
# breaks with %{_smp_mflags}
|
# breaks with %{_smp_mflags}
|
||||||
scons \
|
scons-3 \
|
||||||
dbus_export=yes \
|
dbus_export=yes \
|
||||||
systemd=yes \
|
systemd=yes \
|
||||||
%if %{with_qt}
|
%if %{with_qt}
|
||||||
@ -166,7 +166,7 @@ sed -e "s,#!/usr/bin/\(python[23]\?\|env \+python[23]\?\),#!/usr/bin/python3,g"
|
|||||||
export CCFLAGS="%{optflags}"
|
export CCFLAGS="%{optflags}"
|
||||||
export LINKFLAGS="%{__global_ldflags}"
|
export LINKFLAGS="%{__global_ldflags}"
|
||||||
|
|
||||||
DESTDIR=%{buildroot} scons install systemd_install udev-install
|
DESTDIR=%{buildroot} scons-3 install systemd_install udev-install
|
||||||
|
|
||||||
# use the old name for udev rules
|
# use the old name for udev rules
|
||||||
mv %{buildroot}%{_udevrulesdir}/{25,99}-gpsd.rules
|
mv %{buildroot}%{_udevrulesdir}/{25,99}-gpsd.rules
|
||||||
@ -306,6 +306,9 @@ desktop-file-install \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 17 2019 Troy Dawson <tdawson@redhat.com> - 3.19-4.1
|
||||||
|
- Use scons-3 for rhel8
|
||||||
|
|
||||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.19-4
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.19-4
|
||||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user