14
0
forked from pool/python-xmlsec

Accepting request 711589 from home:bmwiedemann:branches:devel:languages:python

Add reproducible.patch to sort dir entries (boo#1041090)

OBS-URL: https://build.opensuse.org/request/show/711589
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlsec?expand=0&rev=8
This commit is contained in:
2019-06-24 09:53:21 +00:00
committed by Git OBS Bridge
parent 79bc91a922
commit c5ca4ee11c
3 changed files with 23 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 24 04:32:51 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>
- Add reproducible.patch to sort dir entries (boo#1041090)
-------------------------------------------------------------------
Fri Dec 7 12:07:04 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -25,6 +25,8 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/mehcode/python-xmlsec
Source: https://github.com/mehcode/python-xmlsec/archive/%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/mehcode/python-xmlsec/pull/91
Patch0: reproducible.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module lxml >= 3.0}
BuildRequires: %{python_module lxml-devel}
@@ -49,6 +51,7 @@ Python bindings for the XML Security Library
%prep
%setup -q
%patch0 -p1
%build
export CFLAGS="%{optflags}"

15
reproducible.patch Normal file
View File

@@ -0,0 +1,15 @@
https://github.com/mehcode/python-xmlsec/pull/91
Index: xmlsec-1.3.3/xmlsec_setupinfo.py
===================================================================
--- xmlsec-1.3.3.orig/xmlsec_setupinfo.py
+++ xmlsec-1.3.3/xmlsec_setupinfo.py
@@ -34,7 +34,7 @@ def description():
def sources():
- return glob.glob(os.path.join(get_base_dir(), "src", "*.c"))
+ return sorted(glob.glob(os.path.join(get_base_dir(), "src", "*.c")))
def define_macros():