mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Update subsurfacedaily.spec to enhance debug
This commit is contained in:
parent
e01963ca02
commit
3089a2d3a7
1 changed files with 8 additions and 0 deletions
|
@ -80,6 +80,13 @@ Recommends: libqt5-qttranslations
|
||||||
%if 0%{?fedora_version} >= 21
|
%if 0%{?fedora_version} >= 21
|
||||||
Recommends: qt5-qttranslations
|
Recommends: qt5-qttranslations
|
||||||
%endif
|
%endif
|
||||||
|
# Recommends debug info (and debug sources, for openSUSE) for daily build
|
||||||
|
%if %{name} == "subsurfacedaily"
|
||||||
|
Recommends: %{name}-debuginfo
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
Recommends: %{name}-debugsource
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
BuildRoot: %{_tmppath}/subsurface%{version}-build
|
BuildRoot: %{_tmppath}/subsurface%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -125,6 +132,7 @@ mkdir -p install-root
|
||||||
mkdir -p %{buildroot}/%{_libdir}
|
mkdir -p %{buildroot}/%{_libdir}
|
||||||
(cd googlemaps/build ; make install_target INSTALL_ROOT=$RPM_BUILD_ROOT )
|
(cd googlemaps/build ; make install_target INSTALL_ROOT=$RPM_BUILD_ROOT )
|
||||||
(cd subsurface-build ; make VERBOSE=1 install )
|
(cd subsurface-build ; make VERBOSE=1 install )
|
||||||
|
install subsurface.debug %{buildroot}%{_bindir}
|
||||||
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
|
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
|
||||||
desktop-file-install --dir=%{buildroot}/%{_datadir}/applications subsurface.desktop
|
desktop-file-install --dir=%{buildroot}/%{_datadir}/applications subsurface.desktop
|
||||||
%else
|
%else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue