Hello community,
here is the log from the commit of package update-desktop-files for
openSUSE:Factory checked in at 2018-03-16 10:34:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/update-desktop-files (Old)
and /work/SRC/openSUSE:Factory/.update-desktop-files.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "update-desktop-files"
Fri Mar 16 10:34:41 2018 rev:99 rq:587473 version:84.87
Changes:
--------
---
/work/SRC/openSUSE:Factory/update-desktop-files/update-desktop-files.changes
2017-07-30 11:24:19.755223925 +0200
+++
/work/SRC/openSUSE:Factory/.update-desktop-files.new/update-desktop-files.changes
2018-03-16 10:34:44.627064343 +0100
@@ -1,0 +2,6 @@
+Thu Mar 15 10:53:08 UTC 2018 - [email protected]
+
+- create separate subpackage that extracts translations from desktop
+ files but does not actually strip them. Needed for SLE.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ update-desktop-files.spec ++++++
--- /var/tmp/diff_new_pack.H9o9C2/_old 2018-03-16 10:34:46.051013072 +0100
+++ /var/tmp/diff_new_pack.H9o9C2/_new 2018-03-16 10:34:46.055012928 +0100
@@ -1,7 +1,7 @@
#
# spec file for package update-desktop-files
#
-# 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
@@ -17,7 +17,7 @@
Name: update-desktop-files
-Version: 12.1
+Version: 84.87
Release: 0
Summary: A Build Tool to Update Desktop Files
License: GPL-2.0+
@@ -44,15 +44,31 @@
Obsoletes: brp-trim-desktop < %{version}
Requires: awk
Requires: libxslt-tools
+Conflicts: brp-extract-translations
%description -n brp-trim-translations
-Trim translations from all desktop files, polkit actions, mimetype descriptions
+Extract and trim translations from all desktop files, polkit
+actions, mimetype descriptions and AppStream metainfo found in
+build root
+
+%package -n brp-extract-translations
+Summary: Extract translations from desktop files, polkit actions,
mimetype descriptions and AppStream metainfo
+Group: Development/Tools/Building
+Provides: brp-trim-desktop = %{version}
+Obsoletes: brp-trim-desktop < %{version}
+Requires: libxslt-tools
+Conflicts: brp-trim-translations
+
+%description -n brp-extract-translations
+Extract translations from all desktop files, polkit actions, mimetype
descriptions
and AppStream metainfo found in build root
%prep
%setup -q -n . -D -T 0
mkdir %name
cd %name
+# supi hack
+sed -e '/awk/d' < %SOURCE4 > brp-extract-translations
%build
@@ -61,6 +77,7 @@
install -m0755 %SOURCE0 %SOURCE1 $RPM_BUILD_ROOT%_rpmconfigdir
install -m0644 -D %SOURCE2 $RPM_BUILD_ROOT/etc/rpm/macros.%name
install -m0755 -D %SOURCE4
$RPM_BUILD_ROOT/usr/lib/rpm/brp-suse.d/brp-70-trim-translations
+install -m0755 -D %name/brp-extract-translations
$RPM_BUILD_ROOT/usr/lib/rpm/brp-suse.d/brp-70-extract-translations
%files
%defattr(-,root,root)
@@ -73,4 +90,9 @@
%dir %_rpmconfigdir/brp-suse.d/
%_rpmconfigdir/brp-suse.d/brp-70-trim-translations
+%files -n brp-extract-translations
+%defattr(-,root,root)
+%dir %_rpmconfigdir/brp-suse.d/
+%_rpmconfigdir/brp-suse.d/brp-70-extract-translations
+
%changelog