Hello community,

here is the log from the commit of package gamemode for openSUSE:Factory 
checked in at 2020-09-27 11:49:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gamemode (Old)
 and      /work/SRC/openSUSE:Factory/.gamemode.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gamemode"

Sun Sep 27 11:49:40 2020 rev:7 rq:837225 version:1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/gamemode/gamemode.changes        2020-01-24 
13:13:18.325484690 +0100
+++ /work/SRC/openSUSE:Factory/.gamemode.new.4249/gamemode.changes      
2020-09-27 11:49:45.424042191 +0200
@@ -1,0 +2,9 @@
+Wed Sep 23 18:12:20 UTC 2020 - [email protected]
+
+- Update to version 1.6:
+  * Improved man pages
+  * Bug fixes
+- Added only-build-shared-library.patch.
+- Drop special handling for no longer supported Leap 42.
+
+-------------------------------------------------------------------

Old:
----
  gamemode-1.5.tar.xz

New:
----
  gamemode-1.6.tar.xz
  only-build-shared-library.patch

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

Other differences:
------------------
++++++ gamemode.spec ++++++
--- /var/tmp/diff_new_pack.NIKRyF/_old  2020-09-27 11:49:46.888043768 +0200
+++ /var/tmp/diff_new_pack.NIKRyF/_new  2020-09-27 11:49:46.892043772 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gamemode
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2020 Matthias Bach <[email protected]>.
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:           gamemode
-Version:        1.5
+Version:        1.6
 Release:        0
 Summary:        Daemon/library combo for changing Linux system performance on 
demand
 License:        BSD-3-Clause
@@ -28,7 +28,9 @@
 Source1:        gamemode-rpmlintrc
 Source2:        README.openSUSE
 Source3:        baselibs.conf
+Patch0:         only-build-shared-library.patch
 BuildRequires:  cmake
+BuildRequires:  libinih-devel
 BuildRequires:  meson
 BuildRequires:  ninja
 BuildRequires:  pkgconfig
@@ -37,9 +39,6 @@
 # Yes, it needs both
 BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(systemd)
-%if 0%{?sle_version} == 120300 && 0%{?is_opensuse}
-BuildRequires:  gcc7
-%endif
 
 %description
 GameMode is a daemon/lib combo for Linux that allows games to request
@@ -110,14 +109,12 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 cp %{SOURCE2} .
 
 %build
-%if 0%{?sle_version} == 120300 && 0%{?is_opensuse}
-export CC=gcc-7  # gcc4.8 does not work because of 
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58016
-%endif
-%meson
+%meson -Dwith-examples=false
 %meson_build
 
 %check
@@ -139,6 +136,7 @@
 %{_userunitdir}/gamemoded.service
 %{_datadir}/polkit-1/actions/com.feralinteractive.GameMode.policy
 %{_datadir}/dbus-1/services/com.feralinteractive.GameMode.service
+%{_datadir}/metainfo/io.github.feralinteractive.gamemode.metainfo.xml
 %{_mandir}/*/*
 %doc example/gamemode.ini README.openSUSE
 %license LICENSE.txt
@@ -156,6 +154,7 @@
 %{_libdir}/libgamemode.so
 %{_libdir}/libgamemodeauto.so
 %{_libdir}/pkgconfig/gamemode*
+%{_libdir}/pkgconfig/libgamemode*
 %license LICENSE.txt
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.NIKRyF/_old  2020-09-27 11:49:46.960043846 +0200
+++ /var/tmp/diff_new_pack.NIKRyF/_new  2020-09-27 11:49:46.960043846 +0200
@@ -2,7 +2,7 @@
   <service name="obs_scm" mode="disabled">
     <param name="url">https://github.com/FeralInteractive/gamemode.git</param>
     <param name="scm">git</param>
-    <param name="revision">1.5</param>
+    <param name="revision">1.6</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
   </service>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.NIKRyF/_old  2020-09-27 11:49:46.976043863 +0200
+++ /var/tmp/diff_new_pack.NIKRyF/_new  2020-09-27 11:49:46.976043863 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/FeralInteractive/gamemode.git</param>
-              <param 
name="changesrevision">a95fa9642ecbd21a4402b8b2c5b6ad5a72c8864a</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">5f71f57db105c5d8682d5ab795651245603133ff</param></service></servicedata>
\ No newline at end of file

++++++ gamemode-1.5.tar.xz -> gamemode-1.6.tar.xz ++++++
++++ 3273 lines of diff (skipped)

++++++ only-build-shared-library.patch ++++++
From: Matthias Bach <[email protected]>
Date: Wed, 23 Sep 2020 20:36:08 +0200
Subject: Build only the dynamic library
Upstream: never

openSUSE policy asks to only build the dynamic library unless there is a
compelling reason to also package a static one.
---
 lib/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/meson.build b/lib/meson.build
index e810509..e8754e6 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -25,7 +25,7 @@ gamemode_headers_includes = [
 ]
 
 # Small library to automatically use gamemode
-libgamemodeauto = both_libraries(
+libgamemodeauto = shared_library(
     'gamemodeauto',
     sources: [
         'client_loader.c',
-- 
2.26.2


Reply via email to