Hello community,

here is the log from the commit of package media-player-info for 
openSUSE:Factory checked in at 2017-05-20 10:06:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/media-player-info (Old)
 and      /work/SRC/openSUSE:Factory/.media-player-info.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "media-player-info"

Sat May 20 10:06:42 2017 rev:25 rq:494352 version:22

Changes:
--------
--- /work/SRC/openSUSE:Factory/media-player-info/media-player-info.changes      
2014-12-21 12:04:33.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.media-player-info.new/media-player-info.changes 
2017-05-20 10:06:45.838373806 +0200
@@ -1,0 +2,5 @@
+Tue May  2 03:47:30 UTC 2017 - bwiedem...@suse.com
+
+- Add reproducible.patch to make build fully reproducible
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ media-player-info.spec ++++++
--- /var/tmp/diff_new_pack.SxMOSq/_old  2017-05-20 10:06:46.678255131 +0200
+++ /var/tmp/diff_new_pack.SxMOSq/_new  2017-05-20 10:06:46.682254565 +0200
@@ -29,6 +29,8 @@
 # Hence, the binary package is indeed still BSD-3-Clause.
 Url:            http://hal.freedesktop.org/releases/
 Source:         
http://www.freedesktop.org/software/media-player-info/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM reproducible.patch bwiedem...@suse.com -- Make build 
reproducible.
+Patch0:         reproducible.patch
 BuildRequires:  pkg-config
 BuildRequires:  python3
 BuildRequires:  pkgconfig(udev)
@@ -49,6 +51,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure

++++++ reproducible.patch ++++++
make sure to always process files in the same order

to get reproducible output

Index: media-player-info-22/tools/mpi2hwdb.py
===================================================================
--- media-player-info-22.orig/tools/mpi2hwdb.py
+++ media-player-info-22/tools/mpi2hwdb.py
@@ -84,5 +85,5 @@ def parse_mpi(mpi):
 #
 
 # parse MPI files
-for f in sys.argv[1:]:
+for f in sorted(sys.argv[1:]):
     parse_mpi(f)
Index: media-player-info-22/tools/mpi2udev.py
===================================================================
--- media-player-info-22.orig/tools/mpi2udev.py
+++ media-player-info-22/tools/mpi2udev.py
@@ -122,7 +122,7 @@ elif sys.argv[1] != 'udev':
     sys.exit(1)
 
 # parse MPI files
-for f in sys.argv[2:]:
+for f in sorted(sys.argv[2:]):
     parse_mpi(f, hwdb)
 
 # udev rules footer

Reply via email to