fix spec formatting

This commit is contained in:
Miroslav Lichvar 2023-05-11 14:14:33 +02:00
parent 145db042da
commit b8fb2e1a3a

View File

@ -37,8 +37,8 @@ BuildRequires: qt-devel
BuildRequires: libusb1-devel
%endif
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
Requires: udev
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
Requires: udev
%{?systemd_requires}
%description
@ -114,34 +114,34 @@ sed -i 's|systemctl daemon-reload|true|' SConscript
export CCFLAGS="%{optflags}"
export LINKFLAGS="%{__global_ldflags}"
# breaks with %{_smp_mflags}
# breaks with %%{_smp_mflags}
scons \
dbus_export=yes \
systemd=yes \
%if %{with_qt}
libQgpsmm=yes \
%else
libQgpsmm=no \
%endif
debug=yes \
leapfetch=no \
prefix="" \
sysconfdif=%{_sysconfdir} \
bindir=%{_bindir} \
includedir=%{_includedir} \
libdir=%{_libdir} \
sbindir=%{_sbindir} \
mandir=%{_mandir} \
mibdir=%{_docdir}/gpsd \
docdir=%{_docdir}/gpsd \
pkgconfigdir=%{_libdir}/pkgconfig \
icondir=%{_datadir}/gpsd \
udevdir=$(dirname %{_udevrulesdir}) \
unitdir=%{_unitdir} \
target_python=python3 \
python_shebang=%{python3} \
python_libdir=%{python3_sitearch} \
build
dbus_export=yes \
systemd=yes \
%if %{with_qt}
libQgpsmm=yes \
%else
libQgpsmm=no \
%endif
debug=yes \
leapfetch=no \
prefix="" \
sysconfdif=%{_sysconfdir} \
bindir=%{_bindir} \
includedir=%{_includedir} \
libdir=%{_libdir} \
sbindir=%{_sbindir} \
mandir=%{_mandir} \
mibdir=%{_docdir}/gpsd \
docdir=%{_docdir}/gpsd \
pkgconfigdir=%{_libdir}/pkgconfig \
icondir=%{_datadir}/gpsd \
udevdir=$(dirname %{_udevrulesdir}) \
unitdir=%{_unitdir} \
target_python=python3 \
python_shebang=%{python3} \
python_libdir=%{python3_sitearch} \
build
%install
# avoid rebuilding