Hello community,
here is the log from the commit of package mednafen-server for openSUSE:Factory
checked in at 2020-06-27 23:22:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mednafen-server (Old)
and /work/SRC/openSUSE:Factory/.mednafen-server.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mednafen-server"
Sat Jun 27 23:22:44 2020 rev:6 rq:817414 version:0.5.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/mednafen-server/mednafen-server.changes
2019-02-24 17:10:14.868508326 +0100
+++
/work/SRC/openSUSE:Factory/.mednafen-server.new.3060/mednafen-server.changes
2020-06-27 23:22:45.733858172 +0200
@@ -1,0 +2,6 @@
+Sat Jun 27 16:28:29 UTC 2020 - Илья Индиго <[email protected]>
+
+- Add %make_build and %{_unitdir} macros.
+- Remove manual CFLAGS correction and %defattr, %attr macros.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mednafen-server.spec ++++++
--- /var/tmp/diff_new_pack.viWW1U/_old 2020-06-27 23:22:46.305860052 +0200
+++ /var/tmp/diff_new_pack.viWW1U/_new 2020-06-27 23:22:46.305860052 +0200
@@ -1,7 +1,7 @@
#
# spec file for package mednafen-server
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -39,16 +39,14 @@
%setup -q -n %{name}
%build
-export CFLAGS="%{optflags} -O3 -fomit-frame-pointer -pipe"
-export CXXFLAGS="$CFLAGS"
%configure
-make %{?_smp_mflags}
+%make_build
%install
%make_install
mkdir -p %{buildroot}%{_sbindir}
ln -fs %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{_user}
-install -Dm644 %{SOURCE1}
%{buildroot}%{_libexecdir}/systemd/system/%{_user}.service
+install -Dm644 %{SOURCE1} %{buildroot}%{_unitdir}/%{_user}.service
install -Dm664 standard.conf %{buildroot}%{_home}/%{name}.conf
install -Dm644 %{SOURCE2}
%{buildroot}%{_libexecdir}/firewalld/services/%{_user}.xml
@@ -67,11 +65,10 @@
%service_del_postun %{_user}.service
%files
-%defattr(0644,root,root,-)
%config(noreplace) %attr(0664,%{_user},%{_group}) %{_home}/%{name}.conf
%license COPYING
%doc ChangeLog
-%attr(0755,root,root) %{_bindir}/%{name}
+%{_bindir}/%{name}
%{_sbindir}/rc%{_user}
%{_unitdir}/%{_user}.service
%dir %{_libexecdir}/firewalld