- Rename python subpackage to python2
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=105
This commit is contained in:
parent
029c370316
commit
7e1c7a6091
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 13 13:12:40 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Rename python subpackage to python2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 6 20:56:37 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
|
11
gpsd.spec
11
gpsd.spec
@ -49,7 +49,7 @@ BuildRequires: pkgconfig(QtNetwork) >= 4.5.3
|
||||
BuildRequires: pkgconfig(bluez)
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
BuildRequires: pkgconfig(python)
|
||||
BuildRequires: pkgconfig(python2)
|
||||
BuildRequires: pkgconfig(udev)
|
||||
Requires: udev
|
||||
Requires(pre): %fillup_prereq
|
||||
@ -108,13 +108,14 @@ Group: Development/Libraries/Python
|
||||
This package provides the shared Qt library for gpsd and other GPS aware
|
||||
applications.
|
||||
|
||||
%package -n python-gpsd
|
||||
%package -n python2-gpsd
|
||||
Summary: Client libraries in C and Python for talking to a running gpsd or GPS
|
||||
Group: Development/Libraries/Python
|
||||
Provides: python-gpsd = %{version}-%{release}
|
||||
Obsoletes: python-gpsd < %{version}-%{release}
|
||||
Requires: %{name} = %{version}
|
||||
%py_requires
|
||||
|
||||
%description -n python-gpsd
|
||||
%description -n python2-gpsd
|
||||
This package provides python modules and tools for the gpsd shared libraries.
|
||||
You will need to have gpsd installed for it to work.
|
||||
|
||||
@ -252,7 +253,7 @@ sed -i -e 's#Icon=.*/\([^/]\+\)\(\..\+\)#Icon=\1#' %{buildroot}%{_datadir}/appli
|
||||
%{_libdir}/pkgconfig/libgps*.pc
|
||||
%{_libdir}/pkgconfig/Qgpsmm.pc
|
||||
|
||||
%files -n python-gpsd
|
||||
%files -n python2-gpsd
|
||||
%defattr(-,root,root)
|
||||
%{python_sitearch}/gps/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user