Hello community,

here is the log from the commit of package 0ad for openSUSE:Factory checked in 
at 2017-03-03 17:53:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/0ad (Old)
 and      /work/SRC/openSUSE:Factory/.0ad.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "0ad"

Fri Mar  3 17:53:56 2017 rev:2 rq:461739 version:0.0.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/0ad/0ad.changes  2017-01-24 10:32:12.396562306 
+0100
+++ /work/SRC/openSUSE:Factory/.0ad.new/0ad.changes     2017-03-03 
17:53:57.313287981 +0100
@@ -1,0 +2,5 @@
+Fri Feb 17 11:38:45 UTC 2017 - [email protected]
+
+- Install the upstream provided appdata.xml file.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ 0ad.spec ++++++
--- /var/tmp/diff_new_pack.wBimaJ/_old  2017-03-03 17:53:58.261154100 +0100
+++ /var/tmp/diff_new_pack.wBimaJ/_new  2017-03-03 17:53:58.265153536 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package 0ad
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -101,6 +101,7 @@
 install -Dm 0755 binaries/system/libnvtt.so 
%{buildroot}%{_libdir}/%{name}/libnvtt.so
 
 install -Dm 0644 build/resources/0ad.desktop 
%{buildroot}%{_datadir}/applications/%{name}.desktop
+install -Dm 0644 build/resources/0ad.appdata.xml 
%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
 install -Dm 0644 build/resources/0ad.png 
%{buildroot}%{_datadir}/pixmaps/%{name}.png
 
 %suse_update_desktop_file %{name}
@@ -113,10 +114,12 @@
 %files
 %defattr(-,root,root)
 %doc README.txt
-%if 0%{?suse_version} > 1320
-%license LICENSE.txt license_gpl-2.0.txt license_lgpl-2.1.txt license_mit.txt
-%else
+%if ( 0%{?suse_version} == 1315 && 0%{?sle_version} == 120100 ) || ! 
0%{?is_opensuse}
+# Fix for Leap 42.1 or SLE (TODO: Drop if 42.1 is out of maintenance)
 %doc LICENSE.txt license_gpl-2.0.txt license_lgpl-2.1.txt license_mit.txt
+%dir %{_datadir}/appdata
+%else
+%license LICENSE.txt license_gpl-2.0.txt license_lgpl-2.1.txt license_mit.txt
 %endif
 %{_bindir}/0ad
 %{_bindir}/pyrogenesis
@@ -129,6 +132,7 @@
 %{_libdir}/%{name}/libnvmath.so
 %{_libdir}/%{name}/libnvtt.so
 %{_datadir}/pixmaps/%{name}.png
+%{_datadir}/appdata/%{name}.appdata.xml
 %{_datadir}/applications/%{name}.desktop
 %dir %{_libdir}/%{name}
 %dir %{_datadir}/%{name}


Reply via email to