fix dependencies for build without libs

Related: RHEL-14750
This commit is contained in:
Miroslav Lichvar 2024-04-16 14:08:08 +02:00
parent ac40740ab5
commit e70c09ce47

View File

@ -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.