Hello community,

here is the log from the commit of package glfw for openSUSE:Factory checked in 
at 2016-05-25 21:28:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glfw (Old)
 and      /work/SRC/openSUSE:Factory/.glfw.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glfw"

Changes:
--------
--- /work/SRC/openSUSE:Factory/glfw/glfw.changes        2015-10-25 
14:18:19.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.glfw.new/glfw.changes   2016-05-25 
21:28:13.000000000 +0200
@@ -1,0 +2,5 @@
+Wed May 18 13:14:46 UTC 2016 - [email protected]
+
+- Made build of geany-tags optional (fix SLE).
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ glfw.spec ++++++
--- /var/tmp/diff_new_pack.bdpFHQ/_old  2016-05-25 21:28:14.000000000 +0200
+++ /var/tmp/diff_new_pack.bdpFHQ/_new  2016-05-25 21:28:14.000000000 +0200
@@ -15,7 +15,11 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
+%if 0%{?is_opensuse}
+%bcond_without geany
+%else
+%bcond_with geany
+%endif
 Name:           glfw
 Version:        3.1.2
 Release:        0
@@ -29,7 +33,9 @@
 BuildRequires:  cmake >= 2.8.12
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
+%if %{with geany}
 BuildRequires:  geany
+%endif
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glu)
@@ -77,17 +83,20 @@
 %build
 %cmake -DCMAKE_INSTALL_PREFIX=%{_prefix}
 make %{?_smp_mflags} all
+%if %{with geany}
 # generate geany tags
 geany -c geany_config -g glfw.c.tags $(find src \( ! -name CMakeFiles \) -type 
f \( -iname "*.c" -o -iname "*.h" \) \( ! -iname "win32*" \) \( ! -iname 
"cocoa*" \)
 ) include/GL/glfw3.h
+%endif
 
 %install
 cd build
 make %{?_smp_mflags} install PREFIX=%{_prefix} LIBDIR=%{_lib} 
DESTDIR=%{buildroot}
-
+%if %{with geany}
 # install geany tags
 install -d %{buildroot}/%{_datadir}/geany/tags/
 install -m0644 glfw.c.tags %{buildroot}/%{_datadir}/geany/tags/
+%endif
 
 %post   -n libglfw%{sover} -p /sbin/ldconfig
 %postun -n libglfw%{sover} -p /sbin/ldconfig
@@ -102,8 +111,10 @@
 %doc examples/*.c
 %{_includedir}/GLFW/
 %{_libdir}/cmake/glfw/
-%{_datadir}/geany/
 %{_libdir}/libglfw.so
 %{_libdir}/pkgconfig/glfw3.pc
+%if %{with geany}
+%{_datadir}/geany/
+%endif
 
 %changelog


Reply via email to