Accepting request 617119 from home:StefanBruens:branches:Application:Geo
- Require python3 versions for packages importing python modules, all scripts use python3 as interpreter. - Fix building on Leap 42.x, python2_sitearch is defined in python-rpm-macros OBS-URL: https://build.opensuse.org/request/show/617119 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=118
This commit is contained in:
parent
b5817e759b
commit
dc04b5eb80
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 15 16:03:49 UTC 2018 - stefan.bruens@rwth-aachen.de
|
||||||
|
|
||||||
|
- Require python3 versions for packages importing python modules, all
|
||||||
|
scripts use python3 as interpreter.
|
||||||
|
- Fix building on Leap 42.x, python2_sitearch is defined in
|
||||||
|
python-rpm-macros
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 1 15:05:22 UTC 2017 - mimi.vx@gmail.com
|
Fri Dec 1 15:05:22 UTC 2017 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
12
gpsd.spec
12
gpsd.spec
@ -45,6 +45,7 @@ BuildRequires: hicolor-icon-theme
|
|||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: scons >= 2.3.0
|
BuildRequires: scons >= 2.3.0
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
@ -91,8 +92,8 @@ Requires: %{libQgps}
|
|||||||
Requires: %{libgps}
|
Requires: %{libgps}
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Requires: python-curses
|
Requires: python3-curses
|
||||||
Requires: python-gpsd = %{version}
|
Requires: python3-gpsd = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides C header files for the gpsd shared libraries that
|
This package provides C header files for the gpsd shared libraries that
|
||||||
@ -138,8 +139,8 @@ You will need to have gpsd installed for it to work.
|
|||||||
%package clients
|
%package clients
|
||||||
Summary: Clients for gpsd with an X interface
|
Summary: Clients for gpsd with an X interface
|
||||||
Group: Hardware/Other
|
Group: Hardware/Other
|
||||||
Requires: python-gpsd
|
Requires: python3-gpsd
|
||||||
Requires: python-gtk
|
Requires: python3-gtk
|
||||||
|
|
||||||
%description clients
|
%description clients
|
||||||
xgps is a simple test client for gpsd with an X interface. It displays
|
xgps is a simple test client for gpsd with an X interface. It displays
|
||||||
@ -252,9 +253,6 @@ install -D -m 644 systemd/gpsd.socket %{buildroot}/%{_unitdir}/gpsd.socket
|
|||||||
install -D -m 644 systemd/gpsdctl@.service %{buildroot}/%{_unitdir}/gpsdctl@.service
|
install -D -m 644 systemd/gpsdctl@.service %{buildroot}/%{_unitdir}/gpsdctl@.service
|
||||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcgpsd
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcgpsd
|
||||||
|
|
||||||
# Use correct python2 paths
|
|
||||||
sed -i "s|env python|python2|g" %{buildroot}%{_bindir}/*
|
|
||||||
|
|
||||||
%fdupes -s %{buildroot}%{_mandir}
|
%fdupes -s %{buildroot}%{_mandir}
|
||||||
|
|
||||||
# strip absolute path and suffix
|
# strip absolute path and suffix
|
||||||
|
Loading…
Reference in New Issue
Block a user