Hello community, here is the log from the commit of package libgltf for openSUSE:Factory checked in at 2018-01-16 09:40:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgltf (Old) and /work/SRC/openSUSE:Factory/.libgltf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgltf" Tue Jan 16 09:40:34 2018 rev:5 rq:563655 version:0.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libgltf/libgltf.changes 2017-06-20 11:01:03.953878505 +0200 +++ /work/SRC/openSUSE:Factory/.libgltf.new/libgltf.changes 2018-01-16 09:40:35.302694366 +0100 @@ -1,0 +2,13 @@ +Thu Jan 11 16:03:22 UTC 2018 - [email protected] + +- Drop the test condition as whole to reduce the size; the tests + will never run in OBS + +------------------------------------------------------------------- +Thu Jan 11 14:09:34 UTC 2018 - [email protected] + +- Buildrequire Mesa-devel and libpng, only + if tests are being built and ran. +- devel package requires glm-devel + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgltf.spec ++++++ --- /var/tmp/diff_new_pack.xduJBr/_old 2018-01-16 09:40:36.762626029 +0100 +++ /var/tmp/diff_new_pack.xduJBr/_new 2018-01-16 09:40:36.766625843 +0100 @@ -1,7 +1,7 @@ # # spec file for package libgltf # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,15 +25,12 @@ Group: Productivity/Publishing/Word Url: http://dev-www.libreoffice.org/src/libgltf/ Source: http://dev-www.libreoffice.org/src/libgltf/%{name}-%{version}.tar.gz -BuildRequires: Mesa-devel BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: glm-devel BuildRequires: pkgconfig BuildRequires: xz -BuildRequires: pkgconfig(cppunit) BuildRequires: pkgconfig(epoxy) >= 1.3.1 -BuildRequires: pkgconfig(libpng) %if 0%{?suse_version} > 1325 BuildRequires: libboost_headers-devel %else @@ -54,6 +51,8 @@ Summary: C++ Library for rendering OpenGL models stored in glTF format Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} +Requires: glm-devel +Requires: libstdc++-devel %description devel %{name} is a library for rendering OpenGL models stored in glTF format @@ -63,12 +62,14 @@ %build export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden" +# Tests require running X with gl extension %configure \ + --disable-silent-rules \ --disable-werror \ - --enable-tests \ + --disable-tests \ --disable-static \ --docdir=%{_docdir}/%{name} -make %{?_smp_mflags} V=1 +make %{?_smp_mflags} %install %make_install @@ -76,21 +77,14 @@ rm -f %{buildroot}%{_datadir}/%{name}/html*.css %fdupes -s %{buildroot}%{_docdir}/%{name}/html -%check -# Tests require running X server with working GL -#make %{?_smp_mflags} check -: - %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} -%defattr(-,root,root) %doc AUTHORS NEWS LICENSE README ChangeLog %{_libdir}/*.so.* %files devel -%defattr(-,root,root) %{_libdir}/*.so %{_libdir}/pkgconfig/libg*.pc %{_includedir}/libg*
