Hello community,

here is the log from the commit of package gambas3 for openSUSE:Factory checked 
in at 2019-03-07 10:50:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gambas3 (Old)
 and      /work/SRC/openSUSE:Factory/.gambas3.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gambas3"

Thu Mar  7 10:50:16 2019 rev:13 rq:682149 version:3.12.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/gambas3/gambas3.changes  2019-02-14 
14:32:59.007662883 +0100
+++ /work/SRC/openSUSE:Factory/.gambas3.new.28833/gambas3.changes       
2019-03-07 10:51:05.145843012 +0100
@@ -1,0 +2,9 @@
+Tue Mar  5 13:31:32 UTC 2019 - [email protected]
+
+- Version 3.12 has a hard buildrequirement for pkgconfig(ncurses)
+  This requirement is only available in 13.2 and later.
+  Disable the ncurses subpkg and swallow pkgs from previous versions
+- Switch to autosetup, do not touch sources in prep
+- Package metainfo directory to fix build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gambas3.spec ++++++
--- /var/tmp/diff_new_pack.fIy6cz/_old  2019-03-07 10:51:06.149842737 +0100
+++ /var/tmp/diff_new_pack.fIy6cz/_new  2019-03-07 10:51:06.153842736 +0100
@@ -17,6 +17,11 @@
 #
 
 
+%if 0%{?suse_version} > 1315
+%bcond_without gambas_ncurses
+%else
+%bcond_with    gambas_ncurses
+%endif
 %if 0%{?suse_version} <= 1320
 %bcond_without qt4
 %if 0%{?suse_version} != 1315
@@ -98,7 +103,9 @@
 BuildRequires:  pkgconfig(libv4l2)
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(libxslt)
+%if %{with gambas_ncurses}
 BuildRequires:  pkgconfig(ncurses)
+%endif
 BuildRequires:  pkgconfig(ogg)
 BuildRequires:  pkgconfig(pango)
 BuildRequires:  pkgconfig(sdl2)
@@ -206,7 +213,12 @@
 Recommends:     %{name}-gb-memcached = %{version}
 Recommends:     %{name}-gb-mime = %{version}
 Recommends:     %{name}-gb-mysql = %{version}
+%if %{with gambas_ncurses}
 Recommends:     %{name}-gb-ncurses = %{version}
+%else
+Provides:      %{name}-gb-ncurses = %{version}-%{release}
+Obsoletes:     %{name}-gb-ncurses
+%endif
 Recommends:     %{name}-gb-net-pop3 = %{version}
 Recommends:     %{name}-gb-net-smtp = %{version}
 Recommends:     %{name}-gb-opengl = %{version}
@@ -734,6 +746,7 @@
 gb.mysql allows creating MySQL specific routines and sending
 them then to gb.db to be executed.
 
+%if %{with gambas_ncurses}
 %package gb-ncurses
 Summary:        The ncurses component for Gambas
 Group:          Development/Tools/IDE
@@ -741,6 +754,7 @@
 
 %description gb-ncurses
 This component allows you to use the ncurses library in your Gambas UI.
+%endif
 
 %package gb-net
 Summary:        The networking component for Gambas
@@ -1139,10 +1153,9 @@
 applications.
 
 %prep
-%setup -q -n gambas-%{version}
-%patch0 -p1
-%patch1 -p1
+%autosetup -p1 -n gambas-%{version}
 
+%build
 # don't compile in DATE and TIME
 BUILDTIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%H:%M')
 BUILDDATE=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%b %d %Y')
@@ -1154,7 +1167,6 @@
 find . -type f -iname \.gitignore -delete
 #
 
-%build
 ./reconf-all
 # needed, or libtool does not create shared libs
 export AM_CFLAGS="%{optflags}"
@@ -1172,8 +1184,12 @@
     --disable-qt4 \
     %endif
     %if %{without jit}
-    --disable-jit
+    --disable-jit \
     %endif
+    %if %{without gambas_ncurses}
+    --disable-ncurses \
+    %endif
+    %{nil}
 
 # remove %%_smp_mflags to avoid compilation errors
 make -j1 V=1
@@ -1226,6 +1242,7 @@
 %{_bindir}/%{name}
 %{_bindir}/%{name}.gambas
 %{_datadir}/%{name}/template/
+%dir %{_datadir}/metainfo
 %attr(0644,root,root) %{_datadir}/metainfo/%{name}.appdata.xml
 %exclude %{_datadir}/appdata/gambas3.appdata.xml
 
@@ -1590,10 +1607,12 @@
 %{_datadir}/%{name}/info/gb.mysql.info
 %{_datadir}/%{name}/info/gb.mysql.list
 
+%if %{with gambas_ncurses}
 %files gb-ncurses
 %defattr(-,root,root)
 %{_libdir}/%{name}/gb.ncurses.*
 %{_datadir}/%{name}/info/gb.ncurses.*
+%endif
 
 %files gb-net
 %defattr(-,root,root)


Reply via email to