[packages/stellarium] - disable shared libs (https://github.com/Stellarium/stellarium/issues/161#issuecomment-391060333)

adwol adwol at pld-linux.org
Tue Jul 31 20:07:02 CEST 2018


commit 6120fd536f0bda4f0e71f49df859c27929e65145
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Tue Jul 31 20:06:10 2018 +0200

    - disable shared libs (https://github.com/Stellarium/stellarium/issues/161#issuecomment-391060333)

 stellarium.spec | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/stellarium.spec b/stellarium.spec
index 6aa19fd..92bc3ac 100644
--- a/stellarium.spec
+++ b/stellarium.spec
@@ -39,8 +39,6 @@ Requires:	%{name}-data = %{version}-%{release}
 Requires:	Qt5Gui-platform-xcb-glx
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_noautoreq	libstelMain.so.*
-
 %description
 Stellarium renders 3D realistic skies in real time with OpenGL. It
 displays stars, constellations, planets, nebulas and others things
@@ -94,8 +92,9 @@ install %{SOURCE1} .
 
 %build
 %cmake \
-		-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-		.
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+	-DBUILD_SHARED_LIBS=OFF \
+	.
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/stellarium.git/commitdiff/6120fd536f0bda4f0e71f49df859c27929e65145



More information about the pld-cvs-commit mailing list