fix spec formatting
This commit is contained in:
parent
145db042da
commit
b8fb2e1a3a
82
gpsd.spec
82
gpsd.spec
@ -17,19 +17,19 @@ Patch1: gpsd-apistatus.patch
|
||||
BuildRequires: dbus-devel
|
||||
BuildRequires: dbus-glib-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: python3-scons
|
||||
BuildRequires: python3-gobject
|
||||
BuildRequires: python3-cairo
|
||||
BuildRequires: python3-pyserial
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: bluez-libs-devel
|
||||
BuildRequires: pps-tools-devel
|
||||
BuildRequires: /usr/bin/c++
|
||||
BuildRequires: systemd
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: python3-scons
|
||||
BuildRequires: python3-gobject
|
||||
BuildRequires: python3-cairo
|
||||
BuildRequires: python3-pyserial
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: bluez-libs-devel
|
||||
BuildRequires: pps-tools-devel
|
||||
BuildRequires: /usr/bin/c++
|
||||
BuildRequires: systemd
|
||||
%if %{with_qt}
|
||||
BuildRequires: qt-devel
|
||||
%endif
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user