fix dependencies for build without libs
Related: RHEL-14750
This commit is contained in:
parent
ac40740ab5
commit
e70c09ce47
@ -89,7 +89,9 @@ manage access to a GPS for applications
|
||||
%if %{with_qt}
|
||||
%package qt
|
||||
Summary: C++/Qt5 bindings for the gpsd library
|
||||
%if %{with_libs}
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
%endif
|
||||
|
||||
%description qt
|
||||
This package provide C++ and Qt bindings for use with the libgps library from
|
||||
@ -97,7 +99,6 @@ gpsd.
|
||||
|
||||
%package qt-devel
|
||||
Summary: Development files for the C++/Qt5 bindings for the gpsd library
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-qt%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description qt-devel
|
||||
@ -107,7 +108,9 @@ with the libgps library from gpsd.
|
||||
|
||||
%package -n python3-%{name}
|
||||
Summary: Python libraries and modules for use with gpsd
|
||||
%if %{with_libs}
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
%endif
|
||||
Requires: python3-pyserial
|
||||
%{?python_provide:%python_provide python3-%{name}}
|
||||
|
||||
@ -118,7 +121,9 @@ applications.
|
||||
%package clients
|
||||
Summary: Clients for gpsd
|
||||
Requires: python3-%{name} = %{epoch}:%{version}-%{release}
|
||||
%if %{with_libs}
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
%endif
|
||||
|
||||
%description clients
|
||||
This package contains various clients using gpsd.
|
||||
|
Loading…
Reference in New Issue
Block a user