Hello community,

here is the log from the commit of package gcompris-qt for openSUSE:Factory 
checked in at 2018-04-20 17:28:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcompris-qt (Old)
 and      /work/SRC/openSUSE:Factory/.gcompris-qt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcompris-qt"

Fri Apr 20 17:28:56 2018 rev:9 rq:597551 version:0.90

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcompris-qt/gcompris-qt.changes  2018-03-20 
21:59:17.659984251 +0100
+++ /work/SRC/openSUSE:Factory/.gcompris-qt.new/gcompris-qt.changes     
2018-04-20 17:30:50.507554213 +0200
@@ -1,0 +2,7 @@
+Tue Mar 20 15:06:45 UTC 2018 - mimi...@gmail.com
+
+- Provide and obsolette original gtk gcompris
+- use secure optflags on all distributions.
+- and use proper cmake macros for build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gcompris-qt.spec ++++++
--- /var/tmp/diff_new_pack.BZz6KN/_old  2018-04-20 17:30:52.407485319 +0200
+++ /var/tmp/diff_new_pack.BZz6KN/_new  2018-04-20 17:30:52.411485173 +0200
@@ -23,7 +23,7 @@
 Summary:        Multiactivity educational software for children aged 2–10 (Qt 
version)
 License:        GPL-3.0-or-later
 Group:          Amusements/Teaching/Other
-URL:            http://gcompris.net
+Url:            http://gcompris.net
 Source0:        http://gcompris.net/download/qt/src/%{name}-%{version}.tar.xz
 Source3:        gcompris-qt-rpmlintrc
 BuildRequires:  extra-cmake-modules
@@ -58,6 +58,8 @@
 Requires:       qml-box2d
 Recommends:     %{name}-lang = %{version}
 Recommends:     %{name}-voices = %{version}
+Provides:       gcompris = 17.10
+Obsoletes:      gcompris < 17.10
 
 %description
 GCompris-Qt is an educational software suite comprising
@@ -82,6 +84,7 @@
 More than 100 activities are available.
 
 %package lang
+# FIXME: consider using %%lang_package macro
 Summary:        Translation files for %{name}
 Group:          Amusements/Teaching/Other
 Requires:       %{name} = %{version}
@@ -98,28 +101,18 @@
 %setup -q
 
 %build
-%if 0%{?suse_version} >= 1310
-# Make things more secure, but only on new version
 export LDFLAGS="-Wl,-z,relro,-z,now -pie"
-export CFLAGS="%{optflags} -fPIE -pie"
-export CXXFLAGS="%{optflags} -fPIE -pie"
-%endif
+export CFLAGS="%{optflags} -fPIE -pie -fno-strict-aliasing -DNDEBUG"
+export CXXFLAGS="%{optflags} -fPIE -pie -fno-strict-aliasing -DNDEBUG"
 
-%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-      -DCMAKE_C_FLAGS_RELEASE="%{optflags} -fno-strict-aliasing -g -DNDEBUG" \
-      -DCMAKE_CXX_FLAGS_RELEASE="%{optflags} -fno-strict-aliasing -g -DNDEBUG" 
\
-      -DCMAKE_SKIP_INSTALL_RPATH=ON \
-      -DCMAKE_SKIP_RPAH=ON \
-      ..
+%cmake
 
-make VERBOSE=1 %{?_smp_mflags}
+%make_build
 # Build translastions too.
-make VERBOSE=1 %{?_smp_mflags} BuildTranslations
+%make_build BuildTranslations
 
 %install
-pushd build
-make install DESTDIR=%{buildroot}
-popd
+%cmake_install
 #Fix wrong place of man page temporaly
 rm -fr %{buildroot}/%{_prefix}/man
 # Install desktop file
@@ -133,7 +126,6 @@
 install org.kde.gcompris.appdata.xml 
%{buildroot}/%{_datadir}/appdata/org.kde.gcompris.desktop
 
 %files
-%defattr(-,root,root)
 %license COPYING
 %doc README.rst
 %{_bindir}/%{name}
@@ -153,7 +145,6 @@
 %{_datadir}/metainfo/org.kde.gcompris.appdata.xml
 
 %files activities
-%defattr(-,root,root)
 %license COPYING
 %doc README.rst
 #Activities
@@ -162,7 +153,6 @@
 %{_datadir}/%{name}/rcc/*.rcc
 
 %files lang
-%defattr(-,root,root)
 %license COPYING
 %doc README.rst
 %dir %{_datadir}/%{name}/translations


Reply via email to