Hello community,
here is the log from the commit of package yamagi-quake2-ctf for
openSUSE:Factory checked in at 2020-09-14 12:31:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yamagi-quake2-ctf (Old)
and /work/SRC/openSUSE:Factory/.yamagi-quake2-ctf.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yamagi-quake2-ctf"
Mon Sep 14 12:31:39 2020 rev:3 rq:834022 version:1.07
Changes:
--------
--- /work/SRC/openSUSE:Factory/yamagi-quake2-ctf/yamagi-quake2-ctf.changes
2020-03-03 10:19:45.871087857 +0100
+++
/work/SRC/openSUSE:Factory/.yamagi-quake2-ctf.new.4249/yamagi-quake2-ctf.changes
2020-09-14 12:32:58.561276479 +0200
@@ -1,0 +2,6 @@
+Sat Sep 12 09:17:42 UTC 2020 - Christophe Giboudeaux <[email protected]>
+
+- Use %_libexecdir instead of hardcoding the directory name
+- Remove obsolete conditions
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yamagi-quake2-ctf.spec ++++++
--- /var/tmp/diff_new_pack.XauNiV/_old 2020-09-14 12:33:01.345278254 +0200
+++ /var/tmp/diff_new_pack.XauNiV/_new 2020-09-14 12:33:01.349278257 +0200
@@ -51,30 +51,22 @@
%build
%cmake
-%make_jobs
+%cmake_build
%install
install -dm 755 %{buildroot}%{_bindir}
-install -Dpm 644 build/game.so
%{buildroot}%{_prefix}/lib/yamagi-quake2/ctf/game.so
-echo -e "#!/bin/sh\nexec /usr/lib/yamagi-quake2/yquake2 \+set game ctf
\"\$@\"" > %{buildroot}%{_bindir}/yquake2-ctf
+install -Dpm 644 build/game.so
%{buildroot}%{_libexecdir}/yamagi-quake2/ctf/game.so
+echo -e "#!/bin/sh\nexec %{_libexecdir}/yamagi-quake2/yquake2 \+set game ctf
\"\$@\"" > %{buildroot}%{_bindir}/yquake2-ctf
chmod 755 %{buildroot}%{_bindir}/yquake2-ctf
%suse_update_desktop_file -i yquake2-ctf
-%if 0%{?suse_version} < 1330
-%post
-%desktop_database_post
-
-%postun
-%desktop_database_postun
-%endif
-
%files
%license LICENSE
%doc CHANGELOG README
%{_bindir}/yquake2-ctf
-%dir %{_prefix}/lib/yamagi-quake2/ctf
-%{_prefix}/lib/yamagi-quake2/ctf/game.so
+%dir %{_libexecdir}/yamagi-quake2/ctf
+%{_libexecdir}/yamagi-quake2/ctf/game.so
%{_datadir}/applications/yquake2-ctf.desktop
%changelog