aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Guillaume GARDET <guillaume.gardet@free.fr>2017-10-20 16:43:03 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-20 14:25:09 -0400
commit3089a2d3a7818142ff5c30c85bddd2bd107d084b (patch)
tree454ce87c9d3965de90f0bda56438c56f56d47f5f
parente01963ca02a3923672afdc5726d64c13be8c08fe (diff)
downloadsubsurface-3089a2d3a7818142ff5c30c85bddd2bd107d084b.tar.gz
Update subsurfacedaily.spec to enhance debug
-rw-r--r--packaging/OBS/subsurfacedaily.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/OBS/subsurfacedaily.spec b/packaging/OBS/subsurfacedaily.spec
index cfc009bcc..6e999200a 100644
--- a/packaging/OBS/subsurfacedaily.spec
+++ b/packaging/OBS/subsurfacedaily.spec
@@ -80,6 +80,13 @@ Recommends: libqt5-qttranslations
%if 0%{?fedora_version} >= 21
Recommends: qt5-qttranslations
%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
%description
@@ -125,6 +132,7 @@ mkdir -p install-root
mkdir -p %{buildroot}/%{_libdir}
(cd googlemaps/build ; make install_target INSTALL_ROOT=$RPM_BUILD_ROOT )
(cd subsurface-build ; make VERBOSE=1 install )
+install subsurface.debug %{buildroot}%{_bindir}
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
desktop-file-install --dir=%{buildroot}/%{_datadir}/applications subsurface.desktop
%else