Hello community,

here is the log from the commit of package gwenhywfar for openSUSE:Factory 
checked in at 2017-12-03 10:13:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gwenhywfar (Old)
 and      /work/SRC/openSUSE:Factory/.gwenhywfar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gwenhywfar"

Sun Dec  3 10:13:28 2017 rev:61 rq:547495 version:4.17.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gwenhywfar/gwenhywfar.changes    2017-06-12 
15:35:53.999010859 +0200
+++ /work/SRC/openSUSE:Factory/.gwenhywfar.new/gwenhywfar.changes       
2017-12-03 10:13:33.942673966 +0100
@@ -1,0 +2,5 @@
+Mon Nov 27 10:00:09 UTC 2017 - [email protected]
+
+- Conditionalize usage of qt4 libs
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gwenhywfar.spec ++++++
--- /var/tmp/diff_new_pack.8bMAbM/_old  2017-12-03 10:13:35.178629030 +0100
+++ /var/tmp/diff_new_pack.8bMAbM/_new  2017-12-03 10:13:35.178629030 +0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+%bcond_with qt4
 
 %define        libversion      60
 %define devversion 4.17
@@ -32,7 +33,9 @@
 BuildRequires:  gtk2-devel >= 1.4
 BuildRequires:  libgcrypt-devel >= 1.2.0
 BuildRequires:  libopenssl-devel
+%if %{with qt4}
 BuildRequires:  libqt4-devel
+%endif
 BuildRequires:  cmake(Qt5Concurrent)
 BuildRequires:  cmake(Qt5Core)
 BuildRequires:  cmake(Qt5DBus)
@@ -170,7 +173,9 @@
 Requires:       lib%{name}%{libversion} = %{version}
 Requires:       libgwengui-fox16-0 = %{version}
 Requires:       libgwengui-gtk2-0 = %{version}
+%if %{with qt4}
 Requires:       libgwengui-qt4-0 = %{version}
+%endif
 Requires:       libgwengui-qt5-0 = %{version}
 
 %description devel
@@ -194,8 +199,10 @@
        --enable-full-doc\
        --with-docpath=%{_docdir}/%{name}/api \
        --disable-static \
+%if %{with qt4}
        --with-qt4-libs=%{_libdir} \
-       --with-guis="fox16 qt4 qt5 gtk2" \
+%endif
+       --with-guis="fox16 %{?with qt4:qt4} qt5 gtk2" \
        --with-plugins-cfgmgr=all \
        --with-pic
 %__make %{?smp_mflags}
@@ -230,9 +237,11 @@
 
 %postun -n libgwengui-gtk2-0 -p /sbin/ldconfig
 
+%if %{with qt4}
 %post -n libgwengui-qt4-0 -p /sbin/ldconfig
 
 %postun -n libgwengui-qt4-0 -p /sbin/ldconfig
+%endif
 
 %post -n libgwengui-fox16-0 -p /sbin/ldconfig
 
@@ -275,9 +284,11 @@
 %defattr (-, root, root)
 %{_libdir}/libgwengui-gtk2.so.*
 
+%if %{with qt4}
 %files -n libgwengui-qt4-0
 %defattr (-, root, root)
 %{_libdir}/libgwengui-qt4.so.*
+%endif
 
 %files -n libgwengui-qt5-0
 %defattr (-, root, root)
@@ -297,13 +308,15 @@
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/%{name}.pc
 %{_libdir}/pkgconfig/gwengui-gtk2.pc
+%if %{with qt4}
 %{_libdir}/pkgconfig/gwengui-qt4.pc
+%{_libdir}/cmake/gwengui-qt4-%{devversion}
+%endif
 %{_libdir}/pkgconfig/gwengui-qt5.pc
 %{_libdir}/pkgconfig/gwengui-fox16.pc
 %dir %{_libdir}/cmake
 %{_libdir}/cmake/%{name}-%{devversion}
 %{_libdir}/cmake/gwengui-cpp-%{devversion}
-%{_libdir}/cmake/gwengui-qt4-%{devversion}
 %{_libdir}/cmake/gwengui-qt5-%{devversion}
 
 %files lang -f %{name}.lang


Reply via email to