Hello community,

here is the log from the commit of package wammu for openSUSE:Factory checked 
in at 2017-06-08 15:04:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wammu (Old)
 and      /work/SRC/openSUSE:Factory/.wammu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wammu"

Thu Jun  8 15:04:41 2017 rev:36 rq:501855 version:0.43

Changes:
--------
--- /work/SRC/openSUSE:Factory/wammu/wammu.changes      2017-02-26 
17:09:22.522811441 +0100
+++ /work/SRC/openSUSE:Factory/.wammu.new/wammu.changes 2017-06-08 
15:04:42.216624097 +0200
@@ -1,0 +2,6 @@
+Fri Jun  2 14:57:36 UTC 2017 - [email protected]
+
+- Add reproducible.patch to sort appdata and desktop file entries
+  to make build reproducible (boo#1041090)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ wammu.spec ++++++
--- /var/tmp/diff_new_pack.iDKxX8/_old  2017-06-08 15:04:43.080502179 +0200
+++ /var/tmp/diff_new_pack.iDKxX8/_new  2017-06-08 15:04:43.080502179 +0200
@@ -24,6 +24,8 @@
 Group:          Productivity/Telephony/Utilities
 Url:            http://wammu.eu/wammu/
 Source:         https://dl.cihar.com/wammu/v0/%{name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM https://github.com/gammu/wammu/pull/48
+Patch0:         reproducible.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 # Python location
@@ -77,6 +79,7 @@
 %lang_package
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 CFLAGS="%{optflags}" %{__python} setup.py build

++++++ reproducible.patch ++++++
https://github.com/gammu/wammu/pull/48
Index: wammu-0.43/setup.py
===================================================================
--- wammu-0.43.orig/setup.py
+++ wammu-0.43/setup.py
@@ -144,7 +144,7 @@ def list_message_files(package='wammu',
     """
     _files = glob.glob('locale/*/' + package + suffix)
     _list = []
-    for _file in _files:
+    for _file in sorted(_files):
         # basename (without extension) is a locale name
         _locale = os.path.basename(os.path.dirname(_file))
         _list.append((_locale, _file, os.path.join(
@@ -210,7 +210,7 @@ class build_wammu(distutils.command.buil
         summary.text = msgfmt.DESKTOP_GENERIC_NAME
         component = tree.getroot()
 
-        for loc in translations.keys():
+        for loc in sorted(translations.keys()):
             translation = translations[loc]
             if 'Description_1' in translation and 'Description_2' in 
translation:
                 p1 = ElementTree.SubElement(description, 'p')

Reply via email to